From a8679efc4c4076d97244186a4ea228e35964e38d Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Mon, 28 Sep 2026 03:26:42 +0000 Subject: [PATCH] Remove a kill switch the code does not have file-map.md documented `SOW_EXPORT_BUTTON=false` as a hidden global switch that "hides the fully-wired Export menu across ALL bundles". SOW_ appears nowhere in this repo, so anyone setting it would get silence and conclude the Export menu was broken. Docs describe the code as it is, so the claim is gone. The per-component prop it mentioned is real and untouched: LegendMobile.vue passes :export-enabled. Only the global env override was fictional. MAX_LIVE went with the staging.js row it lived in, and neither name appears in README.md or documentation/ now. If a global export switch is wanted, that is a card, not a doc edit. --- documentation/architecture/file-map.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/architecture/file-map.md b/documentation/architecture/file-map.md index c988a98cf..ca34c9caa 100644 --- a/documentation/architecture/file-map.md +++ b/documentation/architecture/file-map.md @@ -52,7 +52,7 @@ Generated by a per-file scan. The `@map/…` import path mirrors each `library/` | `library/components/legends/LegendMobile.vue` | Mobile bottom-sheet legend chrome (drag/collapse/detail) wrapping the same LegendRows/SemanticTreeLegend/PeopleGroupDetail. | All CSS lives in a useShadowStyles template literal — a stray backtick in its comments silently blanks the whole mobile stylesheet. | | `library/components/legends/LegendRows.vue` | Flat-grid legend table: colored clickable filter rows, count/population columns, collapsible children, sticky title + totals footer. Emits filter-click. | ONE flat CSS grid with subgrid rows (spec: documentation/legend-spec.md); `.lrg-item` wrappers are display:contents on desktop only for LegendMobile compat — don't add layout to them. Never use scrollIntoView (host-page scroll regression 554bf10). | | `library/components/legends/LegendTools.vue` | Floating pill toolbar (auto-fly tour + clusters toggle) above the desktop legend card. Emits legend-row-fly. | Only renders for doxa-regions / language-family legend types; must stay a SIBLING of LegendDesktop (own `.lt-` CSS namespace); flight/cluster state lives in injected mapStore; hidden below 768px. | -| `library/components/legends/SemanticTreeLegend.vue` | Hierarchical tabbed legend panel (collapsible, sortable, drill-up/down tree). Props: nodes, tabs, columns, open, exportEnabled; emits select/update:open/export. | Syncs selection via the per-instance mediator (usePplrInstance) when present, else local state; styles via useShadowStyles. Hidden kill-switch `SOW_EXPORT_BUTTON=false` hides the fully-wired Export menu across ALL bundles regardless of `:export-enabled`. | +| `library/components/legends/SemanticTreeLegend.vue` | Hierarchical tabbed legend panel (collapsible, sortable, drill-up/down tree). Props: nodes, tabs, columns, open, exportEnabled; emits select/update:open/export. | Syncs selection via the per-instance mediator (usePplrInstance) when present, else local state; styles via useShadowStyles. | ### components/map-controls/