From 13fcf3a9bb25036ee6cc9ed8582065fb219d500e Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 19 Dec 2025 10:44:05 +0100 Subject: [PATCH] :lipstick: Set import Tokens default option to be Single JSON value (#7918) This patches makes the default Tokens importing option to match the current default Tokens exporting option (single JSON value). This way it is more obvious and quick to export the tokens from a file and import in new one, --- While testing our design system we are often re-exporting and re-importing the Tokens to the files using the design system components. I'm aware that this may be addressed in the future so the Tokens are brought in together with the library. Meanwhile (and even in the future) I think it is sensible to have a symmetry between the export and import defeault options. Co-authored-by: Dalai Felinto --- frontend/src/app/main/ui/workspace/tokens/import/modal.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/import/modal.cljs b/frontend/src/app/main/ui/workspace/tokens/import/modal.cljs index dbd356d1a5..ad7dcdad89 100644 --- a/frontend/src/app/main/ui/workspace/tokens/import/modal.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/import/modal.cljs @@ -268,8 +268,8 @@ :on-click modal/hide!} (tr "labels.cancel")] [:> import-type-dropdown* - {:options [{:label (tr "workspace.tokens.import-menu-zip-option") :value :zip} - {:label (tr "workspace.tokens.import-menu-json-option") :value :file} + {:options [{:label (tr "workspace.tokens.import-menu-json-option") :value :file} + {:label (tr "workspace.tokens.import-menu-zip-option") :value :zip} {:label (tr "workspace.tokens.import-menu-folder-option") :value :folder}] :on-click handle-import-action :text-render render-button-text