Skip to content

fix(search): open addresses typed without a scheme; keyboard no longer blurs the bar - #99

Merged
lippdev merged 2 commits into
mainfrom
fix/search-vs-url-and-keyboard-blur
Oct 21, 2026
Merged

lippdev merged 2 commits into
mainfrom
fix/search-vs-url-and-keyboard-blur

Conversation

@lippdev

@lippdev lippdev commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Address vs search. The bar and the new tab's box treated only https://… as an address, so youtube.com went to Google. resolveAddressInput (src/shared/addressInput.ts, unit-tested) now decides:
    • youtube.com, www.site.com.br/tv, site.com:8080/a open with https://;
    • localhost:3000 and 192.168.0.10 open with http://;
    • anything with a space, a single word (youtube), or a file-like ending (config.json) is searched;
    • javascript: and file: are searched, never opened.
      Both paths go through Navigation.searchOrGo, so the new tab, the address bar and links from internal pages all follow the same rule.
  • Blur over the typing. The controller keyboard sits on a full-screen layer with a dimmed, blurred background, which covered the address bar. The layer is now transparent and only the keyboard panel takes the pointer, so the bar and the page stay sharp.

shortcut: no public-suffix list, so word.letters with an unknown ending opens as a site; the known file endings are excluded.

Test plan

  • npm run typecheck
  • npm test (109 passed)
  • npm run test:e2e (50 passed, 3 skipped), with a new test for the new tab box
  • Checked on the real Windows screen: typing in the bar with the keyboard open, text sharp

🤖 Generated with Claude Code

lippdev and others added 2 commits October 21, 2026 15:27
…r blurs the bar

- Both boxes (the bar and the new tab) only opened what began with
  https://, so "youtube.com" was sent to Google. resolveAddressInput now
  tells an address from a search: domains, localhost and IPs open (https,
  or http for local ones), anything with a space or a single word is
  searched, and file-looking endings such as config.json are searched too.
- The controller keyboard's full-screen layer dimmed and blurred the
  address bar, hiding the text being typed. The layer is now transparent
  and only the keyboard panel takes the pointer.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A script run in a page that is still navigating may never answer, so the
new test timed out on the CI runners.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lippdev
lippdev merged commit 2c5060c into main Oct 21, 2026
5 checks passed
@lippdev
lippdev deleted the fix/search-vs-url-and-keyboard-blur branch October 21, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant