Add compact list view toggle to email search results - #415
Open
sanxiago wants to merge 4 commits into
Open
Conversation
Search results currently render as detailed cards with highlighted body/attachment match snippets, which gets noisy when a query returns many hits. Add a "List view" toggle that shows just the basic headers (subject, from, to, date) in a compact table, alongside the existing detailed card view. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Confirmed working against a real local instance; list is the more useful default when scanning many hits. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
sanxiago
marked this pull request as ready for review
July 20, 2026 03:35
Author
|
recheck |
Add a "Columns" dropdown (list view only) to toggle Subject/From/To/Date independently, favoring a simple client-only preference over a synced backend one since this is just a display setting. Persisted to localStorage; at least one column stays visible so the table can't go empty. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Only Subject/From/To/Date were available to toggle; add Cc and Mailbox (the archived inbox, useful when an archive spans multiple accounts) as further opt-in columns, unchecked by default so the out-of-the-box view is unchanged. Also drop empty-string entries before joining To/Cc for display, since some indexed emails have group-placeholder recipients (e.g. "undisclosed-recipients:;") that map to an empty address rather than being omitted. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
Test plan
pnpm run checkinpackages/frontend— no new type errors (one pre-existing, unrelated error remains ondashboard/settings/system)pnpm run buildinpackages/frontend— production build succeeds, search page bundle compiles🤖 Generated with Claude Code