site-kit-wp icon indicating copy to clipboard operation
site-kit-wp copied to clipboard

Implement RRM disconnection confirmation modal

Open nfmohit opened this issue 1 year ago • 3 comments

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.

  • See relevant section in design doc.


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

nfmohit avatar Jun 08 '24 12:06 nfmohit

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:

image

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 avatar Jun 24 '24 03:06 nfmohit

@nfmohit I added the UX for the disconnect module here with one comment for you to review. Thank you!

sigal-teller avatar Jun 30 '24 14:06 sigal-teller

LGTM, thank you @sigal-teller !

nfmohit avatar Jul 02 '24 18:07 nfmohit

IB :white_check_mark:

kuasha420 avatar Jul 11 '24 07:07 kuasha420

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: image

Figma design image

wpdarren avatar Jul 22 '24 11:07 wpdarren

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.

Screenshot 2024-07-22 at 9.14.10 PM.png Screenshot 2024-07-22 at 9.14.29 PM.png Screenshot 2024-07-22 at 9.15.28 PM.png Screenshot 2024-07-22 at 9.22.13 PM.png

ankitrox avatar Jul 22 '24 15:07 ankitrox

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.

image

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.

techanvil avatar Jul 22 '24 16:07 techanvil

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.

image

wpdarren avatar Jul 23 '24 04:07 wpdarren