Slightly better than it was before where we were hardcoding these values twice. Will create the ColorSelectorButton components in a for loop instead of copy/pasting 10 times in subsequent diff.
Depends on D3701
Paths
| Differential D3702 Authored by atul on Apr 11 2022, 12:44 PM.
Tags None Referenced Files
Subscribers
Details Summary Slightly better than it was before where we were hardcoding these values twice. Will create the ColorSelectorButton components in a for loop instead of copy/pasting 10 times in subsequent diff. Depends on D3701 Test Plan Continues to work as before, colors show up correctly:
Diff Detail
Event TimelineHerald added subscribers: • abosh, • benschac, • karol and 2 others. · View Herald TranscriptApr 11 2022, 12:44 PM2022-04-11 12:44:34 (UTC-7) atul edited the test plan for this revision. (Show Details)Apr 11 2022, 12:44 PM2022-04-11 12:44:47 (UTC-7) Harbormaster completed remote builds in B8092: Diff 11317.Apr 11 2022, 12:51 PM2022-04-11 12:51:20 (UTC-7) atul edited the summary of this revision. (Show Details)Apr 11 2022, 2:59 PM2022-04-11 14:59:13 (UTC-7) atul added a child revision: D3703: [web] Use `flex-wrap` to lay out `ColorSelectorButton`s in `ColorSelector`. tomek added inline comments.
This revision is now accepted and ready to land.Apr 12 2022, 3:38 AM2022-04-12 03:38:02 (UTC-7)
atul added inline comments.
Harbormaster completed remote builds in B8132: Diff 11365.Apr 12 2022, 11:46 AM2022-04-12 11:46:29 (UTC-7) Closed by commit rCOMM97fa0a4fb3d6: [web] Pull colors in `ColorSelector` from `selectedThreadColors` (authored by atul). · Explain WhyApr 12 2022, 11:47 AM2022-04-12 11:47:35 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 11366 lib/shared/thread-utils.js
web/modals/threads/color-selector.react.js
|