Repository navigation
fix(browser): match official's device toolbar, tab strip, find bar, and preview tab - #354
Merged
Merged
Conversation
|
PR test build retired — merged into |
Hona
force-pushed
the
ws6/browser-device-tabs-find
branch
from
November 21, 2026 03:34
42d72fa to
1c511cd
Compare
This was referenced Nov 21, 2026
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.
Summary
Visual parity with official
origin/dev(b9a60d9d078d87bfb90f039e431090508f88ac02) for the browser device toolbar, tab strip titles & favicons, Find in page active ordinal, and preview tab chrome — visual only, no behaviour change to security prompts or preview isolation.apps/desktop/src/plugin_host/native/browser/viewport.rs,plugins/browser/{device,panel}.luau):14 ptright and bottom gutters (bar.css:195-282) with interactive width (3×24), height (24×3), and L-shaped corner (7×7)ViewportHandlesin Responsive mode (786×604instead of800×619).224×227 pt,bg-base,radius = 10,30 ptrows, borderless,bar.css:337-363) and shows"Responsive"/ scale triggers with pressedsurface-pressfill while open.features/panels/src/view/strip.rs:276,plugins/browser/{init,panel,history,app}.luau,apps/browser-engine/src/favicon.rs:108-115):TAB_UIfont metrics (tracking = -0.04, tabular = true) on browser tab labels and roundstab_naturaltitle width up (ceil()) so"API Reference","Permission Test","127.0.0.1:4929", and"Workspace Preview"fit untruncated.data:image/svg+xmlinapps/browser-engine/src/favicon.rs(rasterized inside Chromium viadownload_imageinto a bounded32×32PNG data URL) and carries optionalVisit.icon/Suggestion.iconinto New-tab Recent rows and omnibox suggestions (panel.luau:425, 582)."1 of 3"(apps/browser-engine/src/find.rs,crates/browser-pane/src/find.rs):TabFindHandlerwhen CEF reports-1("unchanged") and normalizesactive = 1whentotal > 0onfinal_update, matching officialfind-bar.tsx("1 of 3"instead of"0 of 3").plugins/browser/{init,panel}.luau):"globe"tab icon and"outline-sliders"site button (removes"folder"overrides and"Workspace file"pill) and rendersfile:///intext-faintwith the file path intext-chrome(bar.css:89-105).Pixel Check
harness/reference/browser-parity.ts(browser-device-toolbar,browser-two-tabs,browser-find-bar,browser-preview-tab,browser-error-unreachable, light & dark,1x1280×800) + localapps/browser-enginebuild — exact before/after numbers will be appended as soon as the capture lands.