Skip to content

design(search): render results as a dense ruled list, not floating cards - #222

Merged
johnpc merged 1 commit into
mainfrom
design/search-dense-list
Aug 3, 2026
Merged

design(search): render results as a dense ruled list, not floating cards#222
johnpc merged 1 commit into
mainfrom
design/search-dense-list

Conversation

@johnpc

@johnpc johnpc commented Aug 3, 2026

Copy link
Copy Markdown
Owner

What

Search results rendered each hit as a full-width floating board card (border + drop-shadow + radius, title stacked above its meta line, padding: 14px, gap: 8px). In a single-column result list that meant tall rows with content clustered on the left and a large empty right region on desktop, and airy, low-density rows on mobile — each result eating ~180px for a title + one chip.

Search was the last core task-list surface still using floating cards after My Tasks (#220), the Calendar agenda (#221), and the List view (#109) were made dense. This brings it in line, scoped to .search__hit:

  • Strip the card's border / box-shadow / border-radius / surface fill; give each row a single border-bottom hairline (--tf-border) + a --tf-surface-2 hover highlight, and zero the .search__results gap so the dividers butt into one continuous ruled list.
  • Lay the row out horizontally — title on the left (ellipsized), meta cluster (project chip / due label / assignee avatar) aligned to the trailing edge — matching the My Tasks / Calendar / Search-consistent row rhythm. The title truncates so a long name never pushes the meta off-row.

Token/CSS-only; no markup, logic, or schema change (the DOM is unchanged, so the existing SearchHit tests are unaffected).

Before / After

Desktop — results read as a scannable list; no empty right region.

Before After

Mobile

Before After

This completes the dense-ruled-row treatment across every core task-list surface (List, My Tasks, Calendar agenda, Search).

@johnpc
johnpc merged commit 84ee3ba into main Aug 3, 2026
78 checks passed
@johnpc
johnpc deleted the design/search-dense-list branch August 3, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant