feat: overhaul plugin UI/UX and update JSON export schema#3
Merged
Conversation
…tabs along with matured JSON schema - Updated JSON schema to adhere to DTCG specification. - Fixed upstream issue with `Banner` component icon vertical alignment issue. - Migrated from `react` -> `preact`. - Introduced `@create-figma-plugin/ui` for supporting plugin UI alignment with Figma Desktop styling and theme support. - Added auto-export on plugin open, to reduce time-to-commit required steps. - Completely restructured the UI to improve UX, tucking away set-and-forget settings in a tab, enabling the user to focus on the export/commit of variables/design tokens.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UI/UX Overhaul Inc. JSON Schema Update (DTCG Spec. Compliance)
Description
Overview
This PR represents a major overhaul of FigGit, introducing a completely redesigned user interface with DTCG-compliant schema support, migration from React to Preact, and significant UX improvements. The changes span architectural improvements, bug fixes, and enhanced documentation.
What's Changed
Architecture & Dependencies
@create-figma-plugin/uifor native Figma Desktop styling and automatic theme supportUI/UX Improvements
Bannercomponent icon vertical alignment issueBug Fixes
PluginContextto properly clear cached dataDocumentation
README.mdREADME.mdwith comprehensive feature list and installation instructionsTesting
New Components & Utilities
New Components:
ActionButtons.tsx- Export and commit action controlsStatusSummary.tsx- Export status visualizationDiffViewer.tsx- Token-level change visualizationJsonViewer.tsx- Formatted JSON display with copyTabLayout.tsx- Consistent tab-based navigationNew Utilities:
colorUtils.ts- DTCG-compliant color format conversiondtcgUtils.ts- DTCG schema validation and transformationbuildDtcgJson.ts- Full DTCG export implementationNotes