mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-12 06:12:18 +00:00
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:
1 parent
1de4f635ca
commit
0b8cb4f33f
6 files changed
+71
-326
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user