Migrate webhook resend request button
What does this MR do and why?
Completes community contribution !125816 (closed) that has been idle
Migrate button_tag and link_to buttons
When the request data is too large, the button is disabled. Disabled button was unable to show the tooltip. I've moved the tooltip to a wrapping div element.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- EE licence required
- Go to Any Group > Settings > Webhooks
- Add new webhook, for example url: https://example.com
- Add some test events using the
Test
dropdown - Edit this webhook
- Scroll to recent events table at the bottom
- View details
- Remove this webhook just in case
I was unable to mock a oversize request, so I tested by commenting out code. I think this is low risk as the button does not actually submit anything
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #416065 (closed)