Skip to content

feat(browser): urlbar autocomplete and on-disk history#415

Merged
nicoburns merged 5 commits intoDioxusLabs:mainfrom
tonybierman:rich-address-bar
May 4, 2026
Merged

feat(browser): urlbar autocomplete and on-disk history#415
nicoburns merged 5 commits intoDioxusLabs:mainfrom
tonybierman:rich-address-bar

Conversation

@tonybierman
Copy link
Copy Markdown
Contributor

Adds urlbar autocomplete (history matches + a "Search with DuckDuckGo" row, keyboard-driven) backed by a new sqlite history store that hydrates the in-memory BrowsingHistory on startup.

tonybierman and others added 2 commits May 3, 2026 10:41
Adds urlbar autocomplete (history matches + a "Search with DuckDuckGo" row, keyboard-driven) backed by a new sqlite history store that hydrates the in-memory BrowsingHistory on startup.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
# Conflicts:
#	apps/browser/src/browser_history.rs
#	apps/browser/src/tab.rs
Copy link
Copy Markdown
Member

@nicoburns nicoburns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few suggestions. Nothing blocking, but a few that would clean up the code. Action any that you want to, and leave any that you don't and then ping me for re-review?

Comment thread apps/browser/src/history_store.rs Outdated
Comment thread apps/browser/src/history_store.rs Outdated
Comment thread apps/browser/assets/browser.css
Comment thread apps/browser/src/toolbar.rs Outdated
Comment thread apps/browser/src/url_suggestions.rs Outdated
Comment thread apps/browser/src/history_store.rs Outdated
Comment thread apps/browser/src/history_store.rs Outdated
Comment thread apps/browser/src/history_store.rs Outdated
Comment thread apps/browser/src/url_suggestions.rs Outdated
tonybierman and others added 2 commits May 4, 2026 10:18
…ggestions

- Move HistoryStore into a new workspace crate apps/browser/persistence,
  managed via rusqlite_migration. Introduce HistoryService that owns the
  in-memory Store and on-disk HistoryStore together so callers no longer
  write to both sides.
- Replace urlbar substring matching with nucleo fuzzy ranking; add a
  Literal "what Enter would do" row; drop hover-to-select.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@tonybierman
Copy link
Copy Markdown
Contributor Author

The Android failure is not a code issue — it's a transient CI infrastructure failure.

@tonybierman
Copy link
Copy Markdown
Contributor Author

@nicoburns ready for re-review. significant changes.

Copy link
Copy Markdown
Member

@nicoburns nicoburns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'd be a lot better off using the nucleo crate rather than nucleo-matcher. It does the hard part of computing suggestions in a background thread for us. And even has an API that allows us to retrieve results incrementally as they're computed. But this is fine for now :)

@nicoburns nicoburns merged commit bded255 into DioxusLabs:main May 4, 2026
15 checks passed
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.

2 participants