[PR #5398] Use null as tag color by default (fallback to theme color) and stricter tag validation #12970

Closed
opened 2026-04-10 21:43:43 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/5398

State: closed
Merged: Yes


As noted by @youngcw in the following comment: https://github.com/actualbudget/actual/pull/5387#issuecomment-3119812921

Tags used theme.noteTagDefault as default value, while not being impactful, it is not very elegant and has the same result as saving null to DB, since it would fallback the theme color anyway.

In addition, I changed isTagValid to check that the color string is valid too.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/5398 **State:** closed **Merged:** Yes --- As noted by @youngcw in the following comment: https://github.com/actualbudget/actual/pull/5387#issuecomment-3119812921 Tags used `theme.noteTagDefault` as default value, while not being impactful, it is not very elegant and has the same result as saving `null` to DB, since it would fallback the theme color anyway. In addition, I changed `isTagValid` to check that the `color` string is valid too.
GiteaMirror added the pull-request label 2026-04-10 21:43:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#12970