From c0fa8ff682a0bb48e53079dfe7a22ef27d387c4c Mon Sep 17 00:00:00 2001 From: InstaZDLL Date: Mon, 19 Oct 2026 00:45:56 +0200 Subject: [PATCH 1/6] fix(plugins): label the canvas world in the store like in the installed list The store card kept its own copy of the world-to-label table, written before the canvas world existed, so a canvas plugin in the store showed the raw waveflow:canvas/v1 string while the installed list already called it Canvas. Both cards now render one shared PluginWorldBadge, so a world added later is labelled in both places or in neither. --- .../views/settings/PluginStoreCard.tsx | 19 ++----------- .../views/settings/PluginWorldBadge.tsx | 28 +++++++++++++++++++ src/components/views/settings/PluginsCard.tsx | 26 ++--------------- 3 files changed, 32 insertions(+), 41 deletions(-) create mode 100644 src/components/views/settings/PluginWorldBadge.tsx diff --git a/src/components/views/settings/PluginStoreCard.tsx b/src/components/views/settings/PluginStoreCard.tsx index b8834d293..fef3b6009 100644 --- a/src/components/views/settings/PluginStoreCard.tsx +++ b/src/components/views/settings/PluginStoreCard.tsx @@ -20,6 +20,7 @@ import { } from "../../../lib/tauri/plugins"; import { PLUGIN_AVAILABILITY_EVENT } from "../../../hooks/usePluginAvailability"; import { useLocalizedText } from "../../../hooks/useLocalizedText"; +import { PluginWorldBadge } from "./PluginWorldBadge"; /** * Settings → Plugins → Store (Phase 2). Browses the curated registry @@ -217,7 +218,7 @@ function StoreRow({ v{entry.version} - + {entry.official && (