Improves task node color palette derivation and picker UX#2148
Merged
Improves task node color palette derivation and picker UX#2148
Conversation
Collaborator
Author
8 tasks
🎩 PreviewA preview build has been created at: |
8 tasks
333e5e5 to
45fd6a2
Compare
8 tasks
45fd6a2 to
bff8d22
Compare
camielvs
reviewed
Apr 27, 2026
camielvs
reviewed
Apr 27, 2026
camielvs
reviewed
Apr 27, 2026
camielvs
reviewed
Apr 27, 2026
camielvs
reviewed
Apr 27, 2026
Collaborator
camielvs
left a comment
There was a problem hiding this comment.
I'd like to see some comparisons between the current opacity-based system and this new palette-based system
Collaborator
|
There's also no visual on-node feedback to indicate that a task is selected. Previously we added a darker border. In this PR the border is always dark and does not change when selected. |
3a004fc to
eeb299c
Compare
3b1a268 to
267d2e8
Compare
Collaborator
Author
267d2e8 to
cb3919d
Compare
967f27f to
059ab3e
Compare
cb3919d to
17127e6
Compare
059ab3e to
e1193f4
Compare
17127e6 to
bb3b4a1
Compare
bb3b4a1 to
551e84c
Compare
camielvs
reviewed
Apr 29, 2026
camielvs
reviewed
Apr 29, 2026
camielvs
reviewed
Apr 29, 2026
551e84c to
72635d4
Compare
camielvs
reviewed
Apr 30, 2026
| <Input | ||
| value={ | ||
| localColor === "transparent" | ||
| ? "" |
Collaborator
camielvs
approved these changes
Apr 30, 2026
Collaborator
camielvs
left a comment
There was a problem hiding this comment.
lgtm. but suggest having the color input # always visible given transparent now renders as blank.
Collaborator
Author
72635d4 to
9dc4045
Compare
This was referenced May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Introduces a
deriveColorPaletteutility that computes a cohesive set of colors (background, border, section background, and WCAG-appropriate text) from a single base hex color. This replaces the previous approach of using the raw selected color directly as the card background, and instead applies the derived palette across the task node card, collapsed node, and task details panel for a more polished and accessible appearance.The color picker in the task details header is replaced with a custom circular trigger button that previews the derived palette (background, border, and pencil icon color), and the color picker input field now strips and re-adds the
#prefix so users type only the hex digits. TherenderTriggerprop was added toColorPickerto support this custom trigger pattern.The task color picker has also been moved out of the collapsible configuration section and into the task name header row, making it more immediately accessible.
Related Issue and Pull requests
Resolves #2119
Resolves #2120
Type of Change
Checklist
Screenshots (if applicable)
Test Instructions
#and applies correctly.Additional Comments
The
deriveColorPalettefunction performs HSL-space transformations: the border is darkened and slightly more saturated, while the section background is desaturated and lightened toward white. These values were chosen to produce visually consistent results across the full range of preset colors.