feat(undo-log): hyperlink email rows in Undo Log Detail (#474) #547

Merged
guettlibot merged 3 commits from refs/pull/547/head into main 2026-06-10 11:15:51 +00:00
3 Commits
Author SHA1 Message Date
Bot of Thomas GüttlerandClaude Opus 4.7 54c1aa054c style(undo-log): apply dart format to email tile mapper
`dart format --set-exit-if-changed` is part of CI's check pipeline.
Collapse the now-fitting `_EmailTile` call back onto one line so it
matches the formatter output.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-09 19:48:36 +00:00
guettli 68f0a17781 Merge branch 'main' into issue-474-undo-log-email-link 2026-06-09 12:22:50 +02:00
Bot of Thomas GüttlerandClaude Opus 4.7 317cac7e0a feat(undo-log): make email rows in detail view tappable
Each row of the Undo Log Detail "Emails" section now navigates to the
corresponding email's current location. Because move/snooze change the
IMAP UID (and thus the stored Email.id), the tile resolves the email
via EmailRepository.findEmailByMessageId so the link stays valid after
the action that produced the undo entry.

When the email cannot be located (no Message-ID on the original row, or
already hard-deleted), a snackbar explains the situation instead of
navigating.

Closes #474

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-08 17:06:51 +00:00