Dashboard: Group sort-field select and sort-direction button visually #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The sort direction toggle button (↑/↓) sits to the right of the sort-field
<Select>with no visual grouping. It reads as an unrelated action rather than a paired control. Users may not realize the button changes the direction of the sort they just selected.Implementation
File:
frontend/src/pages/Dashboard.tsx, filter/sort bar around line 338.Wrap the sort-field select and the direction button in a single flex container with a border, giving the appearance of a segmented control:
Acceptance criteria
Brand identity alignment
The sort field and direction button are operational controls. They should feel like one precise dashboard control, using shadcn-compatible neutral borders and the Trackbox blue accent only for focus/active states.
Brand-compliant implementation notes
border-border/border-inputand no heavy shadow.#2563EB) or existingprimarytokens.Additional acceptance criteria
Migrated from GitHub issue #3: https://github.com/bullitt186/trackbox/issues/3
Original author: @bullitt186
Original created: 2026-06-27T13:22:25Z
Original labels: ux
Implemented in commit
bd6b0e7. Wrapped the sort-field Select and sort-direction button in a single bordered container (flex rounded-md border border-input overflow-hidden) with an inner divider between them. They now read as one segmented control, making the relationship between field and direction obvious.