mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
Let voice open the Utilities panel
Draw and Import used to be reachable by voice through DISPLAY. set_panel_open now takes 'utilities-panel', and "utilities", "draw", "drawing" and "import" reach it. This adds one value to the Realtime tool schema, so the pinned payload digest, enum list and serialized length are re-derived with a note. The show_data_layers_menu test now finds a row only inside the list that really holds it, so dropping #utilities-toggles from the lookup fails it.
This commit is contained in:
1 parent
38eb98b8f8
commit
46b23ccc06
6 files changed
+47
-5
No files matched your search
@@ -152,7 +152,7 @@ test('the edited existing tools changed exactly as intended', () => {
|
||||
const panel = byName.get('set_panel_open');
|
||||
assert.deepEqual(
|
||||
panel.parameters.properties.panelId.enum,
|
||||
['data-panel', 'location-bar', 'control-panel', 'cctv-panel', 'radio-panel', 'scene-panel', 'pp-toggles', 'global-context-panel', 'weather-panel', 'recent-imagery-panel', 'voice-settings', 'voice-preview', 'provider-settings'],
|
||||
['data-panel', 'location-bar', 'control-panel', 'cctv-panel', 'radio-panel', 'scene-panel', 'utilities-panel', 'pp-toggles', 'global-context-panel', 'weather-panel', 'recent-imagery-panel', 'voice-settings', 'voice-preview', 'provider-settings'],
|
||||
);
|
||||
assert.deepEqual(panel.parameters.required, ['panelId', 'open']);
|
||||
|
||||
|
||||
Reference in new issue
Block a user