mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 11:42:21 +00:00
Fix the search bar's stale errors, hidden-field shortcuts and repeated Enter
From review: - An error goes when a chip is chosen, and a search's error shows only under the line it was for: a lookup that fails after the line was edited says nothing under the new text. - With voice on the field is hidden: "/" and Cmd/Ctrl+K no longer focus it, and nothing is looked up for it. - Without the action runner a refused or cancelled search keeps the line, as the plan path does (only true is success). - Text an input method is still composing is read when it is committed. - A held or repeated Enter does not restart the same line over its flight. - A city chip for the city whose landmarks are open flies there instead of folding the landmarks. - "villages around here" is looked up again for the current view. - Data Layers takes the full lane only where the desktop dock is laid out, by the condition omnibar-dock.css uses. - On short phones the HUD readout moves under the field it shared a row with. - CURRENT-STATE says the phone gains a field and which places are kept. Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
1 parent
24731951a0
commit
d7f10e4d2a
4 files changed
+70
-11
No files matched your search
@@ -250,8 +250,13 @@ test('a centered timeline only shortens the corridor when it reaches the visible
|
||||
test('Data Layers extends to the HUD even if its list is currently short', () => {
|
||||
const f = fixture('left');
|
||||
f.first.id = 'data-panel';
|
||||
const dock = { id: 'command-dock' };
|
||||
f.options.documentRef.getElementById = (id) =>
|
||||
id === 'gev-omnibar' ? {} : null;
|
||||
id === 'gev-omnibar'
|
||||
? {}
|
||||
: id === 'gev-voice-control'
|
||||
? { parentElement: dock }
|
||||
: null;
|
||||
f.expand(f.first, 250);
|
||||
f.options.obstacles = [element('hud', { top: 760, height: 45 })];
|
||||
f.run();
|
||||
|
||||
Reference in new issue
Block a user