1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00
unleash.unleash/src/lib
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
..
__snapshots__ feat: implement optional json payload and template (#4752) 2023-09-19 13:08:10 +02:00
addons feat: implement optional json payload and template (#4752) 2023-09-19 13:08:10 +02:00
db feat: Persist dependent features (#4772) 2023-09-19 13:01:38 +02:00
domain/project-health
error feat: disallow description when no pattern exists (#4679) 2023-09-14 09:32:07 +02:00
features feat: Persist dependent features (#4772) 2023-09-19 13:01:38 +02:00
middleware feat: walking skeleton of private projects (#4753) 2023-09-15 15:52:54 +03:00
openapi feat: stub for create dependent features (#4769) 2023-09-19 10:04:05 +02:00
proxy
routes refactor: feature oriented architecture for feature dependencies (#4771) 2023-09-19 11:23:21 +02:00
schema Revert "chore: improve access service" (#4773) 2023-09-19 11:03:16 +01:00
segments feat: protect segment operations for change requests (#4417) 2023-08-04 12:23:19 +02:00
services feat: Persist dependent features (#4772) 2023-09-19 13:01:38 +02:00
types feat: implement optional json payload and template (#4752) 2023-09-19 13:08:10 +02:00
util feat: import service validate duplicates (#4558) 2023-08-24 10:05:21 +02:00
app.test.ts
app.ts feat: walking skeleton of private projects (#4753) 2023-09-15 15:52:54 +03:00
create-config.test.ts
create-config.ts fix: Integrations quality updates (#4677) 2023-09-14 10:17:33 +02:00
default-custom-auth-deny-all.ts
internals.ts
logger.test.ts
logger.ts
metric-events.ts
metrics.test.ts feat: Add active users statistics to metrics (#4674) 2023-09-18 15:05:17 +02:00
metrics.ts feat: Add active users statistics to metrics (#4674) 2023-09-18 15:05:17 +02:00
server-impl.test.ts
server-impl.ts feat: disable scheduler for tests (#4496) 2023-08-15 15:58:36 +02:00