[codex] add browser tab grouping toggle#2169
Open
Daily-AC wants to merge 2 commits into
Open
Conversation
Daily-AC
marked this pull request as ready for review
July 23, 2026 07:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Chrome automatically preserves named tab groups in its Saved Tab Groups bar. When OpenCLI browser windows are closed or recreated across browser or extension lifecycles, closed
OpenCLI Browserentries can accumulate even though the live-group convergence logic from #2098 correctly keeps one active group.The extensions API can query and mutate live
chrome.tabGroups, but it has no API for deleting Chrome saved-group entries. This change therefore prevents new saved entries at the source by adding a Group browser tabs toggle to the extension popup.The setting defaults to enabled, preserving current behavior. When disabled:
OpenCLI Browsertabs are ungrouped;The preference is loaded before startup reconciliation and stored in
chrome.storage.local. Active adapter grouping is unaffected because visible adapter groups were removed in #1925. Existing profiles can still contain legacy savedOpenCLI Adapterentries created by older releases; like previously savedOpenCLI Browserentries, Chrome requires users to remove them once from the saved tab groups bar.This revisits the approach from closed PR #1463 after the explicit user scenario requested in #2069. Unlike that older PR, the setting is exposed in the extension popup, is scoped to the remaining browser group path, and cleans up live groups when switched off.
Related issue: Closes #2069
Type of Change
Checklist
Screenshots / Output
Manual verification with Chrome 150 on macOS 26.5.2:
npm run typecheckreports seven errors in existing test code. The same seven errors are present on a cleanupstream/mainworktree; this PR adds no typecheck failures.