Skip to content

feat(redesign): ListToolbar on the worker-side list screens, one search-row grammar #815

Closed

Description

@thinkclay

Part of the redesign roadmap (#622). Sprint 1. Gap Analysis: "The search row has three grammars", "View toggles wander".

Today

ListToolbar (search · Filters & sort flyout with activeFilterCount · removable chips · resultCount right) has one caller, office-applications-screen.tsx:215. The worker side still runs the older idiom:

  • features/discover/discover-jobs-screen.tsx:154 — SortDropdown beside a PageHeader
  • features/discover/discover-map-screen.tsx:675 — MapFilterBar, which wraps its own PageHeader (MapFilterBar.tsx:120)
  • features/discover/discover-workers-screen.tsx, discover-employers-screen.tsx — their own search + filter composition (FilterPopup.tsx)
  • features/communities/CommunitiesHubPage.tsx:81 — SortDropdown
  • /jobs/saved, /jobs/applications — no toolbar

Change

One row on every list screen: search · Filters & sort (· n when filters are active) · result count at the right, one count template {n} {noun}. View toggles (List / Cards / Map) sit inline in the same row as a SegmentedControl, never on their own line. Sort lives inside the flyout.

Migrate: discover jobs, discover workers (Find talent), discover employers, the map screen, communities hub, saved jobs, my applications. Delete MapFilterBar and SortDropdown; fold FilterPopup into the flyout content.

Acceptance

  • grep -rE "<(MapFilterBar|SortDropdown)\b" packages returns nothing
  • The seven screens above render ListToolbar; the active-filter count appears on all of them when a filter is set
  • Result count reads {n} {noun} everywhere (no "· 14", no "3 matches" below the bar)
  • 390 px: the row wraps to search on one line and the rest on the next, chips scroll horizontally (already handled by the component; verify with the smoke capture)

Activity

  1. added
    agent-ready
    redesign
    on Sep 17, 2026
  2. thinkclay commented on Sep 21, 2026

    @thinkclay
    ContributorAuthor

    Scope correction (2026-09-21): PageHeader belongs to this issue, not #814. It is not a title header — packages/scf-core/components/PageHeader.tsx renders breadcrumbs, actions, a search input, filter pills, a result count and a reset control, which is exactly ListToolbar's job. Its five callers (discover-jobs-screen.tsx:145, discover-employers-screen.tsx:149, discover-workers-screen.tsx:136, discover/components/MapFilterBar.tsx:120, communities/CommunitiesHubPage.tsx:71) migrate here, and PageHeader is deleted here once they do.

    Also worth folding in: SaaSSectionHeader in packages/ui has zero callers in the app and can be deleted in the same pointer bump.

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

    FrontendUXagent-readyredesign

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions