From 6ffab254f295d4a937fe0afccdd491e03466cd2a Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Tue, 13 Feb 2024 00:33:32 +0530 Subject: [PATCH 1/3] fix: add support of placing properties at root in af --- src/configurations/destinations/af/db-config.json | 1 + src/configurations/destinations/af/schema.json | 4 ++++ src/configurations/destinations/af/ui-config.json | 6 ++++++ 3 files changed, 11 insertions(+) diff --git a/src/configurations/destinations/af/db-config.json b/src/configurations/destinations/af/db-config.json index 8899d8812..47ff3dff6 100644 --- a/src/configurations/destinations/af/db-config.json +++ b/src/configurations/destinations/af/db-config.json @@ -52,6 +52,7 @@ "devKey", "sharingFilter", "useRichEventName", + "placePropertiesAtRoot", "androidAppId", "appleAppId", "blacklistedEvents", diff --git a/src/configurations/destinations/af/schema.json b/src/configurations/destinations/af/schema.json index 9109c1dbe..5b0171de0 100644 --- a/src/configurations/destinations/af/schema.json +++ b/src/configurations/destinations/af/schema.json @@ -20,6 +20,10 @@ "type": "boolean", "default": false }, + "placePropertiesAtRoot": { + "type": "boolean", + "default": false + }, "sharingFilter": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" diff --git a/src/configurations/destinations/af/ui-config.json b/src/configurations/destinations/af/ui-config.json index 7945e3e29..2fc9d801e 100644 --- a/src/configurations/destinations/af/ui-config.json +++ b/src/configurations/destinations/af/ui-config.json @@ -39,6 +39,12 @@ "footerNote": "To include screen/page name in Screen/Page event names (ex: Viewed Contacts Page)", "default": false }, + { + "type": "checkbox", + "label": "Place properties at root in eventValue", + "value": "placePropertiesAtRoot", + "default": false + }, { "type": "textInput", "label": "Sharing Filter", From 7471afd3d0a6eea55422af4de037523627a0953c Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Fri, 16 Feb 2024 12:49:41 +0530 Subject: [PATCH 2/3] fix: rename config field naming --- src/configurations/destinations/af/db-config.json | 2 +- src/configurations/destinations/af/schema.json | 2 +- src/configurations/destinations/af/ui-config.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/configurations/destinations/af/db-config.json b/src/configurations/destinations/af/db-config.json index 47ff3dff6..cb558637a 100644 --- a/src/configurations/destinations/af/db-config.json +++ b/src/configurations/destinations/af/db-config.json @@ -52,7 +52,7 @@ "devKey", "sharingFilter", "useRichEventName", - "placePropertiesAtRoot", + "addPropertiesAtRoot", "androidAppId", "appleAppId", "blacklistedEvents", diff --git a/src/configurations/destinations/af/schema.json b/src/configurations/destinations/af/schema.json index 5b0171de0..12862da79 100644 --- a/src/configurations/destinations/af/schema.json +++ b/src/configurations/destinations/af/schema.json @@ -20,7 +20,7 @@ "type": "boolean", "default": false }, - "placePropertiesAtRoot": { + "addPropertiesAtRoot": { "type": "boolean", "default": false }, diff --git a/src/configurations/destinations/af/ui-config.json b/src/configurations/destinations/af/ui-config.json index 2fc9d801e..3e44a89a1 100644 --- a/src/configurations/destinations/af/ui-config.json +++ b/src/configurations/destinations/af/ui-config.json @@ -42,7 +42,7 @@ { "type": "checkbox", "label": "Place properties at root in eventValue", - "value": "placePropertiesAtRoot", + "value": "addPropertiesAtRoot", "default": false }, { From c186c4c07d59b5ebc12838b6070bfc8ec71d50e8 Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Mon, 19 Feb 2024 10:12:07 +0530 Subject: [PATCH 3/3] fix: rename config field naming --- src/configurations/destinations/af/ui-config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/configurations/destinations/af/ui-config.json b/src/configurations/destinations/af/ui-config.json index 3e44a89a1..cb0fe394a 100644 --- a/src/configurations/destinations/af/ui-config.json +++ b/src/configurations/destinations/af/ui-config.json @@ -41,8 +41,9 @@ }, { "type": "checkbox", - "label": "Place properties at root in eventValue", + "label": "Add properties at root in eventValue", "value": "addPropertiesAtRoot", + "footerNote": "To send the custom properties to the root of eventValue.", "default": false }, {