Skip to content

Commit 186adcb

Browse files
author
markzegarelli
authored
Merge branch 'master' into DOC_137-vt-update
2 parents 98151ad + ae5568c commit 186adcb

File tree

71 files changed

+521
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+521
-99
lines changed

CODEOWNERS

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
# The default owners for everything in
22
# the repo. Unless a later match takes precedence.
3-
CODEOWNERS @segmentio/segment-doc-team
3+
CODEOWNERS @segmentio/segment-doc-team @sanscontext @markzegarelli
44

55
# Diagram library
6-
/diagram-library @sanscontext
6+
/diagram-library @sanscontext @markzegarelli
77

88
# Utility scripts
9-
/scripts @segmentio/segment-doc-team @XavierAgostini
9+
/scripts @segmentio/segment-doc-team
1010

1111
# Vale Linting
1212
/vale-styles @segmentio/segment-doc-team
1313
.vale.ini @segmentio/segment-doc-team
1414

15+
1516
# Content owners should be in the order of PM, TL (team-lead), and EM (in a crisis) for a given team.
1617
# This team will receive review requests automatically when a PR is submitted modifying the files in
1718
# a given directory+subtree, or file type, etc. that matches below. While Github won't enforce the
@@ -23,16 +24,16 @@ CODEOWNERS @segmentio/segment-doc-team
2324
# Libraries owners
2425
/src/connections/catalog/libraries @osamakhn @bsneed @pooyaj @juliofarah
2526

26-
# Destination owners
27+
# Destinations owners
2728
/src/connections/destinations @segmentio/segment-doc-team
2829

2930

30-
# Privacy owners
31-
/src/privacy @notfelineit
31+
# Privacy owners TODO
32+
# /src/privacy
3233

3334

34-
# Protocols owners
35-
/src/protocols @francisco @rarchana2001asu
35+
# Protocols owners TODO
36+
# /src/protocols
3637

3738
# Partner Program owners
3839
/src/partners @misteryeo @n2parko @benhorowitz

js/hoverhelp/index.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
const COMPONENT_NAME = 'data-hoverhelp'
2+
const COMPONENT_SELECTOR = `[${COMPONENT_NAME}]`
3+
const BODY_SELECTOR = 'data-hoverhelp-body'
4+
const TRIGGER_SELECTOR = '[data-hoverhelp-target]'
5+
6+
export default function () {
7+
const components = document.querySelectorAll(COMPONENT_SELECTOR)
8+
9+
for (let i = 0; i < components.length; i++) {
10+
const triggers = components[i].querySelectorAll(TRIGGER_SELECTOR)
11+
12+
for (let i = 0; i < triggers.length; i++) {
13+
triggers[i].addEventListener('mouseover', e => {
14+
e.preventDefault()
15+
16+
const targetBody = document.querySelector(`[${BODY_SELECTOR}=${e.target.dataset.hoverhelpTarget}]`)
17+
18+
components[i].classList.toggle(components[i].dataset.activeClass)
19+
})
20+
}
21+
22+
document.addEventListener('mouseover', e => {
23+
if (components[i].classList.contains(components[i].dataset.activeClass)) {
24+
const hoverhelpBody = components[i].querySelector(`[${BODY_SELECTOR}]`)
25+
26+
for (let i = 0; i < triggers.length; i++) {
27+
if (!hoverhelpBody.contains(e.target) && e.target !== triggers[i]) {
28+
components[i].classList.remove(components[i].dataset.activeClass)
29+
}
30+
}
31+
}
32+
})
33+
}
34+
}

js/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import dropdownMenu from './dropdown-menu'
99
import anchorsIndicator from './anchors-indicator'
1010
import codeExample from './code-example'
1111
import popover from './popover'
12+
import hoverhelp from './hoverhelp'
1213
import menuPanels from './menu-panels'
1314
import searchBar404 from './search-bar-404'
1415
import backScrolling from './back-scrolling'
@@ -30,6 +31,7 @@ dropdownMenu()
3031
anchorsIndicator()
3132
codeExample()
3233
popover()
34+
hoverhelp()
3335
searchBar404()
3436
backScrolling()
3537
navigation()

src/_data/catalog/destination_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT
2-
# destination categories last updated 2021-02-23
2+
# destination categories last updated 2021-03-05
33
items:
44
- display_name: Email Marketing
55
slug: email-marketing

