Repository navigation
feat(replies): a Replies page to draft, edit and copy email replies - #604
Merged
Merged
Conversation
The email that waits for an answer, in the nav while any does: Enter drafts the first one's reply, a draft shows with To, Cc, Subject, its sources and what's left to confirm, and Open in your mail app or Copy takes it without citations. Ctrl+Enter saves an edit with Undo; Set aside offers Undo. An email's More actions menu links to it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xa7Hz2SLg6sNrGksMEzBaz
21 of 23 tasks
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.
Requested by Adeel · project thread
Description
Before: email replies (#565) could be drafted only through the API, MCP or a pipeline step. The web app had no place to see them.
After: a Replies page lists the email that waits for an answer, and it shows in the menu (with a count) only while some email waits. The first card's instructions field has focus, and Enter drafts its reply. A draft shows its text, its sources (each
[n]linked to the excerpt) and what's left to confirm. Edits save with Ctrl+Enter, with Undo. Open in your mail app (mailto) or Copy takes the reply without its citations. Set aside hides the email and offers Undo, with no confirm dialog. An email's More actions menu has Reply to this email…, which opens the page on that email.How:
components/replies/(model, hooks, page) on the generatedRepliesclient. The page polls only while a draft is being written. The nav item uses the existingwhileCountedpattern.Motivation and Context
The second step of the email responder, the flagship app on Lens. Sending after the person's yes comes next, in its own PR.
Types of changes
!in the title)Checklist:
make hookschecks it on commit).docs/accordingly.changelog.d/replies-page.md.Done questions (AGENTS.md)
__tests__/replies-page.test.tsx(10 tests),docs/email-replies.md"The Replies page", requirements rows.whileCountedpattern, and the existing UI components.Local checks: tsc, eslint, prettier, the jest suite for the page,
ci/check_requirements.py, andmkdocs build --strict.Generated by Claude Code