fix: atlas glow and AI Workspace scope pre-selection in light theme
Two targeted fixes: - Tag Cloud atlas SVG radial gradient now switches its inner stop from white to a warm dark tone (rgba 60 50 30) when the Subtle Light theme is active, matching the explore-tag hover glow style used elsewhere in light mode. - Switching the AI Workspace tagging queue scope to "Selected Folders" no longer auto-selects the first folder in the list; the selection now starts empty so the user can choose exactly which folders to target.
This commit is contained in:
+2
-10
@@ -950,12 +950,7 @@ export const useGalleryStore = create<GalleryState>((set, get) => ({
|
||||
const nextSelected = state.taggingQueueFolderIds.filter((folderId) => folderIds.has(folderId));
|
||||
return {
|
||||
folders,
|
||||
taggingQueueFolderIds:
|
||||
nextSelected.length > 0
|
||||
? nextSelected
|
||||
: state.taggingQueueScope === "selected" && folders.length > 0
|
||||
? [folders[0].id]
|
||||
: nextSelected,
|
||||
taggingQueueFolderIds: nextSelected,
|
||||
};
|
||||
});
|
||||
},
|
||||
@@ -1838,10 +1833,7 @@ export const useGalleryStore = create<GalleryState>((set, get) => ({
|
||||
setTaggingQueueScope: (taggingQueueScope) => {
|
||||
set((state) => ({
|
||||
taggingQueueScope,
|
||||
taggingQueueFolderIds:
|
||||
taggingQueueScope === "selected" && state.taggingQueueFolderIds.length === 0 && state.folders.length > 0
|
||||
? [state.folders[0].id]
|
||||
: state.taggingQueueFolderIds,
|
||||
taggingQueueFolderIds: state.taggingQueueFolderIds,
|
||||
}));
|
||||
void invoke("set_tagging_queue_scope", { scope: taggingQueueScope }).catch(() => {});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user