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

Integ 231 improve error handling within analytics app component #2919

Merged
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Adjust empty data message
  • Loading branch information
lilbitner committed Mar 28, 2023
commit 1b7ecf2ad2b6f9ece7c04a405d9fa469991c71cd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export const DEFAULT_ERR_MSG = 'Oops! Cannot display the analytics data at this time.';
export const EMPTY_DATA_MSG = 'There are no page views to show for this range.';
export const EMPTY_DATA_MSG =
lilbitner marked this conversation as resolved.
Show resolved Hide resolved
'There are no page views to show for this range. If this is not expected, assure your URL prefix and slug value accurately reflect a page path within your Google Analytics instance.';
export const DEFAULT_CONTENT_MSG = 'Oops! Something went wrong with the slug field configuration.';

export const getContentTypeSpecificMsg = (contentTypeName: string, isHyperlink?: boolean) => ({
Expand Down