Skip to content

Fix JavaScript Formatting Typos #3232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/styles/Vocab/Docs/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ blocklist
boolean
Breyta
Chargebee
chatbot
CloudFront
Cocoapods
Contentful
Expand Down Expand Up @@ -89,6 +90,7 @@ Skalin
Smartly
Snapchat
Spideo
subaction
Subnet
svg
Totango
Expand Down
22 changes: 11 additions & 11 deletions src/_data/actions/braze-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ config:
connection_mode:
- cloud
configurable: true
location:
location:
notes: This setting is renamed API Key, and is available during initial configuration, or on the Settings tab after configuration.
- name: Custom API Endpoint
connection_mode:
- device-web
configurable: false
location:
notes: This setting is not needed in Braze Web Mode (Actions).
notes: This setting is not needed in Braze Web Mode (Actions).
- name: Appboy Datacenter
connection_mode:
- cloud
configurable: false
location: ""
notes: This setting is covered by the REST API Endpoint
- name: Log Purchase when Revenue is present
connection_mode:
connection_mode:
- device-web
configurable: true
location:
Expand Down Expand Up @@ -170,7 +170,7 @@ actions:
description: The object that contains properties pertaining to the event.
default: properties
- name: Update Existing Only
description: Set to true to use the Braze API in "Update Only" mode.
description: Set to true to use the Braze API in "Update Only" mode.
default: false
- action: Track Purchase
blurb: Track Purchase sends Braze a Track Purchase call when the destination recieves any event that matches the specified name.
Expand All @@ -194,7 +194,7 @@ actions:
description: The object that contains properties pertaining to the event.
default: properties
- name: Update Existing Only
description: Set to true to use the Braze API in "Update Only" mode.
description: Set to true to use the Braze API in "Update Only" mode.
default: false
- action: Update User Profile
blurb: Update User Profile sends to Braze a request to update an existing user's profile attributes when the destination receives an Identify call.
Expand Down Expand Up @@ -228,10 +228,10 @@ actions:
default: traits.email
- name: Email Subscribe
description: "The user's email subscription preference. Must be one of: `opted_in`, `unsubscribed`, or `subscribed`"
default:
default:
- name: Email Open Tracking Disabled
description: Set to true to disable adding the open tracking pixel to all future emails sent to this user.
default:
default:
- name: Email Click Tracking Disabled
description: Set to true to disable click tracking for all links within future emails sent to this user.
default:
Expand Down Expand Up @@ -266,7 +266,7 @@ actions:
description: "The user's push subscription preference: `opted_in` (explicitly registered to receive push messages), `unsubscribed` (explicitly opted out of push messages), and `subscribed` (neither opted in nor out)."
default:
- name: Push Tokens
description: "An array of objects with app_id and token string. You can optionally provide a `device_id` for the device this token is associated with. For example,`{\"app_id\": App Identifier, \"token\": \"abcd\", \"device_id\": \"optional_field_value\"}. If a device_id is not provided, a random value is generated."
description: "An array of objects with app_id and token string. You can optionally provide a `device_id` for the device this token is associated with. For example,`{\"app_id\": App Identifier, \"token\": \"abcd\", \"device_id\": \"optional_field_value\"}. If a device_id is not provided, a random value is generated."
default:
- name: Time Zone
description: The user's time zone from the IANA Time Zone Database. For example, `America/New_York`.
Expand All @@ -278,10 +278,10 @@ actions:
description: A hash of custom attributes sent to Braze.
default: traits
- name: Update Existing Only
description: Set this flag to true to put the API in "Update Only" mode.
description: Set this flag to true to put the API in "Update Only" mode.
default: true
- action: Identify Debounce
blurb: >
When enabled for Javascript sources, this action ensure that only Identify calls where at least one updated trait value are sent to Braze. Events with duplicate traits are not sent.
When enabled for JavaScript sources, this action ensure that only Identify calls where at least one updated trait value are sent to Braze. Events with duplicate traits are not sent.
To use Identify Debounce with mobile sources, include Segment's open-source [Middleware tool](https://github.com/segmentio/segment-braze-mobile-middleware){:target="_blank"}.
fields:
fields:
46 changes: 23 additions & 23 deletions src/_data/actions/braze-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ settings:
description: Enable to allow Braze to log activity from crawlers.
default: "off"
- name: Allow User Supplied Javascript
description: Enable to indicate that you trust the Braze dashboard users to write non-malicious Javascript click actions, set this property to true.
description: Enable to indicate that you trust the Braze dashboard users to write non-malicious JavaScript click actions, set this property to true.
default: "off"
- name: API Key (required)
description: Enter the API Key to identify your application to Braze.
default:
default:
- name: App Version
description: Enter the version of the application to which user events will be associated for the purpose of segmentation.
default:
default:
- name: Content Security Nonce
description: "Enter a value that Braze will add to any `script` and `style` elements that the SDK creates."
default:
default:
- name: Disable Push Token Maintenance
description: Enable to allow users who have already granted web push permission will to their push token with the Braze backend automatically on new session to ensure deliverability.
description: Enable to allow users who have already granted web push permission will to their push token with the Braze backend automatically on new session to ensure deliverability.
default: "On"
- name: Do Not Load Font Awesome
description: Enable to prevent Braze from loading FontAwesome 4.7.0 from the FontAwesome CDN.
Expand All @@ -30,17 +30,17 @@ settings:
default: "off"
- name: SDK Endpoint (required)
description: Select the SDK Endpoint for your Braze applicaiton.
default:
default:
- name: In-App Message Z Index
description: Enter a z-index value for the Braze In-App Message. By default, the Braze SDK will show In-App Messages with a z-index of 1040 for the screen overlay, 1050 for the actual in-app message, and 1060 for the message's close button.
default:
default:
- name: Localization
description: Enter a ISO 639-1 Language Code to override the user's default browser language.
default: _specified by the user's browser_
- name: Manage Service Worker Externally
description: Enable to prevent Braze from registering and unregistering a service worker of which you control the lifecycle.
default: "off"
- name: Minimum Interval Between Trigger Actions in Seconds
- name: Minimum Interval Between Trigger Actions in Seconds
description: Enter a value to override the default interval between trigger actions.
default: 30
- name: No Cookies
Expand Down Expand Up @@ -75,7 +75,7 @@ config:
location: ""
notes: This setting is covered by the SDK Endpoint in Braze Web Mode (Actions) Connection Settings.
- name: Log Purchase when Revenue is present
connection_mode:
connection_mode:
- device-web
configurable: true
location:
Expand All @@ -90,7 +90,7 @@ config:
connection_mode:
- device-web
configurable: true
location:
location:
notes: This setting is available in the Braze Web Mode (Actions) Connection Settings.
- name: Braze Web SDK Version
connection_mode:
Expand Down Expand Up @@ -123,7 +123,7 @@ config:
connection_mode:
- device-web
configurable: true
location:
location:
notes: Available in the Braze Web Mode (Actions) Connection Settings.
- name: Open In-App Messages in New Tab
connection_mode:
Expand All @@ -137,13 +137,13 @@ config:
connection_mode:
- device-web
configurable: true
location:
location:
notes: Create a **Track Event** subscription and update the Event Trigger to specify `Event Type is Page` and `Event Property 'name' exists`. Update the Event Name field for the Track Event action to "Viewed Page {name}". Use the Event Variables selector to select the `name` variable.
- name: Track Only Named Pages
connection_mode:
- device-web
configurable: true
location:
location:
notes: Create a **Track Event** subscription and update the Event Trigger to specify `Event Type is Page` and. Update the Event Name field for the Track Event action to "Viewed Page {name}". Use the Event Variables selector to select the `name` variable.
- category: Other Settings
settings:
Expand Down Expand Up @@ -175,7 +175,7 @@ config:
connection_mode:
- device-web
configurable: true
location:
location:
notes: Available in the Braze Web Mode (Actions) Connection Settings.
- name: Service Worker Location
connection_mode:
Expand All @@ -187,7 +187,7 @@ config:
connection_mode:
- device-web
configurable: true
location:
location:
notes: Available in the Braze Web Mode (Actions) Connection Settings.
# - name: Update Existing Users Only
# connection_mode:
Expand Down Expand Up @@ -218,7 +218,7 @@ actions:
description: The object that contains properties pertaining to the event.
default: properties
- name: Update Existing Only
description: Set to true to use the Braze API in "Update Only" mode.
description: Set to true to use the Braze API in "Update Only" mode.
default: false
- action: Track Purchase
blurb: Track Purchase sends Braze a Track Purchase call when the destination recieves any event named `Order Completed`.
Expand All @@ -242,7 +242,7 @@ actions:
description: The object that contains properties pertaining to the event.
default: properties
- name: Update Existing Only
description: Set to true to use the Braze API in "Update Only" mode.
description: Set to true to use the Braze API in "Update Only" mode.
default: false
- action: Update User Profile
blurb: Update User Profile sends to Braze a request to update an existing user's profile attributes when the destination receives an Identify call.
Expand Down Expand Up @@ -276,10 +276,10 @@ actions:
default: traits.email
- name: Email Subscribe
description: "The user's email subscription preference. Must be one of: `opted_in`, `unsubscribed`, or `subscribed`"
default:
default:
- name: Email Open Tracking Disabled
description: Set to true to disable adding the open tracking pixel to all future emails sent to this user.
default:
default:
- name: Email Click Tracking Disabled
description: Set to true to disable click tracking for all links within future emails sent to this user.
default:
Expand Down Expand Up @@ -314,7 +314,7 @@ actions:
description: "The user's push subscription preference: `opted_in` (explicitly registered to receive push messages), `unsubscribed` (explicitly opted out of push messages), and `subscribed` (neither opted in nor out)."
default:
- name: Push Tokens
description: "An array of objects with app_id and token string. You can optionally provide a `device_id` for the device this token is associated with. For example,`{\"app_id\": App Identifier, \"token\": \"abcd\", \"device_id\": \"optional_field_value\"}. If a device_id is not provided, a random value is generated."
description: "An array of objects with app_id and token string. You can optionally provide a `device_id` for the device this token is associated with. For example,`{\"app_id\": App Identifier, \"token\": \"abcd\", \"device_id\": \"optional_field_value\"}. If a device_id is not provided, a random value is generated."
default:
- name: Time Zone
description: The user's time zone from the IANA Time Zone Database. For example, `America/New_York`.
Expand All @@ -326,10 +326,10 @@ actions:
description: A hash of custom attributes sent to Braze.
default: traits
- name: Update Existing Only
description: Set this flag to true to put the API in "Update Only" mode.
description: Set this flag to true to put the API in "Update Only" mode.
default: true
- action: Identify Debounce
blurb: >
When enabled for Javascript sources, this action ensure that only Identify calls where at least one updated trait value are sent to Braze. Events with duplicate traits are not sent.
When enabled for JavaScript sources, this action ensure that only Identify calls where at least one updated trait value are sent to Braze. Events with duplicate traits are not sent.
To use Identify Debounce with mobile sources, include Segment's open-source [Middleware tool](https://github.com/segmentio/segment-braze-mobile-middleware){:target="_blank"}.
fields:
fields:
2 changes: 1 addition & 1 deletion src/_data/catalog/destination_categories.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
# destination categories last updated 2022-07-14
# destination categories last updated 2022-07-15
items:
- display_name: A/B Testing
slug: a-b-testing
Expand Down
Loading