Skip to content
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

feat(studio): adds guided tour button to top #227

Merged
merged 3 commits into from
Feb 3, 2022

Conversation

ptrckbp
Copy link
Contributor

@ptrckbp ptrckbp commented Dec 14, 2021

Running a little experiment to see if people want to use the tutorial / help buttons in app. On pages with no help icon (like the flow editor), a tutorial button appears (see images), where the help button would normally be and triggers the Guided Tour.

This also standardizes the buttons to have the same spacing, and icon + title.

On a page with no existing help button :
Before
image

After
image

On a page with an existing help button :
Before
image

After
image

This also adds analytics to the tutorial steps and simplifies the tracking implementation by removing error handling.

@ptrckbp
Copy link
Contributor Author

ptrckbp commented Dec 14, 2021

Also adds this step to the guided tour so people know to click to re-read :
image

Copy link
Contributor

@laurentlp laurentlp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small comment otherwise LGTM! Nice work!

if (analytics) {
// analytics only defined if window.SEND_USAGE_STATS is true
return analytics.track(eventName, payload, options, callback)
analytics.track(eventName, payload, options, callback).catch(e => {
console.error('Analytics error - event', e)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really want to log those errors? I don't think it has much value to let the user know that sending analytics failed. What do you think?

@laurentlp
Copy link
Contributor

@ptrckbp Any update?

@samuelmasse samuelmasse changed the title feat (studio) Adds Guided Tour button to top feat(studio): Adds Guided Tour button to top Feb 3, 2022
@samuelmasse samuelmasse changed the title feat(studio): Adds Guided Tour button to top feat(studio): adds guided tour button to top Feb 3, 2022
Copy link
Contributor

@samuelmasse samuelmasse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@samuelmasse samuelmasse merged commit 8c0d57f into master Feb 3, 2022
@samuelmasse samuelmasse deleted the ph_affix_tutorial_top branch February 3, 2022 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants