When the user taps Send and the subject or body mentions an attachment (the word "attach" or a variant: attached, attachment(s), attaching, attaches) but the message has no attachments, show a confirmation dialog:
Need to attach anything?
Your message mentions an attachment, but nothing is attached.
Yes — return to the compose screen and highlight the attach button so the user can add the file.
No — continue sending the message as-is.
Dismissing the dialog (tap outside / back) cancels the send without highlighting.
Acceptance criteria
Keyword match is case-insensitive and word-bounded ("attack" must not trigger; "Attached"/"attaching"/"ATTACHMENTS" must).
Subject-only mention triggers the prompt.
No prompt when at least one attachment is present, or when no variant appears.
"No" sends exactly the message that was composed; "Yes" sends nothing and highlights the attach button.
Covered by ComposeViewModel unit tests and a ComposeScreen E2E flow test.
## Feature
When the user taps **Send** and the subject or body mentions an attachment (the word "attach" or a variant: attached, attachment(s), attaching, attaches) but the message has **no attachments**, show a confirmation dialog:
> **Need to attach anything?**
> Your message mentions an attachment, but nothing is attached.
- **Yes** — return to the compose screen and highlight the attach button so the user can add the file.
- **No** — continue sending the message as-is.
- Dismissing the dialog (tap outside / back) cancels the send without highlighting.
## Acceptance criteria
- [ ] Keyword match is case-insensitive and word-bounded ("attack" must not trigger; "Attached"/"attaching"/"ATTACHMENTS" must).
- [ ] Subject-only mention triggers the prompt.
- [ ] No prompt when at least one attachment is present, or when no variant appears.
- [ ] "No" sends exactly the message that was composed; "Yes" sends nothing and highlights the attach button.
- [ ] Covered by ComposeViewModel unit tests and a ComposeScreen E2E flow test.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Feature
When the user taps Send and the subject or body mentions an attachment (the word "attach" or a variant: attached, attachment(s), attaching, attaches) but the message has no attachments, show a confirmation dialog:
Acceptance criteria
🤖 Generated with Claude Code