-
Notifications
You must be signed in to change notification settings - Fork 868
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
Remove extra spacing in clear browsing data dialog for PT/Tor windows #14161
Remove extra spacing in clear browsing data dialog for PT/Tor windows #14161
Conversation
195c47b
to
fb4f4de
Compare
@AlexNguyen1612 please let us know when this is ready for review 😄 |
79c0202
to
f7218c7
Compare
f7218c7
to
d3f7ded
Compare
Omg, feel like I'm so bad at Git, apologies if you received notifications constantly @bsclifton (and potentially other people who followed this PR...) |
a710eba
to
06c601e
Compare
Thanks to @sangwoo108 help, the fix is way easier than I originally thought, I just need to remove the "X" by adding |
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.
Thanks for putting this together @AlexNguyen1612! I've checked it out locally and it works well. Personally I think it looks much better the way it is now than before.
One thing, would you mind running npm run format
and committing any formatting changes it makes? After that I'll kick of a build, and if it passes, request a chromium_src
reviewer to have a look 😄
52bbc17
to
9401da2
Compare
@fallaciousreasoning no worries, I have just committed the format changes, please have a look 😄 |
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.
Thank you for the PR!
@brave/chromium-src-reviewers, could you PTAL? |
9401da2
to
d19c783
Compare
chromium_src/chrome/browser/ui/views/incognito_clear_browsing_data_dialog.cc
Show resolved
Hide resolved
chromium_src/chrome/browser/ui/views/incognito_clear_browsing_data_dialog.cc
Outdated
Show resolved
Hide resolved
CI passed : #14614 |
Not really sure what the process is but is there anything else you guys need on my end? 🤔 Just checkin |
When we touch chromium_src/ files, we need approval from chromiu_src reviewers. Let me ping them. |
chromium_src/chrome/browser/ui/views/incognito_clear_browsing_data_dialog.cc
Outdated
Show resolved
Hide resolved
This removed the 'x' button at the top of the dialog to eliminate redundant spacings
Run 'npm run format' to make sure code are nicely formatted Fix brave/brave-browser#21771
Although the original solution worked, it added some complexity only to use SetShowCloseButton(false). This is a much effecient way to do it Fix brave/brave-browser#21771
Address code review comments Fix brave/brave-browser#21771"
Simplify defining SetShowCloseButton and add undef Fix brave/brave-browser#21771
cd38b92
to
ad43a1e
Compare
Yayy, my very first contribution to an open source project on github! Any suggestions on where to go from here? I would love to get involved and contribute more to Brave 😄 |
Huge congratulations @AlexNguyen1612 🥳! Welcome to the world of open source! As you did, you can pick up one of |
Congrats @AlexNguyen1612! Great job working with the team on this one and minimizing the changes needed 😄 Added missing milestone 👍 |
Nice one @AlexNguyen1612! Thanks for the contribution 😄 |
This removed the extra space at the top of the clear browsing data dialog (for Private/Tor windows) that the (removed) header art left so that the UI looks more symmetrical for users
Fix brave/brave-browser#21771
Here are some screenshots
Final version
Resolves
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
See steps in brave/brave-browser#21771