Related user story
#40493
Task
On the Hosts page, group the existing "Custom host vitals" and "Enroll secrets" header buttons into a gear-icon dropdown with a third option, "Activity automations", which opens a modal to enable/disable a per-fleet webhook and set its destination URL. Disabled on "All fleets" and on Fleet Free (with tooltips).
Condition of satisfaction
Gear menu:
Modal:
Related user story
#40493
Task
On the Hosts page, group the existing "Custom host vitals" and "Enroll secrets" header buttons into a gear-icon dropdown with a third option, "Activity automations", which opens a modal to enable/disable a per-fleet webhook and set its destination URL. Disabled on "All fleets" and on Fleet Free (with tooltips).
Condition of satisfaction
Gear menu:
ActionsDropdown).Modal:
webhook_settings.host_activities_webhook, shows success toast, closes; server 4xx shows error toast.details.host_idand noactivity_idenvelope field.yarn testpasses with new component tests (render states: free, all-fleets, gitops, error, success).