Repository navigation
feat(inboxes): take hex label colors in labels create and update - #410
Conversation
There was a problem hiding this comment.
All reported issues were addressed
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
klotty
left a comment
There was a problem hiding this comment.
No issues found across 8 files
Auto-approved: Aligns inbox label --color with the API's hex-only #RRGGBB contract, replacing stale swatch-name choices with validation and updating docs/examples/tests; drops the removed INBOX_LABEL_COLORS import. Bounded, behavior-correcting CLI change pinned by tests.
View guided diff | Turn on auto-fix | Re-trigger cubic
klotty
left a comment
There was a problem hiding this comment.
0 issues found across 5 files (changes from recent commits).
Auto-approved: Aligns the inbox label --color flag with the API's hex-only #RRGGBB contract by replacing stale swatch choices with hex validation, updating docs/tests/examples, and bumping the resend preview dependency. Bounded, behavior-correcting CLI change pinned by tests.
View guided diff | Turn on auto-fix | Re-trigger cubic
the API only takes hex label colors now (resend/resend-monorepo#12287), but
--coloris still limited to the old swatch names through.choices(INBOX_LABEL_COLORS). the CLI rejects hex before sending anything, and the API rejects every name the CLI allows, so setting a label color from the CLI is broken.what changed
--coloronlabels createandlabels updatechecks for#RRGGBBand fails withUse a hex color like #E93D82.labels listoutput shape and the skill reference show hex, quoted (--color '#E93D82') since an unquoted#starts a shell commentINBOX_LABEL_COLORSfromresend, which feat(inboxes): type inbox label colors as hex resend-node#1144 removes.parseLabelColorcasts toInboxLabelColor, so this typechecks against today's6.32.1-preview-inboxes.5and against the hex typesrelease
bumps the CLI to
2.22.0-preview-inboxes.9and can ship on its own. theresenddep moves to6.32.1-preview-inboxes.6once resend/resend-node#1144 is published.ticket: MES-1842