Skip to content

Add icon set metadata manifests#37

Open
coreyvickery wants to merge 23 commits into
mainfrom
feat/25-microns-manifest
Open

Add icon set metadata manifests#37
coreyvickery wants to merge 23 commits into
mainfrom
feat/25-microns-manifest

Conversation

@coreyvickery

@coreyvickery coreyvickery commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Part of #38

Summary

  • Adds icon-sets.yaml at the repo root as the index for all icon sets (use cases, size ranges, manifest paths)
  • Adds src/microns/metadata.yaml with curated per-icon descriptions, accepted uses, and rejected uses
  • Adds stub metadata.yaml files for ui, standard, and social sets, pending curation
  • File names finalized: root index is icon-sets.yaml; per-set manifests are src/<set>/metadata.yaml

Structure follows the agreed layout: one root index YAML, then one per-set manifest beside the SVG sources under src/<set>/. Skills stay out of this repo and can point at these manifests.

Test plan

  • Confirm root index set descriptions and size ranges match RHDS guidance
  • Review micron metaphor accuracy (close vs delete, carets vs arrows, info/help/error)
  • Confirm sort icon pairings
  • Confirm whether micron lock/lock-fill should stay in this category
  • Confirm pending set paths (src/<set>/metadata.yaml) are the naming we want

Establish machine-readable descriptions and accepted/rejected metaphors for micron icons so AI tools can select the correct on-brand icon.
@changeset-bot

changeset-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: acc52b2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify

netlify Bot commented Jul 20, 2026

Copy link
Copy Markdown

Deploy Preview for red-hat-icons ready!

Name Link
🔨 Latest commit acc52b2
🔍 Latest deploy log https://app.netlify.com/projects/red-hat-icons/deploys/6a6235684d52850008664df0
😎 Deploy Preview https://deploy-preview-37--red-hat-icons.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

coreyvickery and others added 2 commits July 20, 2026 15:04
Keep a single root-level index file instead of a manifests directory, per icon metadata layout guidance.
Keep a root icons.yaml that describes each set and points to per-set
manifests under src/, starting with curated microns metadata.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coreyvickery

Copy link
Copy Markdown
Contributor Author

Tracking issue for this work is now #38 (moved from design-skills#25). Skills stay out of scope here.

@coreyvickery coreyvickery left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marionnegp Done with my review.

Comment thread icon-sets.yaml Outdated
Comment thread icon-sets.yaml Outdated
Comment thread icon-sets.yaml Outdated
Comment thread icons.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread icon-sets.yaml Outdated
…tion

Co-authored-by: Cursor <cursoragent@cursor.com>

@zeroedin zeroedin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These files will need to be exported in package.json so they are included in the package and get versioned with releases. This way, an agent could access them via node_modules and read the content, which may differ per version. I'll add a Suggestion comment on package.json with the necessary format.

On second thought, we are also going to need a build process (in build.ts) to copy them into the generated set folders, e.g., ./microns that gets created. Then the exports in package.json will just work given the glob exports/*

When you have the file names finalized, let me know, and I can do this part.

@github-project-automation github-project-automation Bot moved this from In Progress 🟢 to Review 🔍 in Red Hat Design System Jul 22, 2026
…tadata.yaml

Co-authored-by: Cursor <cursoragent@cursor.com>
@coreyvickery coreyvickery changed the title Add curated microns icon metadata manifest Add icon set metadata manifests Jul 22, 2026

@coreyvickery coreyvickery left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My review part 2.

Comment thread icon-sets.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
Comment thread src/microns/metadata.yaml Outdated
@markcaron

Copy link
Copy Markdown
Contributor

@coreyvickery I made a few small changes in addition to removing the Figma-only icons. Any icons listed in the YAML should be available/shipped. If they're in Figma-only, then we'd want to include them in the release (as we update the YAML) and make them available anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Review 🔍

Development

Successfully merging this pull request may close these issues.

4 participants