Implement RRM disconnection confirmation modal
Feature Description
The module disconnection confirmation modal should be updated for Reader Revenue Manager to include a warning to let the user know that:
-
Disconnecting the module will only remove the snippet added by Site Kit, but will not deactivate Reader Revenue Manager.
-
They can visit the Reader Revenue Manager platform if they intend to deactivate it.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
- [ ]
Test Coverage
QA Brief
Changelog entry
Hi @sigal-teller 👋 Would you be so kind as to help us with the UX here? For example, here is a module disconnection banner for the Analytics module:
This is a common component that we use across all modules with just the module name and list of features changing between modules, so I don't think we'd want to change this too much. For the Reader Revenue Manager module, there is a requirement to let the user know at this stage the following:
- Disconnecting the module will only remove the snippet added by Site Kit, but will not deactivate Reader Revenue Manager.
- They can visit the Reader Revenue Manager platform if they intend to deactivate it.
In my opinion, a small notice before the disconnect action should be sufficient. Thank you!
@nfmohit I added the UX for the disconnect module here with one comment for you to review. Thank you!
LGTM, thank you @sigal-teller !
IB :white_check_mark:
QA Update: ❌
@ankitrox I have a very minor UX/UI issue that I would like to highlight. The bulletpoint and subsequent paragraph are not aligned as per the figma designs. There needs to be some padding/margin.
Test site:
Figma design
I have added couple of lines of CSS fix to accommodate the design change. Please note that those bullets will be aligned in a similar fashion (as of RRM disconnection modal) for other disconnection modal as well; for example: Analytics-4 disconnection modal.
I have to added the screenshots for the same.
Thanks @kuasha420, however, the proposed fix does introduce a regression, as the bullet points and feature descriptions are no longer centre-aligned vertically. For example this is how the Analytics modal currently looks, and the fix we introduce should retain this styling while ensuring the bullet point is correctly aligned when a feature description spans multiple lines of text.
I've taken a look into it myself and can see that, while fairly trivial overall, the fix could be relatively time consuming compared to the severity of the defect.
I would therefore suggest we treat this as a known issue to address as part of the bug bash or post-launch. @wpdarren, could you please create an issue to track it? We can prioritise is as a P2 for the time being and reassess at bug bash time.
QA Update: ✅
Verified:
- A modal appears and the content matches with the AC and figma.
- Clicking on disconnect should deactivate the module.
Note: that is a styling issue where the bullet point is not aligned to the text like the figma designs and in addition the horizontal line has no space between the text underneath.
I will create a ticket for this since it should be fixed as it look odd.