Skip to content

Commit 1c9d163

Browse files
authored
Merge pull request #17 from segmentio/repo-sync
repo sync
2 parents 1367cf7 + a521cb6 commit 1c9d163

File tree

3 files changed

+25
-15
lines changed

3 files changed

+25
-15
lines changed

js/feedback/index.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,17 @@ export default function() {
3232
const tooltips = tippy(buttons)
3333
const defaultSettings = {
3434
interactive: true,
35-
flip: true,
35+
popperOptions: {
36+
modifiers: [
37+
{
38+
name: 'flip',
39+
enabled: true
40+
},
41+
],
42+
},
3643
placement: 'bottom-end',
37-
boundary: '.docs',
3844
trigger: 'manual',
45+
allowHTML: true,
3946
onMount: (tooltip) => {
4047
const sendButton = document.querySelector(SEND_SELECTOR)
4148
const feedbackText = document.querySelector(TEXT_SELECTOR)

src/_data/actions/fullstory.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,40 +37,37 @@ actions:
3737
- action: Identify User
3838
blurb: Set user identity variables.
3939
fields:
40-
- name: userId
40+
- name: User ID
4141
description: The user's ID in FullStory.
4242
default: userId
43-
- name: anonymous
43+
- name: Anonymous ID
4444
description: The user's anonymousId in FullStory.
4545
default: anonymousId
46-
- name: displayName
46+
- name: Display Name
4747
description: The user's display name.
4848
default: traits.name
49-
- name: email
49+
- name: Email
5050
description: The user's email address.
5151
default: traits.email
52-
- name: traits
52+
- name: Traits
5353
description: The Segment traits forwarded to FullStory.
5454
default: traits
5555
- action: Track Event
5656
blurb: Send event details to FullStory.
5757
fields:
58-
- name: name
58+
- name: Name
5959
description: The name of the event
6060
default: name
61-
- name: properties
61+
- name: Properties
6262
description: A JSON object that contains additional information about the event, and is indexed by FullStory.
6363
default: properties
6464
- action: Viewed Page
6565
blurb: Set the properties of a page event, and send them to FullStory.
6666
fields:
67-
- name: name
68-
description: The name of the viewed page.
67+
- name: Page Name
68+
description: The name of the viewed page. Defaults to `category`. If `category` is not present, `name` is used.
6969
default: name
70-
- name: category
71-
description: The category of the viewed page
72-
default: category
73-
- name: properties
70+
- name: Properties
7471
description: The properties of the viewed page.
7572
default: properties
7673
settings:

src/_sass/components/_feedback-template.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@
44
align-items: flex-end;
55
padding: 10px 5px 5px 10px;
66
transition: 200ms ease;
7+
background-color: white;
8+
border-radius: 4px;
9+
border: 1px solid rgb(216,218,229);
10+
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
11+
712

813
&__textarea {
914
width: 260px;
1015
border: none;
1116
resize: none;
1217
color: color(gray-800);
1318
outline: none;
19+
font-size: 12px;
1420

1521
&::placeholder {
1622
color: color(gray-600);

0 commit comments

Comments
 (0)