Skip to content

feat(mail): Gmail-style inbox tabs and reliable everyday workflows - #3

Merged
KnowSky404 merged 4 commits into
mainfrom
feat/gmail-mail-workflows
Oct 8, 2026
Merged

KnowSky404 merged 4 commits into
mainfrom
feat/gmail-mail-workflows

Conversation

@KnowSky404

@KnowSky404 KnowSky404 commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Gmail-style full-width mail list, click-to-read/back navigation, optional persistent split reading pane
  • Horizontal inbox tabs: All, Primary, Promotions, Social, Updates, Forums
  • Conservative local sender/subject classification, manual category override/reset, server-side counts and pagination, scoped bulk actions
  • Direct draft editing, row read/star/archive/trash actions, undo/restore, and preserved multi-domain sender identities
  • Fix compose keyboard-send/recipient-suggestion races, duplicate sends, attachment-preparation text loss, and unsafe upload exits/cancellation
  • Fix shallow URL/history synchronization, older-message deep links, stale selection responses, pagination flag rollback, and trashed rows lingering in archive/Starred/label caches
  • Patch Undici 7.29.0 → 7.29.1 for two high-severity advisories

Final verification

Final head: 7611bd877bb91f63c7ad9470b72d3e5280c9c05a

CI run #52: all checks passed

  • 587 unit/integration tests passed; typecheck: 0 errors, 0 warnings
  • Frozen install, high-severity dependency audit, isolated local D1 migrations, search-index verification, type generation, Cloudflare build, deployment dry-run, release preflight passed
  • 225 browser/a11y cases passed, 86 intentional viewport/suite skips, 0 failures or flakes
    • Chromium: 72 desktop, 55 mobile, 43 narrow
    • WebKit: 13 desktop, 12 iPhone, 10 iPad; Firefox: 14
    • Additional a11y checks: 4 mobile, 2 narrow
  • Browser coverage includes category keyboard navigation, filtering/history/pagination, manual categories, sender identity preservation, draft editing and navigation races, attachment interruption, archive → trash → undo, and HTML isolation
  • Real CI screenshots inspected at desktop/mobile/narrow sizes. The final desktop inbox image matches the reviewed attachment byte-for-byte; mobile screenshots came from the prior identical-layout run, and mobile assertions passed again on the final SHA

Browser evidence was produced by GitHub Actions using isolated synthetic fixtures. Local browser execution was unavailable in the cloud executor; no local browser pass is claimed.

Database and rollout

Apply migrations/0028_inbox_categories.sql through the existing release process before deploying (schema 28). Existing message content and mailbox identities are preserved.

No production migration, deployment, or real email was performed. Production provider delivery still needs the normal post-deployment verification.

Remaining dependency note

One pre-existing low-severity cookie@0.6.0 advisory (GHSA-pxg6-pf52-xh8x) remains outside the high-severity gate. No audit suppression was added.

Kept as a draft for owner review; not merged or deployed.

Add scoped inbox categories, manual overrides, full-width list and optional reading pane. Improve draft editing and list actions; protect compose send/attachment races, deep links, stale selection and pagination flags.

Includes schema migration 0028 and expanded regression coverage. Local tests: 586 passed; typecheck and Cloudflare build passed. Hosted browser verification pending.
Track the visible shallow URL explicitly for category/history synchronization, open detached deep-link readers, and ignore stale draft opens. Correct same-origin test teardown and precise selectors; preserve explicit split-mode legacy coverage alongside default-list tests. Update undici to security patch 7.29.1.

Local verification: 586 tests pass; typecheck/build/high-severity audit pass. Real browser rerun follows.
Keep split-mode test preferences in the top-level document, preserve HTML iframe sandboxing and console assertions, scope delivered status to its visible timeline, and make label summary assertions resilient to serial retries. Application source unchanged.
Purge archive, Starred and label caches when a persisted inbox message is trashed; reconcile matching result counts and cross-folder selection. Add unit coverage and archive→trash→undo→inbox browser regression.

Final scope consolidation. Local validation: 587 tests pass, typecheck and Cloudflare build pass.
@KnowSky404
KnowSky404 marked this pull request as ready for review October 8, 2026 01:14
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T01:17:48.421223Z 7611bd8 Draft marked ready
🔒 Security Review ✅ Completed 2026-10-08T01:18:54.423891Z 7611bd8 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@KnowSky404
KnowSky404 merged commit 34c03aa into main Oct 8, 2026
2 checks passed
@KnowSky404
KnowSky404 deleted the feat/gmail-mail-workflows branch October 8, 2026 01:14
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