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

[VDG] Close the Success dialog automatically #12312

Conversation

wieslawsoltes
Copy link
Collaborator

Fixes #11568

@wieslawsoltes wieslawsoltes marked this pull request as ready for review January 28, 2024 12:23
@wieslawsoltes wieslawsoltes marked this pull request as draft January 28, 2024 12:26
@wieslawsoltes wieslawsoltes marked this pull request as ready for review January 28, 2024 12:29
@wieslawsoltes wieslawsoltes changed the title Close the Success dialog automatically [VDG] Close the Success dialog automatically Jan 29, 2024
Copy link
Collaborator

@soosr soosr left a comment

Choose a reason for hiding this comment

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

cACK

The autoclosing should be also applied to the SuccessViewModel.
And both view (SuccessView, AddedWalletPageView) should only contain an animating checkmark. Basically, exactly how is it in SuccessView (without the text).

@pull-request-size pull-request-size bot added size/M and removed size/S labels Jan 30, 2024
Copy link
Collaborator

@MarnixCroes MarnixCroes left a comment

Choose a reason for hiding this comment

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

tested lgtm daf679a

a29bc69 good👍, at prior commits the animation was too short for me

@soosr
Copy link
Collaborator

soosr commented Jan 31, 2024

@wieslawsoltes Just found that SendSuccessViewModel should also be modified.

yahiheb
yahiheb previously approved these changes Jan 31, 2024
Copy link
Collaborator

@yahiheb yahiheb left a comment

Choose a reason for hiding this comment

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

tACK

@wieslawsoltes
Copy link
Collaborator Author

@wieslawsoltes Just found that SendSuccessViewModel should also be modified.

@soosr done 22a7418

yahiheb
yahiheb previously approved these changes Feb 1, 2024
Copy link
Collaborator

@yahiheb yahiheb left a comment

Choose a reason for hiding this comment

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

tACK

Copy link
Collaborator

@MarnixCroes MarnixCroes left a comment

Choose a reason for hiding this comment

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

22a7418 the closure is too fast
I'm unable to read all the text which gives me bad UX

@soosr
Copy link
Collaborator

soosr commented Feb 1, 2024

I'm unable to read all the text which gives me bad UX

There shouldn't be text, just the checkmark.

@wieslawsoltes
Copy link
Collaborator Author

I'm unable to read all the text which gives me bad UX

There shouldn't be text, just the checkmark.

Remove text 284cfbe

Copy link
Collaborator

@soosr soosr left a comment

Choose a reason for hiding this comment

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

first round of review

WalletWasabi.Fluent/ViewModels/SuccessViewModel.cs Outdated Show resolved Hide resolved
WalletWasabi.Fluent/Views/SuccessView.axaml Outdated Show resolved Hide resolved
WalletWasabi.Fluent/Views/SuccessView.axaml Outdated Show resolved Hide resolved
@@ -4,20 +4,15 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:c="using:WalletWasabi.Fluent.Controls"
xmlns:vm="using:WalletWasabi.Fluent.ViewModels.Wallets.Send"
xmlns:views="clr-namespace:WalletWasabi.Fluent.Views"
mc:Ignorable="d"
x:DataType="vm:SendSuccessViewModel"
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Wallets.Send.SendSuccessView">
<c:ContentArea Title="{Binding Title}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Title can be removed

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

That commit doesn't remove the title from this view.

Copy link
Collaborator

@soosr soosr left a comment

Choose a reason for hiding this comment

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

Final review:

WalletWasabi.Fluent/Views/SuccessAnimationView.axaml Outdated Show resolved Hide resolved
@wieslawsoltes
Copy link
Collaborator Author

Final review:

633e437

  • Can you create a variable for the delay time and use that everywhere?

0e07f11

388b582

Copy link
Collaborator

@soosr soosr left a comment

Choose a reason for hiding this comment

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

tACK

@soosr soosr merged commit c1d664a into WalletWasabi:master Feb 2, 2024
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[VDG] Remove Success dialog step after creating/recovering a wallet
5 participants