design(search): render results as a dense ruled list, not floating cards - #222
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:border/box-shadow/border-radius/ surface fill; give each row a singleborder-bottomhairline (--tf-border) + a--tf-surface-2hover highlight, and zero the.search__resultsgap so the dividers butt into one continuous ruled list.Token/CSS-only; no markup, logic, or schema change (the DOM is unchanged, so the existing
SearchHittests are unaffected).Before / After
Desktop — results read as a scannable list; no empty right region.
Mobile
This completes the dense-ruled-row treatment across every core task-list surface (List, My Tasks, Calendar agenda, Search).