-
Notifications
You must be signed in to change notification settings - Fork 146
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
fix: incorrect ui with psbt listing tx #4441
Conversation
e74b74f
to
255113d
Compare
255113d
to
bd92a7e
Compare
Thanks! I'll help test this build with buy and sell flows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be adding guidance that, there is a fee, just that this user isn't paying it?
subValue={i18nFormatCurrency(calculateBitcoinFiatValue(addressNativeSegwitTotal)).replace( | ||
'-', | ||
'' | ||
)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we doing this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We subtract inputs from outputs to determine transfer vs receive, but we don't need to show the value displayed as negative if receiving.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can make a remove minus sign function than repeating?
In the same spirit of removing redundancy from this modal (which we can break out into a separate issue as well), @mica000 wdyt of removing this "Transaction" header as well, and moving the security pill (e.g. "Certain") up to the top right of the dialog? |
This is using our |
Gamma does let the user know in their UI before our popup is launched, but not sure that is the case for all apps. |
Is this data captured in the PSBT itself, and would it be shown as something like "Somebody else will pay X in fees"? I'm not really sure the signing / non-paying user needs to know this, though could be convinced it's helpful I guess. |
It seems like since we are showing the fee as |
subValue={i18nFormatCurrency(calculateBitcoinFiatValue(addressNativeSegwitTotal)).replace( | ||
'-', | ||
'' | ||
)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can make a remove minus sign function than repeating?
bd92a7e
to
5c9813a
Compare
Merged this fix, @markmhendrickson can you create a new issue for UI changes you want separately? |
This PR fixes some reported UI bugs with PSBT listing txs...
No longer showing an inscription as being received if the address is transferring it...
If there is no fee, show 0...