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

Add Synthetic USD balance into account overview #1158

Merged
merged 3 commits into from
Aug 29, 2023

Conversation

klochowicz
Copy link
Contributor

@klochowicz klochowicz commented Aug 24, 2023

video.mov

@klochowicz klochowicz self-assigned this Aug 24, 2023
@klochowicz klochowicz linked an issue Aug 24, 2023 that may be closed by this pull request
Copy link
Contributor

@holzeis holzeis left a comment

Choose a reason for hiding this comment

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

It's still weird to me that we show the synthetic usd balance in the wallet screen, because it does not match the transaction history showing an outgoing transaction.

Overall it does not feel consistent, maybe it would be better to first go to figma and have a look there? Also considering that this is not necessarily required for the experiment.

mobile/lib/features/trade/position_change_notifier.dart Outdated Show resolved Hide resolved
mobile/lib/features/trade/position_change_notifier.dart Outdated Show resolved Hide resolved
mobile/lib/features/wallet/wallet_screen.dart Show resolved Hide resolved
@klochowicz klochowicz force-pushed the feat/stablesats-type-in-transactions branch from 4b1f063 to 4e788e4 Compare August 25, 2023 18:40
@klochowicz klochowicz requested review from bonomat and holzeis August 25, 2023 18:40
@klochowicz klochowicz force-pushed the feat/stablesats-type-in-transactions branch 3 times, most recently from 1daa0bf to cd4df74 Compare August 25, 2023 21:23
A log entry whenever *any* event is being sent to Flutter, without any more
    details than the event type was useless.
Synthetic USD balance is de-facto a new "wallet",
therefore displaying the amount of stabilised USD makes sense.
@klochowicz klochowicz force-pushed the feat/stablesats-type-in-transactions branch from cd4df74 to c83f3e6 Compare August 29, 2023 18:41
@klochowicz klochowicz enabled auto-merge August 29, 2023 18:42
Synthetic USD are shown in the overall balance (if we have any).

This is just a suggestion, probably iterating this with the community would be best.
@klochowicz klochowicz force-pushed the feat/stablesats-type-in-transactions branch from c83f3e6 to 17531d4 Compare August 29, 2023 18:55
@klochowicz klochowicz added this pull request to the merge queue Aug 29, 2023
Merged via the queue into main with commit 0d5edb4 Aug 29, 2023
@klochowicz klochowicz deleted the feat/stablesats-type-in-transactions branch August 29, 2023 19:39
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.

Add the USD balance (from stablesats) into the account overview
4 participants