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] UI Decoupling #56 #11817

Merged
merged 8 commits into from
Oct 31, 2023
Merged

Conversation

ichthus1604
Copy link
Collaborator

  • Decouples CoinJoinDetailsViewModel
  • Decouples CoinJoinsDetailsViewModel

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.

Update doesn't work.

  1. Open a cj group/cj details.
  2. Wait until a new filter is received/txn confirms
  3. Dialog didn't update the values.

@SuperJMN
Copy link
Collaborator

SuperJMN commented Oct 30, 2023

Update doesn't work.

  1. Open a cj group/cj details.
  2. Wait until a new filter is received/txn confirms
  3. Dialog didn't update the values.

This is caused because TransactionModel isn't getting its properties refreshed. I think I have a solution for this.

IsConfirmed = Confirmations > 0;

TransactionId = _coinJoin.Transaction.Id;
if (_wallet.Transactions.TryGetById(TransactionId, out var transaction))
Copy link
Collaborator

Choose a reason for hiding this comment

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

This method is wrong, only finds parents, and not children.

image

Copy link
Collaborator

Choose a reason for hiding this comment

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

8a4e9ca fixes it

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 a4b49c1 into WalletWasabi:master Oct 31, 2023
2 of 6 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.

None yet

3 participants