Skip to content

Browser: Favorites#319040

Merged
kycutler merged 3 commits into
mainfrom
kycutler/favorites
May 29, 2026
Merged

Browser: Favorites#319040
kycutler merged 3 commits into
mainfrom
kycutler/favorites

Conversation

@kycutler
Copy link
Copy Markdown
Contributor

@kycutler kycutler commented May 29, 2026

Closes #318150

Copilot AI review requested due to automatic review settings May 29, 2026 18:41
@kycutler kycutler self-assigned this May 29, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds Favorites support to the Integrated Browser, wiring favorite URLs into the URL bar, browser toolbar commands, storage, and styling.

Changes:

  • Adds a browser favorites feature with persisted URL storage, URL picker suggestions, toolbar/keybinding actions, and a URL-bar favorite indicator.
  • Updates URL bar behavior so Enter-committed text remains visible through blur until navigation commits.
  • Adjusts browser URL picker/interface comments and adds styling for the favorite indicator.
Show a summary per file
File Description
src/vs/workbench/contrib/browserView/electron-browser/features/browserFavoritesFeature.ts Implements favorites storage, indicator UI, suggestions, and add/remove actions.
src/vs/workbench/contrib/browserView/electron-browser/browserView.contribution.ts Registers the favorites feature contribution.
src/vs/platform/browserView/common/browserView.ts Adds browser command IDs for adding/removing favorites.
src/vs/workbench/contrib/browserView/electron-browser/widgets/browserUrlBarWidget.ts Preserves Enter-committed URL text through the subsequent blur.
src/vs/workbench/contrib/browserView/test/electron-browser/widgets/browserUrlBarWidget.test.ts Adds regression coverage for Enter commit plus blur behavior.
src/vs/workbench/contrib/browserView/electron-browser/media/browser.css Styles the URL-bar favorite indicator button.
src/vs/workbench/contrib/browserView/electron-browser/browserEditor.ts Updates URL suggestion/action documentation terminology for favorites.

Copilot's findings

  • Files reviewed: 7/7 changed files
  • Comments generated: 3

Comment thread src/vs/workbench/contrib/browserView/electron-browser/browserEditor.ts Outdated
@kycutler kycutler marked this pull request as ready for review May 29, 2026 21:52
@kycutler kycutler enabled auto-merge (squash) May 29, 2026 21:53
@vs-code-engineering
Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@jruales

Matched files:

  • src/vs/platform/browserView/common/browserView.ts
  • src/vs/workbench/contrib/browserView/electron-browser/browserEditor.ts
  • src/vs/workbench/contrib/browserView/electron-browser/browserView.contribution.ts
  • src/vs/workbench/contrib/browserView/electron-browser/features/browserFavoritesFeature.ts
  • src/vs/workbench/contrib/browserView/electron-browser/media/browser.css
  • src/vs/workbench/contrib/browserView/electron-browser/widgets/browserUrlBarWidget.ts
  • src/vs/workbench/contrib/browserView/test/electron-browser/widgets/browserUrlBarWidget.test.ts

@kycutler kycutler merged commit ca1cfd5 into main May 29, 2026
39 of 40 checks passed
@kycutler kycutler deleted the kycutler/favorites branch May 29, 2026 23:15
@vs-code-engineering vs-code-engineering Bot added this to the 1.123.0 milestone May 29, 2026
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.

Add the ability to bookmark a web page inside of the Integrated Browser

3 participants