Repository navigation
explorer 2026.11.24.1
·
3 commits
to main
since this release
web: give the Outbox the inbox's View, Search and Fuzzy Search (#88)
Why
The Outbox (#87) was a single filter form behind a small top-right
button, easy to miss and unlike the inbox. Both mailboxes now share one
layout: an Inbox | Outbox switch at the top, and the same three mode
cards under it.
What
- Mailbox switch: Flag's line tabs (
.tabs/.tab) as page links
witharia-current="page"(not an ARIA tablist, since each is its own
URL). Shown on the inbox only when the Outbox is on. Replaces the
top-bar Outbox / Inbox buttons. - Outbox modes (
/outbox?mode=view|exact|fuzzy): - View: one day, newest first, listed on opening (a day of records is
small). - Search: the existing recipient / subject / sent-by filters over a date
range. - Fuzzy Search: keywords over Subject and Recipients (to, cc, bcc), plus
Body when checked, capped atMaxBodySearchDays. Scored like the inbox
(3 / 2 / 1, +1), best first, ties newest first. A message is read only
when its record cannot decide the match, and only its own text parts
count (allBodies), never an attached email's. archive.Outbox: a sharedload()forSearchand the new
SearchFuzzy;body()reads only the record's sibling.eml.- The
checktemplate moves tobase.html;docs/API.mddescribes the
modes. search_outbox(API/MCP) is unchanged.
Checks
go test -race ./...(UTC), plus the Outbox tests under UTC,
Asia/Tokyo, America/New_York and Pacific/Kiritimati.- golangci-lint: 0 issues; gofmt and vet clean;
make test-jsandmake stack-checkpass. - Rendered locally against a fake store: the tabs, the cards, the View
day list and Fuzzy results. - Codex (local) review: one P2 (body text taken from an attached email)
and two P3s (a timezone-dependent test, the day button's label). All
three are fixed, with tests.
What's Changed
Full Changelog: v2026.11.23.1...v2026.11.24.1