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:
2026-06-29 17:23:03 +01:00
parent 8dbabc2d9e
commit f2939d70ab
2 changed files with 4 additions and 12 deletions
+2 -2
View File
@@ -477,8 +477,8 @@ function TagAtlas({
<svg className="pointer-events-none absolute inset-0 h-full w-full" aria-hidden="true"> <svg className="pointer-events-none absolute inset-0 h-full w-full" aria-hidden="true">
<defs> <defs>
<radialGradient id="tag-atlas-glow" cx="50%" cy="50%" r="50%"> <radialGradient id="tag-atlas-glow" cx="50%" cy="50%" r="50%">
<stop offset="0%" stopColor="rgba(255,255,255,0.2)" /> <stop offset="0%" stopColor={isLight ? "rgba(60,50,30,0.18)" : "rgba(255,255,255,0.2)"} />
<stop offset="100%" stopColor="rgba(255,255,255,0)" /> <stop offset="100%" stopColor="rgba(0,0,0,0)" />
</radialGradient> </radialGradient>
</defs> </defs>
{activeNode && activeAnchor ? ( {activeNode && activeAnchor ? (
+2 -10
View File
@@ -950,12 +950,7 @@ export const useGalleryStore = create<GalleryState>((set, get) => ({
const nextSelected = state.taggingQueueFolderIds.filter((folderId) => folderIds.has(folderId)); const nextSelected = state.taggingQueueFolderIds.filter((folderId) => folderIds.has(folderId));
return { return {
folders, folders,
taggingQueueFolderIds: taggingQueueFolderIds: nextSelected,
nextSelected.length > 0
? nextSelected
: state.taggingQueueScope === "selected" && folders.length > 0
? [folders[0].id]
: nextSelected,
}; };
}); });
}, },
@@ -1838,10 +1833,7 @@ export const useGalleryStore = create<GalleryState>((set, get) => ({
setTaggingQueueScope: (taggingQueueScope) => { setTaggingQueueScope: (taggingQueueScope) => {
set((state) => ({ set((state) => ({
taggingQueueScope, taggingQueueScope,
taggingQueueFolderIds: taggingQueueFolderIds: state.taggingQueueFolderIds,
taggingQueueScope === "selected" && state.taggingQueueFolderIds.length === 0 && state.folders.length > 0
? [state.folders[0].id]
: state.taggingQueueFolderIds,
})); }));
void invoke("set_tagging_queue_scope", { scope: taggingQueueScope }).catch(() => {}); void invoke("set_tagging_queue_scope", { scope: taggingQueueScope }).catch(() => {});
}, },