Skip to content

Commit acf2ca2

Browse files
committed
fix(configurator): hide brand-colors card in Advanced mode (filter bypass)
The Brand & Status Colors section (Colors domain) and the Essentials card (other domains) were rendered unconditionally in Advanced mode, bypassing the Modified-only and Internal filters. When a user checked either filter, those rows stayed on screen, making it appear as though the filters had no effect on most of the visible tokens. Both sections are now gated behind `!advanced`. The Advanced full catalogue already contains every token (brand colors included), so no information is lost, and filters now work as expected on every visible row. https://claude.ai/code/session_01MAgtQ7JY16X2TqZZyGfkuu
1 parent 7608822 commit acf2ca2

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

configurator/src/components/DomainPanel.svelte

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,11 @@
228228
/>
229229
{/if}
230230
231-
<!-- Essentials (Basic mode only) -->
232-
{#if domain.brandColors}
231+
<!-- Basic-mode curated surfaces (brand colors, basic groups, essentials).
232+
All three are hidden in Advanced mode — the full filtered catalogue
233+
below covers every token, so duplicating them here would bypass the
234+
Modified-only and Internal filters and confuse the user. -->
235+
{#if domain.brandColors && !advanced}
233236
<!-- Brand colors domain: light/dark pair rows for every brand color -->
234237
<section class="cfg-card panel__card">
235238
{@render cardHead(

0 commit comments

Comments
 (0)