Introduce ColorSelector component with basic layout/styling.
Note: The actual functionality will be introduced in subsequent diffs.
Depends on D3660
Differential D3662
[web] Introduce `ColorSelector` component with basic styling atul on Apr 7 2022, 3:43 PM. Authored by Tags None Referenced Files
Subscribers
Details Introduce ColorSelector component with basic layout/styling. Note: The actual functionality will be introduced in subsequent diffs. Depends on D3660 Looks as expected:
Diff Detail
Event Timeline
Comment Actions The feedback about pulling the colors from thread-utils and using flex-wrap for the layout makes sense! I was going to include some of those changes in this diff, but it got kind of large. I'll address those two points in subsequent diffs. This diff was mostly just to get the design/layout right Comment Actions Ok, that makes sense. Do you plan to create these diffs soon or are you going to create tasks for them? Comment Actions
Yeah it's what I'm currently working on. I don't want to clutter up Linear with a new task, but I can add a note to the existing ThreadSettingsModal one. Pulled colors from thread-utils in a local commit and everything worked without issue. Little less confident on using flex-wrap and/or if it's necessary at this point when we have a fixed number of colors? I think it would be nice to have a ColorSelector component that "scales" to future needs, but also I don't want to spend too much time trying to figure out that "correct" approach. If it's quick, then I'll definitely make the change... but don't want to spend hours on something that would make no difference to the user in the immediate/medium term.
|