Skip to content

feat(browser): match the new-layout surface below the tab strip #49

Closed

Description

@trmosala

What to build

When the new layout is enabled, everything in the browser panel below the tab strip uses the same v2 surface and border tokens as the native review and terminal panels. This covers the toolbar, address suggestions, landing page, tool panels and downloads footer. Today the area under the strip stays on the classic background, which leaves a visible colour seam at the strip's bottom edge. The classic layout keeps its current look.

Acceptance criteria

  • With the new layout on, the toolbar, suggestions, landing page, tool panels and downloads footer share the native v2 base background, with no seam at the tab strip's bottom edge.
  • Toolbar and section dividers use the same v2 border token as native new-layout panels.
  • Elements that set their own background, such as the suggestion highlight, get new-layout values instead of falling back to classic tokens.
  • With the new layout off, the panel looks identical to before.
  • Verified in light and dark themes.
  • LTR and RTL both render correctly.
  • Scoped lint passes. Package typecheck passes where dependencies are installed.
  • Before/after screenshots are attached for both layouts.

Blocked by

None - can start immediately.

Context

Source: browser panel native-styling audit, 2 October 2026. Coordinate with ongoing browser changes in #37–#48. Operation, busy, error and recovery states belong to #43 and are out of scope. Another agent owns the tab-strip alignment; do not restyle the strip in this slice.

Activity

  1. added
    enhancementNew feature or request
    ready-for-agentScoped work with acceptance criteria and recorded blockers
    on Oct 2, 2026
  2. trmosala commented on Oct 2, 2026

    @trmosala
    OwnerAuthor

    Closing at the user's request after implementation and review.

    Native v2 surfaces and borders now cover the area below the tab strip. Classic surface-only comparison is preserved separately.

    Validation: 18 tests pass with 514 assertions; app package typecheck passes; scoped lint reports 0 errors and 25 warnings; formatting and diff checks pass. Mounted Chromium fixtures cover both layouts, light/dark themes and LTR/RTL. They do not verify native Electron corners.

    Implementation remains uncommitted in the isolated browser-gaps worktree. Closure records completion of the local implementation, not a merge or release.

    Full screenshot and validation archive

    classic, light, ltr

    Before

    Before: landing, classic, light, ltr

    After

    After: landing, classic, light, ltr

    classic, dark, rtl

    Before

    Before: landing, classic, dark, rtl

    After

    After: landing, classic, dark, rtl

    new, light, ltr

    Before

    Before: landing, new, light, ltr

    After

    After: landing, new, light, ltr

    new, dark, rtl

    Before

    Before: landing, new, dark, rtl

    After

    After: landing, new, dark, rtl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestready-for-agentScoped work with acceptance criteria and recorded blockers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions