Connection status in a combobox #3864
-
Hey team! Do we have a preferred pattern for showing connection status in a combobox? Scenario: A user connected their GitHub account while going through the dbt connection process. Now they want to set up Git Sync using the same GitHub credentials. It would be nice to show them in the combobox that this connection has already been made, and they won’t have to reenter their credentials: Thank you!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @ceyerkes ! That's definitely the preferred style to add extra information to a combobox option. In this case, though, if you don't feel like it's super easily scannable, you could consider adding an icon in front of the word "Connected". Or adding some sort of indicator (icon, badge, etc) to the right side of the option. The layout of the combobox option is pretty flexible. You can see an example here: https://paste.twilio.design/components/combobox#combobox-using-option-template |
Beta Was this translation helpful? Give feedback.
Hey @ceyerkes ! That's definitely the preferred style to add extra information to a combobox option. In this case, though, if you don't feel like it's super easily scannable, you could consider adding an icon in front of the word "Connected". Or adding some sort of indicator (icon, badge, etc) to the right side of the option.
The layout of the combobox option is pretty flexible. You can see an example here: https://paste.twilio.design/components/combobox#combobox-using-option-template