message_edit: Ask users to delete attachments after editing.

currently, after a user edits a message and removes an reference to the
uploaded file, the uploaded file stays on the storage taking up space.
We want to ask the user to possibly delete the removed attachments if
they are no longer needed. These changes applies a modal that will appear
prompting the user to delete the attachments.

Fixes: #25525.

Co-authored-by: brijsiyag
Co-authored-by: wandrew0
This commit is contained in:
joseph
2024-07-30 02:41:03 +00:00
committed by Tim Abbott
parent 5133f34a05
commit 5d3edf06c8
5 changed files with 92 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ EXEMPT_FILES = make_set(
"web/src/alert_words_ui.ts",
"web/src/archive.js",
"web/src/assets.d.ts",
"web/src/attachments.ts",
"web/src/attachments_ui.ts",
"web/src/audible_notifications.ts",
"web/src/avatar.ts",