-
Notifications
You must be signed in to change notification settings - Fork 423
Replace rc-color-picker with FluentUI's colorpicker #1005
Conversation
65c0605
to
df354c2
Compare
df354c2
to
35b40b5
Compare
35b40b5
to
eda528f
Compare
app/components/ColorPicker/index.tsx
Outdated
|
||
export enum ButtonShape { | ||
Circle, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
separate file? just use a flag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or just buttonShape?: "circle" | "default"
6427307
to
7a5e77c
Compare
329c876
to
6fddcf3
Compare
@jtbandes @defunctzombie this is ready for a look |
app/panels/Publish/index.tsx
Outdated
@@ -35,7 +37,7 @@ type Config = { | |||
datatype: string; | |||
buttonText: string; | |||
buttonTooltip: string; | |||
buttonColor: string; | |||
buttonColor: Color; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing this will not be backwards-compatible with existing saved layouts – we don't have any migration story right now but you might want to either keep this as a string, or do something like string | Color
so you can at least guard against old values
there's an issue with this around coloring unlabeled markers with the topic tree. Taking a look at that. |
424f6fd
to
319a8fe
Compare
319a8fe
to
d7b7c43
Compare
d7b7c43
to
2ce8a13
Compare
2ce8a13
to
34c9d87
Compare
1f7cd33
to
546d50c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just need to remove rc-color-picker
now :) Thanks for taking the time to do some good cleanups and add tests where appropriate.
Replace rc-color-picker with FluentUI's ColorPicker, and split "ColorPickerForTopicSettings" into a standard new ColorPicker component for common usage.
1d5aac0
to
0945837
Compare
No description provided.