Skip to content

fix(browser): consistent form controls in tool panels #56

Closed

Description

@trmosala

What to build

Form controls across the browser tool panels look like one native family. This covers find, device, clear, settings, site information, library, contacts and transfers. Text inputs, selects and textareas share one height, radius, border, background and focus ring that match the native text field. Native select elements stay in place for now; swapping them for the shared popover select is tracked separately.

Acceptance criteria

  • Text inputs, selects and textareas in every tool panel share one control height and the native control radius.
  • Every control border uses a theme token. No control uses the default border colour, including in library and contacts.
  • Control background and focus ring match the native text field.
  • Native select elements remain, but their height, border and radius match the other controls.
  • Checkboxes keep their behaviour and use one consistent size.
  • Forms submit and validate as before.
  • The classic-layout appearance is unchanged outside the form controls.
  • LTR and RTL both render correctly.
  • Scoped lint passes. Package typecheck passes where dependencies are installed.
  • Before/after screenshots are attached for each layout touched.

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
    bugSomething isn't working
    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.

    Browser form controls use consistent native height, radius, borders, backgrounds, focus and checkbox sizing. Existing validation and form handlers are preserved.

    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: import, classic, light, ltr

    After

    After: import, classic, light, ltr

    classic, dark, rtl

    Before

    Before: import, classic, dark, rtl

    After

    After: import, classic, dark, rtl

    new, light, ltr

    Before

    Before: import, new, light, ltr

    After

    After: import, new, light, ltr

    new, dark, rtl

    Before

    Before: import, new, dark, rtl

    After

    After: import, 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

    bugSomething isn't workingready-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