-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MNTOR-3378 - Data broker manual removal (#5287)
* fix ui * apply ui changes tto scanresultcard * apply styling to button * add removal under maintenance status * change cta label and write test * add new removal under maintenance page * test exposure card in new view data broker page * change terminology ot data broker * make new scan result component for resolution flow * ui fixes * add header * add header string * add box shadow * add estimated time of removal * add removal instructions view * ui tweaks * rremove ispremium force * remove commented out code * fix tests * add strings * revert back to info for sale * fix deprecated strings * move cta button to the bottom on mobile * fix ftl * fix string changes * ftl lint * add condition to remove navclose from fixview * add back arrow * Update locales-pending/dashboard-premium.ftl Co-authored-by: Francesco Lodolo <[email protected]> * chore: rename * feat: add db func for return scan results with data broker join * feat: maintenance filter * Update src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/removal-under-maintenance/page.tsx * Update src/db/tables/onerep_scans.ts * Update src/db/tables/onerep_scans.ts * fix: lint * MNTOR-3815 - Data broker manual removal integration (#5326) * fix: fix comment vars * pass SENTRY_AUTH_TOKEN arg to docker (#5324) * integration * rebase * bad rebase fix * bad rebase fix --------- Co-authored-by: Joey Zhou <[email protected]> Co-authored-by: Robert Helmer <[email protected]> * premium exposure card by default * port over databrokerremovalcard into main component and add confetti * add loader to secondary button * remove unused files * add loading animation * fix e2e tests * roll back string change * fix pbroken test * remove typescript linter * fix completion order * add mmanual resolution praise * dadd dashboard description for fixed state * add unit tests * fix * add toast error * add string * fixes * use trycatch * show loader in white on hover * remove exposureicon style * Add fetch delay and update state handling (#5341) * feat: Add util function for fetching with a delay * chore: Remove useEffect and update state handling for firstScanResultNotResolved --------- Co-authored-by: Francesco Lodolo <[email protected]> Co-authored-by: Joey Zhou <[email protected]> Co-authored-by: Robert Helmer <[email protected]> Co-authored-by: Florian Zia <[email protected]>
- Loading branch information
1 parent
bf7a1c3
commit df5ad6c
Showing
30 changed files
with
1,095 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
117 changes: 117 additions & 0 deletions
117
...rd/fix/data-broker-profiles/removal-under-maintenance/RemovalUnderMaintenance.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
@import "../../../../../../../../../tokens"; | ||
|
||
.dataBrokerInformationWrapper { | ||
.exposureCardWrapper { | ||
margin-top: $spacing-md; | ||
padding-bottom: $spacing-lg; | ||
|
||
.exposureCard { | ||
display: flex; | ||
flex-direction: column; | ||
background-color: $color-white; | ||
border: 2px solid rgba($color-purple-70, 0.2); | ||
border-radius: $border-radius-lg; | ||
padding: $layout-sm $layout-sm $layout-xs $layout-sm; | ||
|
||
.dataClassesList { | ||
justify-content: space-between; | ||
margin-left: 0; | ||
display: grid; | ||
grid-template-columns: 1fr; | ||
grid-row-gap: $spacing-sm; | ||
transition: opacity 0.35s ease-in-out; | ||
opacity: 1; | ||
|
||
&.fadeOut { | ||
opacity: 0; | ||
} | ||
|
||
@media screen and (min-width: $screen-md) { | ||
grid-template-columns: 1fr 1fr 1fr; | ||
gap: $spacing-sm; | ||
} | ||
|
||
@media screen and (min-width: $screen-lg) { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: flex-start; | ||
gap: $layout-xs; | ||
flex-wrap: wrap; | ||
justify-content: flex-start; | ||
} | ||
} | ||
|
||
.buttonsWrapper { | ||
margin-top: $spacing-lg; | ||
border-top: 2px solid $color-grey-10; | ||
padding-top: $spacing-lg; | ||
display: flex; | ||
gap: $spacing-sm; | ||
} | ||
|
||
.estimatedTime { | ||
@include estimated-time; | ||
padding-top: $spacing-sm; | ||
} | ||
} | ||
} | ||
|
||
.header { | ||
font: $text-body-lg; | ||
font-weight: 700; | ||
transition: opacity 0.35s ease-in-out; | ||
opacity: 1; | ||
|
||
&.fadeOut { | ||
opacity: 0; | ||
} | ||
} | ||
} | ||
|
||
.removalGuideInstructionsWrapper { | ||
.backArrow { | ||
all: unset; | ||
cursor: pointer; | ||
} | ||
.headerRemovalGuide { | ||
padding-top: $spacing-lg; | ||
font: $text-body-xl; | ||
font-weight: 700; | ||
} | ||
|
||
.buttonWrapper { | ||
display: flex; | ||
justify-content: center; | ||
padding-top: $spacing-lg; | ||
} | ||
} | ||
|
||
.removalContentSection { | ||
margin-top: $layout-md; | ||
|
||
dt { | ||
font: $text-body-lg; | ||
font-weight: 600; | ||
|
||
&.removalGuideInstructions { | ||
font: $text-body-md; | ||
font-weight: 700; | ||
} | ||
} | ||
|
||
dd { | ||
padding-top: $spacing-sm; | ||
} | ||
|
||
ol { | ||
padding-top: $spacing-sm; | ||
|
||
li { | ||
margin-bottom: $spacing-xs; | ||
} | ||
} | ||
|
||
button { | ||
margin-top: $spacing-lg; | ||
} | ||
} |
Oops, something went wrong.