Skip to content

feat(ui): a tabs slot on ListToolbar so a screen's own partition attaches to its toolbar #984

Closed

Description

@thinkclay

Finding

ListToolbar is the closest-to-comp component we have and runs on eleven list screens, but the comp's folder tabs sit immediately above the search row as one block, and the "{n} {noun}" count sits at the row's right edge aligned with the tabs' baseline. Ours renders the count as plain tertiary text, and the section strip now lives in the shell (#968), so on list screens the strip, the screen header and the toolbar stack as three separate bands.

Change

A tabs slot on ListToolbar for a screen's own partition (Recommended / Search all / Employers on the worker Jobs page, All / Open / Actioned on admin screening), rendered as the same folder tabs on the toolbar's top edge so the toolbar is the panel the tabs attach to. The shell strip keeps section navigation; the slot is for in-screen partitions that today render a detached Tabs type="folder" above the toolbar (ApplicationsList.tsx, EmployerJobsList.tsx, AssessmentsHub.tsx, CheckStatusDashboard.tsx).

Acceptance

  • The four screens above pass their partition through the slot; no free-floating folder strip remains.
  • Count right-aligned on the toolbar row with the comp's {n} {noun} template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrontendUXredesign

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions