Proposed ui updates to the transaction rows on the home view.
Basically some general tweaks to improve readability, make it look less cluttered, and help visually pair the transaction with
the transaction info (ie messages and token info etc)
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Project - Commits
- rABCd40c68b72040: [cashtab] Transaction row UI
preview and check the UI looks nice in different scenarios
before
after
Overall subtle changes, but the things to notice
- added a background to the row so each tx is visually contained and we can lose all the lines
- removed copy icon next to amount. Functoinality remains but removes the clutter as most the time this is unused
- improved castab messages display. before shorter messages would display on the right
- add background circle to icons
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
review is simplified in this type of diff if before + after screenshots highlighting what has changed are included in the test plan
does seem to be better but it's hard to work out exactly what's changing
cashtab/src/assets/styles/theme.ts | ||
---|---|---|
46 ↗ | (On Diff #53695) | this isn't really changing anything right? can back it out |
cashtab/src/components/Home/Tx/index.tsx | ||
1020 ↗ | (On Diff #53695) | what are we achieving here by losing the component and using this custom div and function? if it's a good change, why not implement it in CopyIconButton? I'm not saying we need to do that, it's just unclear from this diff why that approach is avoided. |
Ah sure good point, will add screen caps and more description to test plan
cashtab/src/assets/styles/theme.ts | ||
---|---|---|
46 ↗ | (On Diff #53695) | yes it may appear so, but I'm using this color value in a few places in this diff but with a hex alpha applied, and the hex alpha wont work with the shorthand hex value |
cashtab/src/components/Home/Tx/index.tsx | ||
1020 ↗ | (On Diff #53695) | well I was trying to reduce clutter so looking to axe the copy icon on every amount. Instead just have it copy the amount if the number is clicked. So it doesnt really fit into the copyiconButton component anymore. |
Build Bitcoin ABC Diffs / Diff Testing (preview-cashtab) passed.
Preview is available at http://51.68.37.192:41375 for the next 60 minutes.
Overall I like it, especially the lines removal. But the margin is way more than before and now on my (big) screen I can three 3 full txs vs 5 before the change. Can we remove some of these margins ? Especially the vertical rows spacing inside the tx block
cashtab/src/components/Home/Tx/index.tsx | ||
---|---|---|
1020 ↗ | (On Diff #53695) | ok got it. yeah it is much better without that copy icon everywhere, which is probably not widely used |