mirror of
https://github.com/suitenumerique/messages.git
synced 2026-09-26 11:44:55 +02:00
The backend already scopes the starred flag per mailbox via ThreadAccess.starred_at. This commit exposes the feature in the frontend: a useStarred hook, a toggle button in the thread action bar, a starred badge in thread items, an important icon in the thread view subject, and a search filter checkbox for starred threads (is:starred / est:important). Also fixes the undo toast in use-flag to propagate mailboxId so that mailbox-scoped flags (unread, starred) can be properly undone.
338 KiB
338 KiB