Conversation
- Search input filters senders by case-insensitive substring match - Client-side pagination at 50 rows/page with prev/next and page info - Each row gets a hide button that removes the sender from the list and subtracts its count from the Total messages tile; the distinct-senders and top-sender tiles recompute from the remaining senders. Hidden senders persist in localStorage. - A "Show hidden" toggle reveals hidden rows dimmed, each with an unhide button; totals keep excluding hidden senders while they are shown. Search and pagination compose (filtering resets to page 1; the page clamps when rows disappear), and sender strings are still rendered only via textContent since they come from arbitrary From: headers. Closes #21
This was referenced Jul 22, 2026
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.
Closes #21
Summary
Front-end only (
web/— the demo inherits these once #20 merges; no server or Rust changes):Sender strings remain rendered exclusively via
textContent(attacker-controlled From: headers).Testing
webbinary with a synthetic 130-senderstats.db: page renders under the server's CSP with 50 rows and correct pager ("Page 1 of 3 · 130 senders").build_demo.pystill transforms the new assets cleanly (all anchors intact), so the Pages demo build keeps working whichever merges first.