Repository navigation
Conversation
Dandiccf
force-pushed
the
feat/send-safeguards
branch
from
October 15, 2026 10:33
8c70d5e to
d38350d
Compare
…b#434) Send holds a message in the Outbox for five seconds by default, with Undo on a toast that brings it back into the composer. A message that mentions an attachment but carries none asks before it goes. Both are set under Settings, Composing.
Dandiccf
force-pushed
the
feat/send-safeguards
branch
from
October 15, 2026 11:03
d38350d to
c6e9acd
Compare
Contributor
Author
|
Withdrawing this pull request; I won't pursue it here. Thank you for your time. |
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.
Summary
Two safeguards for the moment a message leaves. (The Reply All fix for #448 that was here is in main now as 381259c, thank you.)
Undo Send (#434, its first two points). Send now holds a message in the Outbox for a few seconds, with Undo on a toast at the bottom of the window. Undo brings it back into a composer, unsent; sending it again starts a new wait. Settings → Composing → Undo send offers Off, 5 (default), 10, 20 or 30 seconds.
send_atplus the Outbox), so it works the same for IMAP/SMTP, JMAP and Microsoft 365, and a message whose wait is cut short by quitting goes the next time Hylki starts.OutgoingMessage::undo_send), since the toast says it already.adw::ToastOverlay) wraps the window content at the end ofinit, after the drop zones have found their overlay.Forgotten-attachment reminder. A message whose own text (not the quote, not the signature) mentions an attachment but carries no file and no cloud link asks "Send without an attachment?" with Attach Files… and Send Anyway; Escape returns to the message. The words are word starts ("attach", "enclos"), extended per language by a translatable list (
attachment words|…), so German finds "Anhang", "anbei", "beigefügt" and so on. Settings → Composing → Remind me of forgotten attachments turns it off.Docs (DOCUMENTATION, FEATURES, CHANGELOG), the template and German translations are updated.
Testing
cargo test: 789 passed (rebased on 0848ff3), including new tests for attachment-word matching and own-text extraction.tools/check-docs.pypasses.This PR was prepared with AI assistance (Claude Code) and reviewed by me.
🤖 Generated with Claude Code