You pick a label's colour when you create it, and can't change it afterwards. The label page only offers rename. **What to build** A colour choice on the label page, using the same swatches as the create form. **Where** - `app/routes/mail-label.tsx`: the label page, which already uses `useUpdateLabel` for rename. - `app/queries/labels.ts`: `useUpdateLabel` already accepts `color`. - `app/components/mail/MailSidebar.tsx`: `LABEL_COLORS` and the swatches of the create form. Move the list somewhere both can import it. **Done when** - The colour can be changed on the label page, by mouse and by keyboard, and the sidebar and message chips show the new colour. - Each swatch has an accessible name. - There is a test for the new behaviour. Run it locally with `npm run dev:demo` ([CONTRIBUTING.md](https://github.com/cloudmail-hq/cloudmail/blob/main/CONTRIBUTING.md)).
Activity