Skip to content

chore: update config mappings, promote Modal* migration targets to complete#62

Draft
AndyMBridges wants to merge 1 commit into
mainfrom
chore/update-config-migration-targets
Draft

chore: update config mappings, promote Modal* migration targets to complete#62
AndyMBridges wants to merge 1 commit into
mainfrom
chore/update-config-migration-targets

Conversation

@AndyMBridges
Copy link
Copy Markdown
Contributor

Summary

  • config.json: Maps ModalFooter and ModalFocus to @metamask/design-system-react (discovered by sync-config from the latest design-system repo); updates Skeleton mobile replacement
  • scripts/sync-config.js: Adds auto-promotion logic — any to_do entry in migration-targets.json is automatically flipped to complete when the component appears in the MMDS component list, so this never drifts again
  • metrics/migration-targets.json + dashboard/public/metrics/migration-targets.json: Promotes ModalBody, ModalFocus, ModalFooter, ModalOverlay to complete (extension now 31/48)
  • Removes May 1 metric data files from metrics/ and dashboard/public/metrics/
  • Trims timeline.json and index.json back to Apr 24 as the latest data point

Why metrics were removed

May 1 data was generated against stale repo snapshots. After merging this PR, trigger the weekly-metrics workflow via workflow_dispatch to regenerate fresh metrics from latest main of all repos and deploy to production.

Test plan

  • yarn validate-metrics passes after merge
  • Trigger workflow_dispatch on weekly-metrics.yml to generate fresh metrics
  • Merge the resulting metrics PR to deploy updated data to the dashboard

Made with Cursor

…d auto-promotion to sync-config, remove May 1 metrics

- config.json: map ModalFooter and ModalFocus to @metamask/design-system-react; update Skeleton mobile replacement
- scripts/sync-config.js: auto-promote migration-targets to complete when component lands in MMDS
- metrics/migration-targets.json: promote ModalBody, ModalFocus, ModalFooter, ModalOverlay to complete (31/48 extension)
- Remove May 1 metric data files from metrics/ and dashboard/public/metrics/
- Trim timeline.json and index.json back to Apr 24 (CI will regenerate May 5 via workflow_dispatch)

Co-authored-by: Cursor <cursoragent@cursor.com>
@AndyMBridges AndyMBridges marked this pull request as draft May 5, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant