refactor(ui): remove the map stack chip DOM builders

The dock renders the chips from the map source controls' published view,
so renderMapStackChips, syncMapStackChips and MAP_STACK_CHIP_CLASS have no
callers. Their tests now pin the chip models; the dock test keeps the
rendered chips' button type and native enablement.
This commit is contained in:
Sameh Khamis committed 2026-10-31 19:28:02 -07:00
1 parent 1de4f635ca
commit 0b8cb4f33f
6 files changed
+71 -326

No files matched your search

+2 -2
View File
@@ -65,8 +65,8 @@
- `createMapSourceControls()` (`./ui/maps`) no longer renders the map source
chips into a `container` or writes a `statusElement`: it presents the chip
row and status badge and hands them to its `publish` option, and Core's
dock renders them and calls `select()`. `renderMapStackChips` and
`syncMapStackChips` are deprecated (samehkhamis).
dock renders them and calls `select()`. `renderMapStackChips`,
`syncMapStackChips` and `MAP_STACK_CHIP_CLASS` are removed (samehkhamis).
- `LocationControls` (`./ui/location`) no longer builds the city and
landmark pills or writes the mini status: it presents the tray, including