Skip to content

Display project name instead of ID in Tokens Studio sync dropdown#3673

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/update-sync-dropdown-name
Draft

Display project name instead of ID in Tokens Studio sync dropdown#3673
Copilot wants to merge 2 commits intomainfrom
copilot/update-sync-dropdown-name

Conversation

Copy link
Contributor

Copilot AI commented Nov 5, 2025

The Tokens Studio sync provider was displaying project UUIDs instead of human-readable project names in the stored credentials list.

Changes

  • StorageType.ts: Added optional projectName field to TokensStudioStorageType
  • TokensStudioForm.tsx: Capture and store project name alongside ID when user selects a project
  • StorageItem.tsx: Display projectName for Tokens Studio providers, fallback to id for backward compatibility
// Before: Shows UUID like "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
{id}

// After: Shows readable name like "Design System Tokens"
{projectName || id}

The project name is already fetched from the GraphQL query and available in the dropdown—now it's persisted with the credentials and displayed where the UUID was shown.

View original Slack conversation


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI self-assigned this Nov 5, 2025
@changeset-bot
Copy link

changeset-bot bot commented Nov 5, 2025

🦋 Changeset detected

Latest commit: 7061b74

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@tokens-studio/figma-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Co-authored-by: six7 <4548309+six7@users.noreply.github.com>
Copilot AI changed the title [WIP] Update sync dropdown to show name instead of slug Display project name instead of ID in Tokens Studio sync dropdown Nov 5, 2025
Copilot AI requested a review from six7 November 5, 2025 06:23
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.

2 participants