Remove beta tags frontmatter and and autopopulate partner owned for sources #6915
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes
This PR does a few things:
beta: true
frontmatterstatus
andpartnerOwned
for sourcesHow Beta tags are currently displayed on the site:
.status
field which is returned from PAPI, and loaded into the_data/catalog/destinations.yml
file, and are presented like so:Destination Catalog Pages:
And Destination specific
With the above in mind, considering there is no use for the
beta: true
frontmatter for destinations, this PR removes it from all the destinations that have this set.For sources,
there is no
.status
field returned from PAPI. That being the case, we render the beta tag on the Sources Catalog page, based on manually added ids to a fileSources Catalog Page: https://segment.com/docs/connections/sources/catalog/
New Beta Tag rendering for sources
With the above in mind, this PR deletes the hardcoded values for source beta status, and updates the
updateSources.js
file to load status and partnerOwned values for sources into the_data/catalog/sources.yml
file.Previous Source Heading:
New Source Heading:
Open to changing the styling, but just want a consistent way of showing beta status and partner owned for sources
Merge timing
asap