1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/frontend/src/component/integrations
David Leek bff1bd1026
feat: implement optional json payload and template (#4752)
## About the changes

Adds optional support for specifying JSON templates for datadog message
payload


![image](https://github.com/Unleash/unleash/assets/707867/eb7c838a-7abf-441e-972e-ddd7ada07efa)


### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->

`frontend/src/component/integrations/IntegrationForm/IntegrationParameters/IntegrationParameter/IntegrationParameterEnableWithDropdown.tsx`
- a new component comprising of a text field and a dropdown menu
`src/lib/addons/datadog.ts` - Where the integration is taking place

## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

- Should I have implemented the new component type as a specifiable
addon parameter type in definitions? Felt a bit YAGNI/Premature
- Would like input on naming and the new component etc
2023-09-19 13:08:10 +02:00
..
AddonRedirect
CreateIntegration Integration card component (#4557) 2023-09-05 12:14:03 +00:00
EditIntegration Integration card component (#4557) 2023-09-05 12:14:03 +00:00
IntegrationForm feat: implement optional json payload and template (#4752) 2023-09-19 13:08:10 +02:00
IntegrationHowToSection fix: misc integration-related fixes and improvements (#4754) 2023-09-15 14:50:59 +01:00
IntegrationList fix: misc integration-related fixes and improvements (#4754) 2023-09-15 14:50:59 +01:00
ViewIntegration fix: integrations UI (#4670) 2023-09-12 15:45:51 +03:00