-
Notifications
You must be signed in to change notification settings - Fork 974
Refactor about:preferences#payments followups #6047
Refactor about:preferences#payments followups #6047
Conversation
@@ -1134,17 +1144,6 @@ table.sortableTable { | |||
} | |||
} | |||
|
|||
span { |
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.
Note: this is outside of .walletBar. The commit message of 6c168c7 will be fixed when squashing.
|
padding-top: 10px; | ||
padding-bottom: 10px; | ||
|
||
.paymentHistoryFooter { |
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.
This will fix #6061
@luixxiul if you want to squash it up, I'm finally checking it out now 😄 I'm not sure how many more UI changes we should pull in, so I'm leaving it as 0.13.1 for now... Will leave notes here after I get a chance to try it 😄 |
Actually, with how bad #6061 looks, maybe this should be pulled in |
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.
Lots of small changes; I tried it out and I really like it 😄 However, I was curious if you could summarize all of the changes in the original post of the PR. As a reviewer, I'm having a hard time knowing what to look for and I feel that I may make a mistake
@bsclifton thanks, I've noticed it. Should I include the fix into this PR? It will be like this: https://github.com/luixxiul/browser-laptop/commit/2327e9eca53eb4a637dd4c3e3a2a1d1f613c2fbc#commitcomment-19937858 |
@bsclifton rather should I add comments on lines https://github.com/brave/browser-laptop/pull/6047/files (or in each commit) to clarify what I changed? |
@luixxiul the change you made above, let's definitely include with this PR 👍 The screenshots are ok- it would help to have a quick summary like:
Actually- looking at your commit history, those messages are almost perfect 😄 The pictures are only useful (to me as a reviewer at least) if there is a before and after |
@bsclifton Updated and squashed! I added the summary and the QA steps for each commit in the original post of this PR. |
Updated, removing |
Big ++ from me too! Really nice cleanup of the original post, BTW 😄 This was an intimidating pull request for sure- but the work is very much appreciated. Going forward, I don't think we'll ever have this many tweaks to the same pages again Squash it up and then I'll give it one last test and can merge after that 😄 |
…erences#payments Mockup images by @bradleyrichter: 5719#issuecomment-262431933 Restyled modal dialog under .paymentsContainer - Made the background of modal dialog consistent (except .coinbaseOverlay) - Changed border-radius of modal dialog in .paymentsContainer from 4px to 8px (fixes 6223) - Fixed spacing of the modal dialog header (fixes 6221) - Set padding:25px to .sectionTitle in .dialog-header - Set margin-top:0 to the first panel inside .board - Set margin-bottom:0 to the last panel inside .board - Aligned buttons in the footer with flex-end (fixes 6219) - Introduced .addFundsBoard - Aligned fa icons on the payment panel with display:flex (fixes 6222) - Aligned "Transfer BTC button" with display:flex - Fixed panelFooter in .addFundsBoard (fixes 5799) - Aligned Coinbase icon and message - Display the footer (closes 6007) Restyled advanced settings dialog - Designed "hide sites if" options on the dialog (closes 6201, which is a follow-up of 4681) - Made the margin consistent between the headers/labels and the input/select element - Addresses 6047#issuecomment-265946727 Auditors: @bsclifton Test Plan 1 1. Enable Coinbase if not 2. Open about:preferences#payments 3. Click "Add funds..." 4. Make sure the board is well styled 5. Make sure the footer is aligned horizontally 6. Click "Fund with debit/credit" 7. Make sure Coinbase widget is displayed with transparent background 8. Open https://jsfiddle.net/LnwtLckc/5/ 9. Click "register" and go back 10. Make sure "Transfer BTC" button is aligned to right Test Plan 2 1. Click "Advanced Settings..." 2. Check the margin between the labels and the select forms 3. Click "Backup your wallet" 4. Check the margin between the labels and the keys 5. Click "Done" and "Recover your wallet" 6. Check the margin between the labels and the input forms
Closes 6202 Closes 3485 /cc: @mrose17 - Removed "pull-right" class from the close button in modalOverlay.less (to confirm 21ece29 of 6009 fixed 5719) - Added color:@braveMediumOrange to .sectionTitle of .paymentHistory (closes 6229) - Added padding-left and padding-right to th and td (fixes 6231) - Added white-space:nowrap to disable wrap (fixes 6230) - Added min-width:80px to the button inside the footer (fixes 6232) - Made sectionTitle consistent - Removed ":not(.paymentHistory)" from modalOverlay.less Test Plan: 1. Disable the ledger 2. run "npm run add-simulated-payment-history" some times 3. Enable the ledger 4. Click "View Payment History..." 5. Click "OK" button
Looks great, merging! 😄 |
Resolves #7501 #7380 #6364 Auditors: @bsclifton @cezaraugusto Test plan: - everything should work the same as was before the chage
git rebase -i
to squash commits (if needed).This is a follow-up of #6009
This PR has 6 commits:
Test plans are explained below.
1st commit
Polishment of titleBar and walletBar
On about:preferences#payments
On about:preferences
Test Plan 1
2nd commit
Made the selectors specific on about:preferences#payments to avoid unexpected regressions
See the commit message for more details
Also .paymentHistoryFooter was introduced to fix #6061
Test Plan 2
preferences.js
3rd commit
Added margin-bottom of the transfer funds button (Redo #6049)
This fixes #6048
Test Plan 3
4th commit
This commit will be squashed with the 5th commit after review
Fixed advanced settings modal dialogs on about:preferences#payments
Added white-space:nowrap to recovery keys (fixes #6220)
Test Plan 4
(n/a; covered by Test Plan 5)
5th commit
Polishment of modal dialog and advanced settings dialog on about:preferences#payments
Mockup images by @bradleyrichter: #5719 (comment)
Restyled modal dialog under .paymentsContainer
For US
For non-US
Restyled advanced settings dialog
Test Plan 5
For "Restyled modal dialog under .paymentsContainer"
For "Restyled advanced settings dialog"
6th commit
Restyled payment history table
Closes #6202
Closes #3485
Test Plan:
npm run add-simulated-payment-history
some times