Skip to content

docs: Polaris Icons v9 vs v13 变化对比表#2

Open
devin-ai-integration[bot] wants to merge 1 commit into
masterfrom
devin/1775096600-polaris-icons-diff
Open

docs: Polaris Icons v9 vs v13 变化对比表#2
devin-ai-integration[bot] wants to merge 1 commit into
masterfrom
devin/1775096600-polaris-icons-diff

Conversation

@devin-ai-integration
Copy link
Copy Markdown

Summary

Adds a Markdown document (POLARIS_ICONS_DIFF.md) comparing icons between @shopify/polaris v9 (polaris-icons@4.22.0) and v13 (polaris-icons@9.3.1). The data was generated programmatically by:

  • Extracting icon SVG filenames from the corresponding git tags in the Polaris monorepo
  • Using the official icons-v8-update-names migration rename map to correlate old Major/Minor names → new Icon names
  • Computing renamed, new, and deleted icon sets

Key findings:

Metric Value
v9 icon count 410
v13 icon count 534
Renamed (deduplicated) 335
New in v13 199
Deleted 0

The document includes: version-by-version change summary, full rename table, full new-icons list, and data sources.

Review & Testing Checklist for Human

  • Spot-check "new" icons list for false positives. Some icons listed as "new" (e.g. DataTableIcon, ChartCohortIcon, ChartLineIcon) correspond to rename-map entries whose v9 source names (AnalyticsTableMajor, AnalyticsCohortMajor, AnalyticsLineMajor) did not have SVG files in the v9 polaris-icons/icons/ directory. These are arguably renames rather than truly new icons — verify whether this distinction matters for your use case.
  • Spot-check a few rename mappings against the official migration map to confirm accuracy (e.g. AccessibilityMajorEyeCheckMarkIcon, CancelMajorXIcon).
  • Verify the v9 baseline tag (@shopify/polaris@9.9.0) matches the Polaris v9 version your project actually uses — if you're on a different minor (e.g. 9.24.0), the icon set may differ slightly.

Notes

  • The v9 icon list is based on SVG files present in polaris-icons/icons/ at that tag. Not every icon name in the rename map had a corresponding SVG (some Major/Minor variants shared the same file), so the rename table only includes matches found in the actual file listing.
  • The "数据来源" section links to polaris-react (the original repo URL) but this now redirects to the Shopify/polaris monorepo.

Link to Devin session: https://app.devin.ai/sessions/62934ddd4563496a8636f76de6d83e83
Requested by: @leijuns

Compare icons between @shopify/polaris v9 (polaris-icons v4.22.0) and v13 (polaris-icons v9.3.1).

Summary:
- v9: 410 icons (Major/Minor naming)
- v13: 534 icons (unified Icon suffix)
- 335 renamed icons
- 199 new icons
- 0 deleted icons

Co-Authored-By: lei2jun <724099654@qq.com>
@devin-ai-integration
Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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