feat(ui): add Technology Preview tag for collections#5578
Open
stevefulme1 wants to merge 1 commit intoansible:masterfrom
Open
feat(ui): add Technology Preview tag for collections#5578stevefulme1 wants to merge 1 commit intoansible:masterfrom
stevefulme1 wants to merge 1 commit intoansible:masterfrom
Conversation
Add TechnologyPreviewTag component and isTechnologyPreview helper that detect the "technology_preview" or "tech-preview" tag in collection metadata. When present: - A styled blue badge appears next to the collection name in list views - An info alert appears on the collection detail page header Content creators set this by adding "technology_preview" to the tags list in their galaxy.yml. Users can filter for it using the existing tag search filter. Ref: AAP-55564 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
TechnologyPreviewTagcomponent (styled blue badge, modeled afterDeprecatedTag)isTechnologyPreview()helper that detects"technology_preview"or"tech-preview"in collection tagsHow it works
Content creators add
technology_previewto thetagslist in theirgalaxy.yml:No backend changes required — this leverages the existing tag system. Users can already filter for these collections using the existing tag search filter.
Ref: AAP-55564
Files changed
src/components/technology-preview-tag.tsx— New component + helpersrc/components/index.ts— Barrel exportsrc/components/collection-list-item.tsx— Badge on list itemssrc/components/collection-header.tsx— Info alert on detail pageTest plan
technology_previewtag to a test collection's galaxy.yml and uploadtech-previewalternate tag name also triggers the badgenpm run lint:ts)🤖 Generated with Claude Code