Search and Selection Risks
"/home/yossef/notes/git/projects/maplibra/risks/Search and Selection Risks.md"
path: maplibra/risks/Search and Selection Risks.md
- **fileName**: Search and Selection Risks
- **Created on**: 2026-06-16 00:48:42
Search and Selection Risks
Migrated from: obs_vault
Parent: ../modules/UI Components.md
This note collects the search and selection bugs that are easy to miss when the UI still looks functional.
Risks Found
buildSearchBootstrapLocations()defers most floors, so the search index is intentionally incomplete during startup.SearchBox.selectResult()hardcodessourceType: 'room'and only requests floor changes when an option is enabled.SearchBox,POIDiscovery, and related UI helpers register global listeners and render HTML content, so teardown and data trust both matter.check-locations.jsis a weak validation gate because it checks for names, not for search-ready anchors.
See Also
-
./Error Toast and Location Validation.md
continue:[[]]
before:[[]]