estuary / ui

A web based UI to assist in working with Estuary Flow
https://dashboard.estuary.dev/
Other
12 stars 1 forks source link

Update UX of binding selector disable/enable mass action #1130

Closed kiahna-tucker closed 5 months ago

kiahna-tucker commented 5 months ago

Issues

The issues directly below are advanced by this PR: https://github.com/estuary/ui/issues/972 https://github.com/estuary/ui/issues/744

Changes

972

The following features are included in this PR:

Tests

Manually tested

Approaches to testing are as follows:

NOTE: Testing was largely performed in materialization workflows.

Automated tests

N/A

Screenshots

Disable button

pr_screenshot-1130-binding_mass_action-disable_label



Disable menu

pr_screenshot-1130-binding_mass_action-disable_menu



Enable button

pr_screenshot-1130-binding_mass_action-enable_label



Enable menu

pr_screenshot-1130-binding_mass_action-enable_menu



kiahna-tucker commented 5 months ago

The set of enable options (i.e., enable all or enable page) can be shown when at least one binding is disabled; or the set of disable options can be shown when at least one binding is enabled. What is your preferred UX, @dyaffe?

kiahna-tucker commented 5 months ago

Can you look into trying to get this working with keyboard?

The menu is partially accessible. The radio button group and actions buttons can be accessed separately but tabbing out of either one will call the onClose Menu property. Unfortunately, this property is improperly typed so there is not a way to override this behavior. Looking to see if there is an issue open for this problem.