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

[UI] Fix CoinJoin group status tooltip #11990

Merged
merged 4 commits into from
Dec 4, 2023

Conversation

adamPetho
Copy link
Collaborator

PR:
image

Master:
image

I remember fixing this issue before... or was it only a dream?
Anyways, here is the fix.

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.

I remember fixing this issue before

me too


it's also not correct when all cj are confirmed, it should just say confirmed
could you fix it aswell?
image

yahiheb
yahiheb previously approved these changes Nov 24, 2023
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.

LGTM

@yahiheb
Copy link
Collaborator

yahiheb commented Nov 24, 2023

I remember fixing this issue before... or was it only a dream?

This PR #11641

Copy link
Contributor

@AlexisKv AlexisKv left a comment

Choose a reason for hiding this comment

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

LGTM

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.

@adamPetho
By the usage, It seems to me GetConfirmationText() is meant to be used only for generating the Confirmed text.
In the method UpdateCoinjoinGroup I believe we should just get the confirmationtooltip of the transaction that has the lowest confirmation number.
Why? Because if we have the FeeRate for that transaction, its message will also contain the confirmation time (in the case of pending) so the coinjoin group can also mention that.
This would result in a better UX.

coinjoinGroup.ConfirmedTooltip = coinjoinGroup.Children.MinBy(x => x.Confirmations)?.ConfirmedTooltip ?? "";

What do you think?

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

@yahiheb yahiheb merged commit 1874809 into WalletWasabi:master Dec 4, 2023
7 checks passed
@MarnixCroes
Copy link
Collaborator

why is this merged?
this #11990 (review) is not fixed

@adamPetho
Copy link
Collaborator Author

this #11990 (review) is not fixed

@MarnixCroes I didn't "fix" it all this time, because IMO there is nothing to fix there. I don't think that's an issue.
If you strongly believe it is, please make a separate issue and let the gods decide its fate.

@adamPetho adamPetho deleted the fix_cjgroup_tooltip branch December 4, 2023 16:56
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.

None yet

5 participants