-
Notifications
You must be signed in to change notification settings - Fork 54
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
feat: utxo list #430
feat: utxo list #430
Conversation
Btw, since it came up in the ccommunity call: The tags are colored as follows:
All other tags ( |
)} | ||
</div> | ||
) : ( | ||
<div className={styles.utxoListContainer}> |
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.
className
also utxoListContainer
here? Maybe just a semantic issue.
@theborakompanioni Added the confirmations to the table as discussed. ✅ Also added a refresh button that reloads the wallet info and thus refreshes the utxos. |
const indexOfLockedTag = rawStatus.indexOf('[LOCKED]') | ||
|
||
if (indexOfLockedTag !== -1) { | ||
locktime = rawStatus.substring(0, indexOfLockedTag).trim() |
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.
utxo.locktime
is also populated for time-locked utxos. Is there a specific reason why locktime is parsed from the status
value? Would be nice to remove this special handling of "[LOCKED]". Just asking, because It has not been that reliable in the past.
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.
That is a good point actually. Let me change that. 👍
What follows are some observations while playing with the UI. First of all: Great job. Amazing for a first iteration. It is very informative, functional, visually appealing, and hopefully quite useful for users. I'm eager to hear the feedback from the community. Observations
What follows are things that can probably be addressed in follow-up PRs:
Nits
Questions
|
Nice! Great job, that looks really awesome already. Love the confirmation indicator.
I like the green/yellow/red distinction, and I think having no colors on the other tags is fine. Let's keep it like that and see how it is perceived by users. Only thing I found during testing is that there can be a label/text overlap in the "Jar Details" view, but I guess that's unrelated to this PR. Just bringing it up here so we don't forget.
We're getting there! 😊 🚀 |
Co-authored-by: Thebora Kompanioni <[email protected]>
Awesome, thanks for all the detailed feedback! 🙌 🙏 It's great to know that everything's been thoroughly tested. 👌 I think I addressed everything that needs immediate attention. Please have another look. @theborakompanioni. Below my comments on the things I didn't address yet.
There's some feedback in terms of a loading spinner being shown and hidden again after loading. I personally don't think much more feedback is required (cf. a reload button in a browser which also only has two states usually: loading and not loading.)
Jar details needs a redesign and rewrite imo. Haven't touched it beyond some obvious issues.
Let's push that fix to an upcoming version. 😄
Good idea, let's track that as an improvement: #440.
No I think that'd be confusing to be honest. 😄 Is that a common pattern elsewhere -- performing an operation on non-selected items?
Yes. As mentioned, the Jar Details tab needs a redesign.
Yes I think we're ready to finally remove it now. I tracked #441. |
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.
Added two suggestions, one is a tiny visual "improvement", the other fixes a display bug in dark-mode. (Another one was introduced by me and is fixed in #442)
Please fix and/or merge on your own will. Approved ✔️
This feature rocks 🪨 🪨 🪨
Co-authored-by: Thebora Kompanioni <[email protected]>
https://www.figma.com/file/kfejZJFlwBywvLEnPEmJo1/JoinMarket-UI?node-id=5071%3A87607 Bildschirmaufnahme.2022-08-12.um.14.07.26.mov |
I think its better to have a green Checkmark replacing the spinning loader / refresh icon for 2 seconds as an indicator. |
Resolves #338.
Still in draft as some cleanup, i18n, etc. is still missing. Should be ready to play around with, though. Let me know what you think. More advanced stuff like filtering the table by tags or so can be done later imo.
📸