fix: hide bookmark bar tab groups by default - #2484
Conversation
|
Greptile (@greptileai) review |
|
Claude (@claude) review |
|
Claude finished Nikhil (@shadowfax92)'s task in 1m 29s —— View job Claude finished reviewing this PR
ReviewThe core change itself is correct and minimal: However, this PR only touches
The PR's test plan lists a successful |
Greptile SummaryThe PR changes the bookmark-bar tab-group preference to default to hidden for both BrowserOS and BrowserClaw while retaining product-specific defaults for other toolbar controls.
Confidence Score: 4/5The preference change is non-blocking, but the stale BrowserOS default assertions should be updated so the affected unit tests pass. The runtime behavior matches the PR design, while two existing tests still enforce the removed product-dependent default. Files Needing Attention: packages/browseros/chromium_patches/chrome/browser/browseros/core/browseros_prefs.cc and packages/browseros/chromium_patches/chrome/browser/browseros/core/browseros_prefs_unittest.cc Important Files Changed
Prompt To Fix All With AI### Issue 1
packages/browseros/chromium_patches/chrome/browser/browseros/core/browseros_prefs.cc:34
**Stale product-default preference tests**
The new product-independent `false` default conflicts with the existing tests that still expect BrowserOS to default to `true`, so those tests fail until their assertions are updated to reflect the intended hidden default.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Reviews (1): Last reviewed commit: "fix(patches): hide bookmark bar tab grou..." | Re-trigger Greptile |
| + registry->RegisterBooleanPref(prefs::kVerticalTabsEnabled, true); | ||
| + registry->RegisterBooleanPref(prefs::kShowTabGroupsInBookmarkBar, | ||
| + show_tab_groups_in_bookmark_bar_by_default); | ||
| + registry->RegisterBooleanPref(prefs::kShowTabGroupsInBookmarkBar, false); |
There was a problem hiding this comment.
Stale product-default preference tests
The new product-independent false default conflicts with the existing tests that still expect BrowserOS to default to true, so those tests fail until their assertions are updated to reflect the intended hidden default.
Prompt To Fix With AI
This is a comment left during a code review.
Path: packages/browseros/chromium_patches/chrome/browser/browseros/core/browseros_prefs.cc
Line: 34
Comment:
**Stale product-default preference tests**
The new product-independent `false` default conflicts with the existing tests that still expect BrowserOS to default to `true`, so those tests fail until their assertions are updated to reflect the intended hidden default.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Summary
Design
Register
prefs::kShowTabGroupsInBookmarkBarwith a product-independentfalsedefault while leaving the product-specific toolbar-control defaults unchanged.Test plan
/Users/shadowfax/.skills/sf-mux/scripts/sfmux pool build -- autoninja -C out/Default_browseros_arm64 chrome