-
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
AdSense module shows simultaneously as "unable to set up" and "connected" in banner notification #4014
Comments
@felixarntz could you have a look and if the ACs LGTY, move to IB? |
@marrrmarrr Thanks, looks great! |
@kuasha420 I think we can simplify this to be specific to We only should only render Then the only other change I think we need is the logical change in when we add the disabled class, as you already identified 🙂 Regarding the variable name and other specific details of the code, this is getting into code review territory so it's best to describe the changes a little more abstractly and focus more on the logic 👍 |
@aaemnnosttv I've updated the IB accordingly. Please have a look. |
IB ✅ |
Bug Description
The AdSense module is shown as simultaneously "unable to set up" and "connected" in success notices in certain situations.
Steps to reproduce
Screenshots
Additional Context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
in
assets/js/components/ModulesListItem.js
,setupComplete
) module is not disabled.ModuleSettingsWarning
compoment here when setupComplete isfalsy
. ie.{ ! setupComplete && <ModuleSettingsWarning slug={ slug } context="modules-list" /> }
.Test Coverage
Visual Regression Changes
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: