🐛 V2 Bug Fixes + Quality of Life Improvements

The V2 release fixes several small bugs and known issues impacting user experience


Token Values

  • 1928 - Fixes an issue where the color swatch wasn't populating with the color for border and boxShadow tokens.

  • 2789 - When selecting another token to reference in as the value, the plugin no longer adds an extra space.

  • 2482 - Fixed an issue that caused updating token values that contained a modified reference to update multiple variable modes at once, instead of just the affected one.

  • 2565 - The value of Typography tokens will show number and dimension tokens in the list of tokens available to be referenced.

  • 2902 - Slightly improved the { mentions input and the suggestion input to offer more space for long token names

  • 2721 - The token value input grows in height to adjust for long values! You can finally see what you are typing!

  • 2147 - The dropdown menu when selecting a token to reference as a value no longer extends past the plugin window when it's been resized.

  • 2823 - When editing border tokens, when switching from input mode to reference mode, we now populate the fields with the values of that referenced token.

  • Token suggestions now ignore case, meaning you don’t have to type Blue to find a token called blue

Applying Tokens

  • 2754 - Fixed a bug where applying a Typography or Shadow token with values referencing another token in a different token set where not applying as expected.

  • 1758 - Fixes an issue whereborder tokens called the same name as a color style mistakenly apply that color style instead of the raw hex value

  • 2155 - Applying a documentation token as the raw value of a color token now shows the correct value.

Updating Tokens

  • 2416 - Fixed an issue that caused updating tokens that contained a modified reference to update multiple modes at once, instead of just the affected one.

Token Groups

  • 2467 - Fixes an issue where duplicating a token to another set incorrectly displayed an error message about token names needing to be unique.

  • Added a limitation on token group names to prevent incorrect values from showing in the token meta-data when you hovered on the token

    • You can not rename a token group to the name of an existing token, or token group.

  • 2474 - Renaming parent group now correctly renames all tokens within the group.

Token Sets

  • 3007 - Fixes an issue where the plugin misorders token set, Especially if set names share the name of a folder, we now display them in the right position

  • 2915 - Fixed some issues around the token set tree where reordering token sets caused it to get stuck or other weird behavior. This should now be smoother and also fix some issues we had in production.

  • 1872 - Fixed an issue where creating new set retains last edited set name

  • 2532 - Renaming a token set no longer creates a duplicate set with the new name.

  • 2634 - The sidebar holding token sets is now resizable.

  • 2521 - After creating a new token set, we now switch to the new token set.

Themes

  • 2900 - Fixed an issue where the theme modal wouldn’t close after adjusting the themes.

  • 2153 - Added truncation of token names when detaching styles and variables from themes.

  • 2896 - When a theme has no token sets active we properly show that in the overview

  • 2757 - Fixed display of token names in theme management modal to display long names properly

  • 2436 - Fixed an issue where renaming a theme didn't rename the variable collection created but created duplicates

Import Variables

  • 2553 - The Import variables dialogue of settings will default to being not selected.

  • 2742 - Fixed an issue where number variables imported with Convert Numbers to Dimensions option enabled had [object, object] or NaNrem as values.

View Only Access

  • 2514 - Removes the ability to edit tokens using the cmd/ctrl + click keyboard shortcut to ensure view only permissions persist.

Component Instances

  • 2426 - Fixes an issue where max-width tokens applied to component instances would not work as expected

    • You can only apply these over-ride tokens to the parent container of the component instance

    • If you try to apply tokens to the individual children layers within the component instance, it will not work, as Figma limitations only allow us to modify the parent container tokens.

Dev Mode

  • 2393 - Fixes an issue where border-width token with a value of 0px shows as 0.00px in Dev Mode

Sync to remote token storage

  • 2871 - Fixes missing instructions for all sync provider modals to make the forms easier to complete with success.

  • 2652 - Fixes an issue where the indicator to push or pull from the sync provider falsely appears directly after pushing or pulling.

  • 2822 - When Gitlab sync throws an error that you cannot push to a protected branch, we now surface that to users.

  • 2623 - The ‘add new sync provider’ menu has changed positions. You can now find it on the top of that list, and it will trigger a dialog to make space for all the new sync providers we added.

  • 1279 - Fixes an issue that caused going from URL storage to Local storage to be in read-only until plugin restart

JSON Files

  • 749 - The internal ‘id’ property is now properly stored on the ‘studio.tokens’ key in the ‘$extensions’ object of a token

Error messages

  • 2647- Deleting a token group, theme or individual token now shows the confirm dialog in a danger variant

  • 2497 - Fixes an issue causing error messages to exist outside the plugin UI

  • 2609 - When some styles are not created due to the ignore first part of token name setting, we now show an error message that actually fits in the small toast bar that we get from Figma

  • 2165 - Fixes an issue where duplicating a token to another set incorrectly displayed an error message about token names needing to be unique.

  • 2469 - Fixed an issue with the plugins error boundary, error messages should now show up in the UI again

Inspect

  • 2707 - Using the checkmarks next to the tokens listed on the panel, removing tokens will apply the action only to the tokens selected (checked tokens).

    • Fixes a bug where the action is applied to all tokens, ignoring the tokens that were checked.

  • 2153 - Long token names no longer collide with the detach icons when the tokens being inspected are broken.

Bulk Remap

  • 2511 - Bulk remap now supports regex. This means you can search for a section of a token name to remap much faster.

  • đŸĢļ Thanks to community member xsu1010 for the contribution

Second Screen

  • 2739 - Numerous issues causing second screen to not work as expected have been fixed.

Token File Export

  • 2841 - When exporting files via the Export dialog we now close that dialog after export

Ghost Tokens

  • 2779 - Previous versions of the plugin had an issue where you sometimes could end up with “ghost” or “duplicate” tokens that would show the wrong value when hovered. We have fixed that bug, but sometimes your token files might still contain those duplicates. For those cases we added a triangle Icon button next to the Apply selector that lets you pick which of the duplicates you want to keep.

Please authenticate to join the conversation.

Upvoters
Status

☑ī¸ Completed

Board

đŸĢ  V2 Plugin Feedback

Tags

🐞 Bugs + Blockers

Date

6 months ago

Author

Sam - Tokens Studio

Subscribe to post

Get notified by email when there are changes.