Repository navigation
qt: Finetune OverviewPage - #3715
Conversation
Make sure they follow the same format as the transactions in TransactionsView. - Removed the transaction type representing arrows - Apply the same coloring like like in the transaction tab for the different transaction types (orange = internal, red = outgoing, green = incoming)
This allows to have the elements on the screen aligned symetrically around the center independent from the window size/resizing.
Just to fill the empty space
…t transactions based on PS
Co-Authored-By: UdjinM6 <[email protected]>
Co-Authored-By: UdjinM6 <[email protected]>
Can't reproduce the tx list scrolling issue anymore
|
Will review after we finalize 3710 |
…sactionList is called We call SetupTransactionList every second now (from privateSendStatus()) and this makes GUI unresponsive for huge wallets (I have ~400k txes in my testnet wallet) because of filter recreation/sorting. There is no need to go through all setup steps really, simply updating the limit works just fine and fixes the issue.
|
d44a290 doesn't work for me, see 4ec87a62b2. Also, a tiny code style issue, see 96cb304116. |
|
@UdjinM6 Just asking because i couldn't figure an issue here on my side, whats the issue you get without 4ec87a62b2ea590e08f383648f4267cca4fdae7f? Actually i would assume there should be no need to set the same model/modelColum again and again? |
The number of items in tx list isn't updated when you start/stop mixing.
Well, changing the limit requires that it seems. But we can optimize this indeed, see 6593b43ae3 |
Makes sense, picked 👍 However, there is still an issue.. but i spent way too much time on that today so i decided to go with 5acf6e861b1b9547c3ff5f4ffb3fc94fb466fc5a instead for now :D actually i would really love to get the WHY it does behave like this so if someone else has an idea, please tell me 😄 My understanding of the issue: After sync and whatnot are done |
5acf6e8 to
b63cd0e
Compare
|
I'm really not a fan of the empty space to the left of the balances. Everything else seems to be fine so far.. |
|
Also: All things under privatesend should be tabbed to indicate they are a part of that section |
|
I think I figured it out, pls see 30d17bbc54 and d1215c4f23 |
It looks better if there are addresses inside instead of labels :D but i agree there is room for improvement 👍
Hm IMO thats very clear visible due to the different titles on that screen. I mean, there isn't really anything else around those widgets what you could confuse with the section 🤔 |
What do you mean? I'm not talking about the recent transactions on the right, but the balances on the left. Old behavior of no added whitespace to the left of the balances is good, and should be preserved |
|
Also, please rebase this PR on develop |
PastaPastaPasta
left a comment
There was a problem hiding this comment.
ACK dependent on @iamsuba agreeing to these changes
|
Honestly the whole layout is not designed to be responsive. So centrally aligning them makes more sense than letting expand around the corners. I agree to the changes proposed. @xdustinface @PastaPastaPasta |
* qt: Adjust "Recent Transactions" in Overview tab Make sure they follow the same format as the transactions in TransactionsView. - Removed the transaction type representing arrows - Apply the same coloring like like in the transaction tab for the different transaction types (orange = internal, red = outgoing, green = incoming) * qt: Cleanup layout of OverviewPage in css * qt: Add three spacer (left, middle, right) and adjust layout stretch. This allows to have the elements on the screen aligned symetrically around the center independent from the window size/resizing. * qt: Inrease date/amount size for "Recent Transactions" in Overview tab * qt: Inrease number of "Recent Transactions" displayed in Overview tab Just to fill the empty space * qt: Make sure PS elements show as expected and adjust number of recent transactions based on PS * qt: Adjust transaction entry generation Co-Authored-By: UdjinM6 <[email protected]> * qt: Adjust warning message box Co-Authored-By: UdjinM6 <[email protected]> * Move tx list style to css * Fix tx list style for the traditional theme * Drop (no longer needed?) min height offset in SetupTransactionList Can't reproduce the tx list scrolling issue anymore * Avoid recreating transaction filter from scratch every time SetupTransactionList is called We call SetupTransactionList every second now (from privateSendStatus()) and this makes GUI unresponsive for huge wallets (I have ~400k txes in my testnet wallet) because of filter recreation/sorting. There is no need to go through all setup steps really, simply updating the limit works just fine and fixes the issue. * qt: Fix an `if` statement * qt: Just some refactoring * fix code style * bail out if `filter->rowCount() == nNumItems` * qt: Make sure number of transactions is always correct * Drop spacer to let recent tx list occupy max height available * TransactionFilterProxy::setLimit should emit signals to let coresponding layouts update themselves https://doc.qt.io/qt-5/qabstractitemmodel.html#layoutAboutToBeChanged https://doc.qt.io/qt-5/qabstractitemmodel.html#layoutChanged Co-authored-by: UdjinM6 <[email protected]>
* qt: Adjust "Recent Transactions" in Overview tab Make sure they follow the same format as the transactions in TransactionsView. - Removed the transaction type representing arrows - Apply the same coloring like like in the transaction tab for the different transaction types (orange = internal, red = outgoing, green = incoming) * qt: Cleanup layout of OverviewPage in css * qt: Add three spacer (left, middle, right) and adjust layout stretch. This allows to have the elements on the screen aligned symetrically around the center independent from the window size/resizing. * qt: Inrease date/amount size for "Recent Transactions" in Overview tab * qt: Inrease number of "Recent Transactions" displayed in Overview tab Just to fill the empty space * qt: Make sure PS elements show as expected and adjust number of recent transactions based on PS * qt: Adjust transaction entry generation Co-Authored-By: UdjinM6 <[email protected]> * qt: Adjust warning message box Co-Authored-By: UdjinM6 <[email protected]> * Move tx list style to css * Fix tx list style for the traditional theme * Drop (no longer needed?) min height offset in SetupTransactionList Can't reproduce the tx list scrolling issue anymore * Avoid recreating transaction filter from scratch every time SetupTransactionList is called We call SetupTransactionList every second now (from privateSendStatus()) and this makes GUI unresponsive for huge wallets (I have ~400k txes in my testnet wallet) because of filter recreation/sorting. There is no need to go through all setup steps really, simply updating the limit works just fine and fixes the issue. * qt: Fix an `if` statement * qt: Just some refactoring * fix code style * bail out if `filter->rowCount() == nNumItems` * qt: Make sure number of transactions is always correct * Drop spacer to let recent tx list occupy max height available * TransactionFilterProxy::setLimit should emit signals to let coresponding layouts update themselves https://doc.qt.io/qt-5/qabstractitemmodel.html#layoutAboutToBeChanged https://doc.qt.io/qt-5/qabstractitemmodel.html#layoutChanged Co-authored-by: UdjinM6 <[email protected]>
This PR brings the following changes to the
OverviewPage:@UdjinM6 68b3e36 and 876fffd are inspired by 55c0f40, thanks for that 👍 let me know if you would like to see more of it in here.
Requires #3710 to make sense / look good.
Preview