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

GA: address QA issues #30

Merged
merged 2 commits into from
Feb 14, 2020
Merged

GA: address QA issues #30

merged 2 commits into from
Feb 14, 2020

Conversation

taye
Copy link
Contributor

@taye taye commented Feb 14, 2020

No description provided.

apps/google-analytics/src/Timeline.tsx Outdated Show resolved Hide resolved
apps/google-analytics/src/index.tsx Outdated Show resolved Hide resolved
// filter to path with and without trailing slash if the slug doesn't end
// with a trailing slash
if (pagePath && !pagePath.endsWith('/')) {
filters = `${filters},ga:pagePath==${pagePath}/`
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In case there's some special characters in the path that might mess up the regex

return <Paragraph className={styles.lightText}>The {contentTypeName}{' '}
content type hasn&apos;t been configured for use with this app. It must
have a field of type short text and must be added to the list of
content types in this app&apos;s configuration.</Paragraph>;
Copy link
Contributor

Choose a reason for hiding this comment

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

How about we add a deeplink to the app config screen?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

currently not possible

@taye taye merged commit ec847b6 into master Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants