RSNewWebUI/webui-src/app/mail
jolavillette 2501adcae7 webui v155: marking a mail read must not take it out of the trash
markReadLocally() clears the whole 0xf0 nibble, but RS_MSG_TRASH is 0x20 and
lives inside it (rsmail.h). Opening a message from the Trash therefore cleared
its trash flag as well, and the row showed as an ordinary read mail until the
next load. Only the two unread bits are cleared now.

The badge itself is read from the navigation view, so unreadCount() ran a full
pass over the inbox on every redraw -- once for the rail and twice more for the
bottom bar, which asks for the value twice per item. The count is kept instead,
recomputed when the inbox changes: after a load, and after a message is marked
read.
2026-08-27 13:31:04 +02:00
..
mail_attachment.js Improved mails page 2026-07-09 15:47:12 +02:00
mail_compose.js Added tooltips feature for mail composer 2026-08-12 19:11:33 +02:00
mail_draftbox.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30
mail_identity_tooltip.js Added tooltips feature for mail composer 2026-08-12 19:11:33 +02:00
mail_important.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30
mail_inbox.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30
mail_later.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30
mail_outbox.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30
mail_personal.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30
mail_resolver.js webui v155: marking a mail read must not take it out of the trash 2026-08-27 13:31:04 +02:00
mail_sentbox.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30
mail_spam.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30
mail_starred.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30
mail_system.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30
mail_todo.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30
mail_trashbox.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30
mail_util.js Fixed to use counters badges only for new chats 2026-08-27 13:06:22 +02:00
mail_work.js fix: fixed mail section layout and mail view layout, made ui usable 2023-06-20 23:08:56 +05:30