1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00
unleash.unleash/src
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
..
lib feat: implement optional json payload and template (#4752) 2023-09-19 13:08:10 +02:00
mailtemplates refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
migrations feat: Persist dependent features (#4772) 2023-09-19 13:01:38 +02:00
test feat: Persist dependent features (#4772) 2023-09-19 13:01:38 +02:00
migrator.ts feat: disable verbosity from db-migrate (#3301) 2023-03-13 10:12:43 +01:00
server-dev.ts feat: implement optional json payload and template (#4752) 2023-09-19 13:08:10 +02:00
server.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00