Ask before any bulk action, not just the folder ones

Fixkamo-internal
Ya
7 Agosti 2026, 04:07 UTC
Mwandishi
kamo
Ahadi ya
b56cd15

Emptying and deleting a folder already confirmed. Everything else that moves mail or rewrites its read state did not — it ran the moment the icon was hit. The selection bar is eight icon-only buttons side by side and the folder menu is a stack of small targets, so the wrong one is easy to catch, and once the selection clears there is nothing left to click back. Now confirmed: delete, archive, mark read, mark unread and report/not spam on the selection, plus mark all read and mark all unread on a folder. Each names how many messages it is about to touch and what becomes of them. Marking read is the one that genuinely cannot be undone: which messages were unread is not recorded anywhere, so "mark all as read" on a busy inbox is unrecoverable even in principle. Its confirmation says that rather than the usual reassurance about Trash. Starring stays immediate — it adds a flag, moves nothing and loses no state. Move and Label stay immediate too, since both open a picker that is already a deliberate second step. The nested ternaries driving the folder dialog became a descriptor per action, which is what made room for four cases instead of two. A test pins which handlers must raise a confirmation; it fails if one goes back to calling batchApi directly.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei