Merge open app switcher ordering

# Conflicts:
#	app/ui/shell/shell.ts
#	docs/validation-launcher-layout.md
This commit is contained in:
Blendman974 committed 2026-11-06 06:32:58 +01:00
commit 428142aef7
5 files changed
+212 -8

No files matched your search

+1 -5
View File
@@ -131,11 +131,7 @@ test('system menu hides brightness in Auto and opens its picker between Voice in
opened = shell.stack.layers.at(-1);
assert.deepEqual(Array.from(opened.items, (item) => item.label),
['Close current app', 'Focus app switcher', 'Voice input', 'Close all apps', 'Enter full screen', 'Keep screen awake', 'Brightness', 'Debug']);
await shell.stack.handleInput(gestures.makeInputEvent({ type: 'scroll-down' }));
await shell.stack.handleInput(gestures.makeInputEvent({ type: 'scroll-down' }));
await shell.stack.handleInput(gestures.makeInputEvent({ type: 'scroll-down' }));
await shell.stack.handleInput(gestures.makeInputEvent({ type: 'scroll-down' }));
await shell.stack.handleInput(gestures.makeInputEvent({ type: 'scroll-down' }));
opened.selectItem(opened.items.findIndex(item => item.label === 'Brightness'));
await shell.stack.handleInput(gestures.makeInputEvent({ type: 'click', source: 'ring' }));
assert.ok(shell.stack.topMatches((layer) => layer instanceof f.picker.BrightnessPickerLayer));
await shell.stack.handleInput(gestures.makeInputEvent({ type: 'double-click', source: 'ring' }));