"Top content” OAuth flow UX experience #9350
Labels
Module: Analytics
Google Analytics module related issues
P1
Medium priority
Team M
Issues for Squad 2
Type: Enhancement
Improvement of an existing feature
Feature Description
This came up when testing #8154
The QA brief for that issue can be used as steps to reproduce.
ITEM 1:
After I click cancel, the OAuth error variant of the Error Modal does not display straightaway. It will not load until I scroll down to the tiles section.
Refer to as from 1 minute mark in the video in the Details section.
wait.mov
I think we possibly need to anchor the scroll to that tile section so that the error modal appears straightaway.
ITEM 2:
This is linked to number 1. When I cancelled the flow, I go to the page where I see a 'Success' message. Again, you can refer to the 1 minute mark in the video above.
This is due to the success message initially but it just feels weird but maybe this will not be a concern if we auto scroll to the tiles section, if we decide to fix it that way for item 1.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
errorRedirectURL
constant, the value of which isglobal.location.href
with the query argwidgetArea
appended. The value of thewidgetArea
arg should beAREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION
.errorRedirectURL
in the options passed tosetPermissionScopeError()
in theAudienceTilePagesMetric
component, at the same level asredirectURL
:site-kit-wp/assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTilePagesMetric.js
Lines 142 to 155 in 10394a1
Test Coverage
QA Brief
...additional_auth_scopes
row from your wp_usermetagooglesitekit.data.dispatch( 'modules/analytics-4' ).fetchSyncAvailableCustomDimensions()
in the developer consoleNote: these steps can be seen in the video in this ticket description above.
Changelog entry
The text was updated successfully, but these errors were encountered: