-
Notifications
You must be signed in to change notification settings - Fork 210
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
MNTOR-3378 - Data broker manual removal 🔴 DO NOT MERGE - Waiting for regression testing 🔴 #5287
base: main
Are you sure you want to change the base?
Conversation
Preview URL 🚀 : https://blurts-server-pr-5287-mgjlpikfea-uk.a.run.app |
| "removed" | ||
| "removal_under_maintenance"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rhelmer I believe this would be our first time consuming this endpoint for the manual data broker removal feature.
Preview URL 🚀 : https://blurts-server-pr-5287-mgjlpikfea-uk.a.run.app |
Preview URL 🚀 : https://blurts-server-pr-5287-mgjlpikfea-uk.a.run.app |
Preview URL 🚀 : https://blurts-server-pr-5287-mgjlpikfea-uk.a.run.app |
Preview URL 🚀 : https://blurts-server-pr-5287-mgjlpikfea-uk.a.run.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing my previous comments and making all the updates after aligning with UX!
I’m already submitting my “in progress” review to not block you waiting on reviews. At the moment I’m not able to access all views and test the functionality fully. I’m having issues to access the page /user/dashboard/fix/data-broker-profiles/removal-under-maintenance
. I’ve tried adding mock broker results and also modifying the query in getScanResultsWithBrokerUnderMaintenance
to get results back. Could you update the description with some guidance on how to test this best?
...ated)/user/(dashboard)/dashboard/fix/data-broker-profiles/removal-under-maintenance/page.tsx
Outdated
Show resolved
Hide resolved
...ated)/user/(dashboard)/dashboard/fix/data-broker-profiles/removal-under-maintenance/page.tsx
Outdated
Show resolved
Hide resolved
...dashboard/fix/data-broker-profiles/removal-under-maintenance/RemovalUnderMaintenanceView.tsx
Show resolved
Hide resolved
@flozia You should only be seeing a list if you're premium. |
if (!session?.user?.subscriber?.id || !hasPremium(session.user)) { | ||
redirect("/user/dashboard"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feature should only be available to Plus users - I also added this logic in isEligibleForStep
in getRelevantGuidedSteps.ts
.
<div className={`${styles.ldsRing} ${variant ? styles[variant] : ""}`}> | ||
<VisuallyHidden>{l10n.getString("loading-accessibility")}</VisuallyHidden> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div className={variant ? styles[variant] : ""}></div> | ||
<div className={variant ? styles[variant] : ""}></div> | ||
<div className={variant ? styles[variant] : ""}></div> | ||
<div className={variant ? styles[variant] : ""}></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this here to style the fill colour of the loading ring depending on the button variant.
References:
Jira: MNTOR-3378
Figma: https://www.figma.com/design/DTbmXzCQCw2PxXpHQW8yfW/Monitor-MVP-Enhancements?node-id=3809-6501&t=EniBV7WqvPVnuivk-4
Path: /user/dashboard/fix/data-broker-profiles/removal-under-maintenance
Description
Screenshot (if applicable)
Not applicable.
How to test
Checklist (Definition of Done)