src/_data/catalog/destinations.yml

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT
2-
# destination data last updated 2021-02-23
2+
# destination data last updated 2021-03-05
33
items:
44
- display_name: ActiveCampaign
55
slug: activecampaign
@@ -2893,6 +2893,7 @@ items:
28932893
mark:
28942894
url: 'https://cdn.filepicker.io/api/file/sybdw0htTTKBmrgD1jJI'
28952895
categories:
2896+
- Referrals
28962897
- Attribution
28972898
components:
28982899
- type: CLOUD
@@ -10990,7 +10991,9 @@ items:
1099010991
mark:
1099110992
url: >-
1099210993
https://public-segment-devcenter-production.s3.amazonaws.com/edaa6886-d1fe-4af5-a76b-e2832fea8884.svg
10993-
categories: []
10994+
categories:
10995+
- Attribution
10996+
- Referrals
1099410997
components: []
1099510998
platforms:
1099610999
browser: true
@@ -16141,28 +16144,6 @@ items:
1614116144
Code**. Note: you can still use a URL query parameter of `pi_campaign_id`
1614216145
to override this on specific pages.
1614316146
settings: []
16144-
- name: email
16145-
display_name: Pardot Account Email
16146-
type: STRING
16147-
deprecated: false
16148-
required: false
16149-
string_validators:
16150-
regexp: ''
16151-
description: Your account email.
16152-
settings: []
16153-
- name: password
16154-
display_name: Pardot Account Password
16155-
type: PASSWORD
16156-
deprecated: false
16157-
required: false
16158-
string_validators:
16159-
regexp: ''
16160-
description: >-
16161-
Pardot requires we store a Pardot user email and password to access their
16162-
API. For security, we recommend you add a new user to your Pardot account
16163-
under **Admin > Users and Groups > Add User**, so that you don't have to
16164-
tell us your actual password.
16165-
settings: []
1616616147
- name: primaryBusinessUnitId
1616716148
display_name: Primary Business Unit Id
1616816149
type: STRING
@@ -16206,17 +16187,6 @@ items:
1620616187
lookup key value. If disabled, we will search for a trait in the event
1620716188
with the same name as the lookup field ID and match on that.
1620816189
settings: []
16209-
- name: userKey
16210-
display_name: User Key
16211-
type: STRING
16212-
deprecated: false
16213-
required: false
16214-
string_validators:
16215-
regexp: '^[a-f0-9]{32}$'
16216-
description: >-
16217-
You can find your User Key on under **User Settings** in your [Pardot
16218-
account](https://pi.pardot.com/account).
16219-
settings: []
1622016190
connection_modes:
1622116191
device:
1622216192
web: true

src/_data/catalog/source_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT
2-
# source cateogries last updated 2021-02-23
2+
# source cateogries last updated 2021-03-05
33
items:
44
- display_name: Server
55
slug: server

src/_data/catalog/sources.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT
2-
# sources last updated 2021-02-23
2+
# sources last updated 2021-03-05
33
items:
44
- display_name: .NET
55
slug: net

src/_data/products.yml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
items:
2+
- product_display_name: Personas
3+
slug: personas
4+
plan-note: "Personas is available as an add-on for Business plans only."
5+
plans:
6+
free: false
7+
team: false
8+
business: true
9+
add-on: true
10+
- product_display_name: Personas Identity Graph
11+
slug: personas-id
12+
plans:
13+
free: false
14+
team: false
15+
business: true
16+
add-on: true
17+
- product_display_name: Protocols
18+
slug: protocols
19+
plan-note: "Protocols is available as an add-on for Business plans only."
20+
plans:
21+
free: false
22+
team: false
23+
business: true
24+
add-on: true
25+
- product_display_name: Advanced Access Management
26+
slug: iam
27+
plan-note: "Advanced Access Management is available for all Business plans."
28+
plans:
29+
free: false
30+
team: false
31+
business: true
32+
add-on: false
33+
- product_display_name: Replay
34+
slug: replay
35+
plan-note: "Replay is available to all Business plans."
36+
plans:
37+
free: false
38+
team: false
39+
business: true
40+
add-on: false
41+
- product_display_name: Privacy Portal
42+
slug: privacy
43+
plans:
44+
free: true
45+
team: true
46+
business: true
47+
add-on: false
48+
- product_display_name: Warehouses
49+
slug: warehouses
50+
plan-note: "Free and Team plan workspaces can have 1 warehouse. Business plans can have more than one, and include custom sync schedules and filtering."
51+
plans:
52+
free: true
53+
team: true
54+
business: true
55+
add-on: false
56+
- product_display_name: Warehouse custom sync
57+
slug: warehouse-sync
58+
plans:
59+
free: false
60+
team: false
61+
business: true
62+
add-on: true
63+
- product_display_name: Data Lakes
64+
slug: data-lakes
65+
plans:
66+
free: false
67+
team: false
68+
business: true
69+
add-on: false
70+
- product_display_name: Audit Trail
71+
slug: audit-trail
72+
plans:
73+
free: false
74+
team: false
75+
business: true
76+
add-on: false
77+
- product_display_name: Single Sign-on
78+
slug: sso
79+
plan-note: "Single Sign-on is only available in Business plan workspaces."
80+
plans:
81+
free: false
82+
team: false
83+
business: true
84+
add-on: false
85+
- product_display_name: Multi-factor authentication
86+
slug: mfa
87+
plan-note: "MFA is available to all Segment plans, but cannot be used with SSO."
88+
plans:
89+
free: true
90+
team: true
91+
business: true
92+
add-on: false

src/_data/sidenav/main.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ sections:
148148
slug: connections/destinations
149149
section:
150150
- path: /connections/destinations
151-
152151
title: Destinations overview
153152
- path: /connections/destinations/add-destination
154153
title: Add a destination
@@ -264,8 +263,6 @@ sections:
264263
title: Overview
265264
- path: /personas/audiences/account-audiences
266265
title: Account-level Audiences
267-
# - path: /personas/audiences
268-
# title: Audiences
269266
- path: /personas/using-personas-data
270267
title: Using Personas data
271268
- path: /personas/warehouses

src/_data/sidenav/strat.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ sections:
8383
section:
8484
- path: /connections/sources/catalog/libraries/website/javascript
8585
title: Analytics.js (Javascript) Source
86+
# - path: /connections/sources/catalog/libraries/website/javascript/analytics-js-2
87+
# title: Analytics.js 2.0 (Beta)
8688
- path: /connections/sources/catalog/libraries/website/javascript/supported-browsers
8789
title: Analytics.js supported browsers
8890
- path: /connections/sources/catalog/libraries/website/javascript/quickstart

0 commit comments

Comments
 (0)