fleet/frontend/components/forms/fields/Dropdown
Jacob Shandling 5657b2ddd1
UI – when host's scripts_enabled is null, allow running scripts with warning (#18386)
## Addresses #18382 

- Do not disable option when `scripts_enabled: null`
- Update disabled tooltip copy for 3 actions
- Generalize dropdown with tooltip component to work for disabled and
non-disabled (now unused, but was used in prototype before product
input) cases
![Screenshot 2024-04-18 at 11 52
15 AM](https://github.com/fleetdm/fleet/assets/61553566/b1a08086-d39e-47ea-af8f-57f4e391e106)
![Screenshot 2024-04-18 at 12 29
18 PM](https://github.com/fleetdm/fleet/assets/61553566/25072573-ee79-45f4-951a-af072645a7d6)

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
- [x] Confirm previously disabled options with tooltips still work as
expected with generalized dropdown option with tooltip

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-04-18 14:34:20 -07:00
..
DropdownOptionTooltipWrapper UI – when host's scripts_enabled is null, allow running scripts with warning (#18386) 2024-04-18 14:34:20 -07:00
_styles.scss Fleet UI: Make disabled dropdown tooltip a part of reusable dropdown component and implement (#18054) 2024-04-12 09:10:19 -04:00
Dropdown.jsx UI – when host's scripts_enabled is null, allow running scripts with warning (#18386) 2024-04-18 14:34:20 -07:00
Dropdown.stories.tsx Removed all traces of Redux from the app! (#5287) 2022-04-22 09:45:35 -07:00
Dropdown.tests.jsx Frontend testing documentation (#8936) 2022-12-14 13:56:56 -05:00
index.js add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00