Skip to content

fix: preserve user-defined reordering of integer token keys in JSON e…#3877

Draft
akshay-gupta7 wants to merge 1 commit into
mainfrom
akshay/fix-tokens-reordering
Draft

fix: preserve user-defined reordering of integer token keys in JSON e…#3877
akshay-gupta7 wants to merge 1 commit into
mainfrom
akshay/fix-tokens-reordering

Conversation

@akshay-gupta7

Copy link
Copy Markdown
Contributor

…ditor

Closes #3874

Why does this PR exist?

Closes #0000

What does this pull request do?

Testing this change

Additional Notes (if any)

@changeset-bot

changeset-bot Bot commented May 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8978ba8

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

@github-actions

Copy link
Copy Markdown
Contributor

⤵️ 📦 ✨ The artifact was successfully created! Want to test it? Download it here 👀 🎁

@github-actions

Copy link
Copy Markdown
Contributor

Commit SHA:9cd70f75aba36453321339b30b8b9bf4fb0ff4ce

Test coverage results 🧪

Code coverage diff between base branch:main and head branch: akshay/fix-tokens-reordering 
Status File % Stmts % Branch % Funcs % Lines
🟢 total 61.63 (0.13) 53.14 (0.16) 59.28 (0.06) 62.06 (0.15)
🟢 packages/tokens-studio-for-figma/src/app/store/models/tokenState.tsx 62.73 (0.38) 48.61 (0.1) 75 (0.43) 63.66 (0.72)
✨ 🆕 packages/tokens-studio-for-figma/src/utils/extractJsonKeysOrder.ts 91.17 85.96 100 93.84

@anathaniel-TS

Copy link
Copy Markdown

🛡️ Hyma Compliance Check

No compliance-relevant changes detected

2 file(s) scanned · 0 findings

ℹ️ This check is informational.
🛡️ Hyma Compliance Check · automated

@anathaniel-TS

Copy link
Copy Markdown

🛡️ Hyma Compliance Check

No compliance-relevant changes detected

Files scanned · 0 findings

No new external calls, personal data processing changes, or authentication/authorization modifications detected. No compliance action required.

ℹ️ This check is informational.
🛡️ Hyma Compliance Check · automated

@anathaniel-TS

Copy link
Copy Markdown

🛡️ Hyma Compliance Check

No compliance-relevant changes detected

4 file(s) scanned · 0 findings

ℹ️ This check is informational.
🛡️ Hyma Compliance Check · automated

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.

Token reorder silently discarded for numeric names without leading zeros in code editor

2 participants