feat(ui): render the map source chips and status badge from the store

createMapSourceControls() (./ui/maps) no longer builds the chip row or
writes the status badge: it presents both and hands them to its publish
option, so the entry stays Vue-free. The shell publishes them to the
gev-display store and connects the controls, and the dock renders the
chips and calls select() for an available one. renderMapStackChips and
syncMapStackChips are deprecated. The map source QA harnesses wait for
the dock to render and no longer read the removed element refs.
This commit is contained in:
Sameh Khamis committed 2026-10-31 12:11:35 -07:00
1 parent decac29fbd
commit 4966877859
13 files changed
+233 -155

No files matched your search

+6 -2
View File
@@ -530,9 +530,13 @@ test('the Visual Presets tray owns Map Source and the retired left panel is abse
/return this\._mapSourceControls\.select\(stackId, \{ syncShare \}\)/,
'the application action uses the component selection path',
);
const dock = readFileSync(
new URL('./ui/views/CommandDockView.vue', import.meta.url),
'utf8',
);
assert.match(
controls,
/onSelect: [\s\S]*?select\(id\)/,
dock,
/mapSourceControls\.value\?\.select\(chip\.id\)/,
'chip clicks use the same component selection path',
);
assert.match(