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

+4 -1
View File
@@ -81,6 +81,8 @@ export function mapStackChipModels(stacks, activeId) {
/**
* Renders the chip row into `container`, replacing any previous chips.
* @deprecated Core's dock renders the row from `createMapSourceControls()`'s
* published view; this DOM builder is no longer used by Core.
* @param {HTMLElement} container - Row element.
* @param {Array<object>} stacks - `MapStackController.getStacks()` output.
* @param {object} [options]
@@ -155,7 +157,8 @@ export function renderMapStackChips(
}
/**
* Re-points the active chip at controller state. Availability never changes at
* Re-points the active chip at controller state.
* @deprecated Core's dock renders the active chip from the published view. Availability never changes at
* runtime (it tracks the ion token), so only the active/pressed pair is synced.
* @param {HTMLElement} container - Row element.
* @param {string|null} activeId - Currently active stack id.