Repository navigation
Conversation
🦋 Changeset detectedLatest commit: 02dcbe5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
🧩 Component Schema Changes ReportNo component schema changes detected.This comment was automatically generated by the component schema diff tool. 🤖 |
Contributor
🎨 Token Changes ReportTokens Changed (0)Original Branch: This comment was automatically generated by the token diff tool. 🤖 |
7 of 10 tasks
Member
Author
|
Superseded by #1524, which includes this public-site sync and promotes Hub guidance directly to main without beta release state. |
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.
Description
Automated Spectrum Hub → design-data component sync, generated by the Hub Component Sync workflow.
For each Hub slug tracked in
component-map.js, this run fetches the RSP and SWC pages (where both exist), merges them per-section withmergeComponentSections()(RSP wins on identical/RSP-only content; genuine divergences and SWC-only sections are flagged below rather than silently resolved), and refreshes the target component'sdocumentBlocksvia the existings2-docs-to-document-blocks transformcommand. It also updates the embedded component-count guard so the Rust regression test stays aligned with the checked-in JSON set.Related Issue
spectrum-design-data-085.2.5
Motivation and Context
This replaces a manual fetch + merge + stage + transform pass with a deterministic GitHub Action run, mirroring
hub-guideline-sync.yml's already-shipped, live-verified pattern for guideline pages. Component pages need their own workflow (not ahub-guideline-sync.ymlextension) because of the RSP+SWC dual fetch, different guard math, and different review cadence — see the bead for the full rationale.How Has This Been Tested?
This PR was opened with a token that allows
.github/workflows/ci.yml(Node and Rust jobs, includingmoon run sdk:test) to run automatically on thepull_requestevent. If CI did not start, the repository'sGH_TOKENsecret may be unset — re-trigger manually (push a commit, or close/reopen the PR) in that case.Content flagged for human review
SWC-only sections (4) — not merged in, review whether it belongs
link— "Behaviors"link— "Single vs. multiple expansion"link— "Title wrapping"link— "Optional actions"Screenshots (if appropriate):
Types of changes
Checklist: