-
Notifications
You must be signed in to change notification settings - Fork 293
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
Update AdSense account statuses based on new API capabilities #5051
Comments
IB ✔️ |
QA Upate:
|
@wpdarren That is correct. Those are only placeholders for now till we actually build the UI for them. |
QA Update: ✅I have gone through Storybook and confirmed placeholders for the components in the AC. The ticket has been labelled |
QA Verified ✅
|
Based on the recently released new AdSense API capabilities and the corresponding enhancements to the design doc, some of the account statuses we need to support needs to be tweaked. This is essentially a follow-up to #4755.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
ACCOUNT_STATUS_APPROVED
status should be moved to the group of "V1 setup flow" constants, as going forward it will be replaced with a newACCOUNT_STATUS_READY
(value: "ready"). The latter should be added to the "V2 setup flow" group accordingly.ACCOUNT_STATUS_PENDING_TASKS
status should be entirely replaced (not moved!) with a newACCOUNT_STATUS_NEEDS_ATTENTION
(value: "needs-attention").ACCOUNT_STATUS_CLIENT_REQUIRES_REVIEW
(value: "client-requires-review")ACCOUNT_STATUS_CLIENT_GETTING_READY
(value: "client-getting-ready")ACCOUNT_STATUS_APPROVED
in the V2 components should be replaced with usingACCOUNT_STATUS_READY
instead.Implementation Brief
assets/js/modules/adsense/util/status.js
, update the statuses as per the AC.ACCOUNT_STATUS_PENDING_TASKS
byACCOUNT_STATUS_NEEDS_ATTENTION
across the codebase. At the time of writing,assets/js/modules/adsense/components/setup/v2/SetupAccount.js
is the only file that needs to be updated.ACCOUNT_STATUS_APPROVED
byACCOUNT_STATUS_READY
within files inassets/js/modules/adsense/components/setup/v2
and stories if need to be.Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: