Read "from the map" only after hide, remove, turn off or clear

"show me the view from the map" is a question again, not a place search.

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-18 19:45:38 -08:00
1 parent 06eb60faab
commit 3d31126c72
3 files changed
+12 -5

No files matched your search

+5
View File
@@ -816,6 +816,11 @@ test('"except" leaves Satellites to switch off with Space Missions off', () => {
['layer(satellites,off)'],
text,
);
// After "show" the ending is part of what is asked.
assert.equal(
omnibar.rows('show me the view from the map', { places: [] }).defaultIndex,
-1,
);
// The whole map cleared "from the map" is the same plan, not a place.
for (const text of [
'hide everything from the map',