Skip to content

feat: add optional colour coding for mailboxes#420

Open
nathanschram wants to merge 2 commits intokurrier-org:mainfrom
nathanschram:feature/mailbox-color-coding
Open

feat: add optional colour coding for mailboxes#420
nathanschram wants to merge 2 commits intokurrier-org:mainfrom
nathanschram:feature/mailbox-color-coding

Conversation

@nathanschram
Copy link
Copy Markdown

Closes #278

Adds optional colour coding for mailboxes - a small colour dot in the sidebar and a popover picker that appears on hover.

What this does:

  • Adds a nullable color column to the mailboxes table (+ migration)
  • New MailboxColorPicker component - 8 preset Mantine swatches, popover on hover
  • Colour dots render in both the per-identity sidebar and the unified view
  • Optional colour picker in the "new folder" form
  • Server action with auth + ownership check

Happy to adjust the palette, dot size, or approach if you'd prefer something different.

nathanschram and others added 2 commits March 13, 2026 08:07
Adds the ability to set a color on each mailbox, which renders as a
colored dot in the sidebar navigation. Includes:

- New `color` column (nullable text) on the mailboxes table
- Drizzle migration (0015_add_mailbox_color.sql)
- `updateMailboxColor` server action for changing mailbox colors
- `MailboxColorPicker` component with 8 preset color swatches
- Color dots in both `MailboxNav` and `UnifiedMailboxNav`
- Optional color selection when creating new folders

Closes kurrier-org#278
…Kind

Biome auto-fix: import type for type-only imports, alphabetical import
ordering. Replace local MailboxKind type with canonical @Schema import.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Color code Mailboxes on the dashboard

1 participant