Skip to content
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

Update profile deletion text #1869

Merged
merged 2 commits into from
Apr 5, 2024
Merged

Update profile deletion text #1869

merged 2 commits into from
Apr 5, 2024

Conversation

lukaw3d
Copy link
Member

@lukaw3d lukaw3d commented Apr 4, 2024

Before After
localhost_3000_ (2) localhost_3000_
localhost_3000_ (3) localhost_3000_ (1)

Don agrees

@lukaw3d lukaw3d requested a review from buberdds April 4, 2024 20:38
Copy link

github-actions bot commented Apr 4, 2024

Deployed to Cloudflare Pages

Latest commit: fe45c5452b27181c6a1d30e715b1f9270283e648
Status:✅ Deploy successful!
Preview URL: https://d7d92573.oasis-wallet.pages.dev

@@ -33,7 +33,7 @@ export function DeleteProfileButton({ prominent }: DeleteProfileButtonProps) {
<>
<Button
color="status-error"
label={t('persist.loginToProfile.deleteProfile.button', 'Delete profile')}
label={t('persist.loginToProfile.deleteProfile.button', 'Forgot password?')}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we take into account the second context where button is used? When user has an open profile we will show "Forget password?" in Profile tab.
Screenshot from 2024-04-05 09-06-38

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah :/

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking this variant with Don:
image

Copy link

codecov bot commented Apr 5, 2024

Codecov Report

Attention: Patch coverage is 40.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 81.34%. Comparing base (21a4aca) to head (fe45c54).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1869      +/-   ##
==========================================
+ Coverage   81.31%   81.34%   +0.03%     
==========================================
  Files         193      193              
  Lines        5095     5099       +4     
  Branches      939      943       +4     
==========================================
+ Hits         4143     4148       +5     
+ Misses        952      951       -1     
Flag Coverage Δ
cypress 45.85% <0.00%> (-0.06%) ⬇️
jest 77.27% <40.00%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/app/components/FatalErrorHandler/index.tsx 88.00% <ø> (ø)
src/app/components/Persist/UnlockForm.tsx 55.55% <ø> (ø)
.../app/components/Toolbar/Features/Profile/index.tsx 100.00% <ø> (ø)
src/app/components/Persist/DeleteProfileButton.tsx 68.75% <40.00%> (-6.25%) ⬇️

... and 2 files with indirect coverage changes

@lukaw3d lukaw3d force-pushed the lw/profile-delete-text branch from 0ad34ff to 43ccf68 Compare April 5, 2024 13:18
@lukaw3d lukaw3d force-pushed the lw/profile-delete-text branch from 43ccf68 to fe45c54 Compare April 5, 2024 15:38
@lukaw3d lukaw3d merged commit 6d2022d into master Apr 5, 2024
13 of 15 checks passed
@lukaw3d lukaw3d deleted the lw/profile-delete-text branch April 5, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants