Give the removal confirmation the dialog the team asked for

The dialog now reads "Confirm removal" over "Are you sure you wish to remove
this message?", with the reason field marked as optional beneath it, rather
than a bare title and a labelled field. TextFieldDialog gained a supporting
text so the field can carry that note.

The pending removal moves from a nullable timeline item to redactEventAction,
an AsyncAction whose Confirming state carries the event id, so it is modelled
the same way as every other action the user has to confirm.
This commit is contained in:
hayaksi1
2026-08-27 22:21:09 +03:00
parent 1f4d8b1733
commit 74a91a7348
8 changed files with 50 additions and 33 deletions
@@ -10,4 +10,7 @@
<string name="a11y_state_collapsed">"Collapsed"</string>
<string name="a11y_active">Active</string>
<string name="a11y_inactive">Inactive</string>
<string name="common_optional">"(Optional)"</string>
<string name="screen_room_confirm_removal_title">"Confirm removal"</string>
<string name="screen_room_confirm_removal_message">"Are you sure you wish to remove this message?"</string>
</resources>