influxdata / ui

UI for InfluxDB
94 stars 42 forks source link

Clockface: Update the type ahead dropdown component to allow for custom color selection #3680

Closed juliajames12 closed 2 years ago

juliajames12 commented 2 years ago

We would like to update the Type Ahead Dropdown component so it can handle custom color selection. We'll be using it for selecting colors for Slack alerts and potentially elsewhere in the app.

This updated component should do the following:

Prepopulated colors:

Design Figma

Color Selector Dropdown (3)
jzahnd commented 2 years ago

@appletreeisyellow is going to reach out to Dumplings for some help getting up to speed on this.

appletreeisyellow commented 2 years ago

Seems like we are using Color Picker instead of Type Ahead Dropdown for color selection specifically in issue #2572. Are we planning to modify the clockface component Color Picker or Type Ahead Dropdown to support custom color selection?

juliajames12 commented 2 years ago

@appletreeisyellow I believe we'd need to modify the Type Ahead Dropdown component to support custom color selection.

appletreeisyellow commented 2 years ago

After a review with @hoorayimhelping last week on the current "Type Ahead Dropdown" component, we think it will introduce complex usage to this component if we modify on it, so I created a new component in clockface called "Creatable Type Dropdown" in the above PR