Skip to content

fix: prevent plugin freeze on stale Slot node IDs during theme switching#3839

Draft
akshay-gupta7 wants to merge 4 commits into
mainfrom
akshay/fix-slots-them-freezing-issue
Draft

fix: prevent plugin freeze on stale Slot node IDs during theme switching#3839
akshay-gupta7 wants to merge 4 commits into
mainfrom
akshay/fix-slots-them-freezing-issue

Conversation

@akshay-gupta7
Copy link
Copy Markdown
Contributor

Why does this PR exist?

Closes #3838

What does this pull request do?

Testing this change

Additional Notes (if any)

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 10, 2026

⚠️ No Changeset found

Latest commit: ffb5d05

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

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 10, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 10, 2026

Commit SHA:3321ba664bcb72e643a17bf6bacfdb0f01e1e24b

Test coverage results 🧪

Code coverage diff between base branch:main and head branch: akshay/fix-slots-them-freezing-issue 
Status File % Stmts % Branch % Funcs % Lines
🔴 total 61.46 (-0.01) 52.9 (0) 59.3 (0.01) 61.85 (-0.02)
🔴 packages/tokens-studio-for-figma/src/plugin/SharedDataHandler.ts 34.48 (-0.52) 10 (0) 66.66 (0) 34.48 (-0.52)
🟢 packages/tokens-studio-for-figma/src/plugin/asyncMessageHandlers/applySiblingStyle.ts 45.65 (1.47) 56 (-0.25) 66.66 (6.66) 42.85 (1.39)
🟢 packages/tokens-studio-for-figma/src/plugin/figmaUtils/styleUtils.ts 53.84 (0) 76.47 (1.47) 57.14 (0) 53.84 (0)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 10, 2026

Commit SHA:3321ba664bcb72e643a17bf6bacfdb0f01e1e24b
Current PR reduces the test coverage percentage by 1 for some tests

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 13, 2026

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

@akshay-gupta7 akshay-gupta7 self-assigned this Apr 13, 2026
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.

Plugin freezes on theme switch when components are inside Figma Slots

1 participant