-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 from clear browsing data bubble for PT/Tor windows #21771
Comments
Hi @kjozwiak, I'm totally new to open source development and currently interested in picking up some #good-first-issue, just wondering if you are okay for me to pick this up? Thank you |
Hey @kjozwiak! I'm new to open source and I was looking for a good first issue to work on. It's okay for me to pick this one? Thanks. |
Hi folks - yes; please do investigate and check out 😄 Let us know if you have any questions @kjozwiak can you share more about the spacing (where is the spacing?) Around the borders? or between the two sentences? |
Hi @bsclifton, thank you for your reply, does Brave have an active Slack channel (or something similar) that I can join and reach out to you guys in real time? |
Once we removed the Chrome images via brave/brave-core#12643, there's a small space left at the top where the image used to be. We could probably remove some of that space at the top. It looks unsymmetrical with no space at the bottom but a bunch of space at the top. I think it would look better if we move the text a bit higher in that model now that the images have been removed. CCing @rebron just in case but I remember we talked about removing this space during one of the Tuesday's b-b meetings 👍 |
Hi @kjozwiak and @bsclifton, sorry for the delay response, it took me quite a while to get Brave set up properly and I also spent some time to explore the Brave code base! I've removed the header art view so that the text moves up a bit higher, can you please confirm if this is the desired result or we need to bring it even closer to the top with minimal space with the border? I've attached some screenshots below, including the comparison of two versions for your reference Final version |
Definitely looks a lot better compared to before 👍CCing @rebron @bradleyrichter |
Hi @kjozwiak, thank you for confirming 😄 |
I think this behavior is expected and the patch you submitted @AlexNguyen1612 might not be the correct solution (we want to minimize patches; see our patching guide here: https://github.com/brave/brave-browser/wiki/Patching-Chromium Maybe we can add a chromium_src override for cc: @fallaciousreasoning @sangwoo108 @petemill for Chromium views |
You might also be able to remove the close button with |
Hi @AlexNguyen1612 ! You're almost there! I made a rough patch to help you override the dialog https://github.com/brave/brave-core/compare/sko/dialog-stub?expand=1 . You can do what you want in the ctor. ( Like @fallaciousreasoning said, you can use |
Hi @bsclifton, @fallaciousreasoning and @sangwoo108 |
is it still open? |
It looks like @AlexNguyen1612 pushed a commit a couple of days ago in his branch, so I'd say the issue is still open, but being worked on 😄 |
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"
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
Added missing milestone 👍 |
Verified
|
Brave | 1.44.73 Chromium: 105.0.5195.68 (Official Build) beta (x86_64) |
---|---|
Revision | ad13e82529051bac6a0e65f455e6d7a1e5fd7938-refs/branch-heads/5195@{#903} |
OS | macOS Version 13.0 (Build 22A5331f) |
Steps:
- installed
1.44.73
- launched Brave
- launched a
Private window
via"hamburger menu"
->New Private Window
- launched a
Private window with Tor
via"hamburger menu"
->New Private Window with Tor
- launched a
Guest window
via"hamburger menu"
->Open Guest Window
- in each, selected
"hamburger menu"
->More Tools
->Clear Browsing Data...
- examined and confirmed fixed vertical spacing in the
Cancel
Close Windows
dialog
Private window | Private window with Tor | Guest window (unavailable) |
---|---|---|
Description
After removing the images from the clear browsing data bubble for PT/Tor windows via brave/brave-core#12643, you'll notice that there's some extra space that can be removed to clean things up.
Steps to Reproduce
Hamburger Menu
->More Tools
->Clear browsing data
Actual result:
Tor Window Example
PB Window Example
Expected result:
We should remove the extra spacing after removing the image from the modal via brave/brave-core#12643.
Reproduces how often:
100% reproducible using the STR/Cases outlined above.
Brave version (brave://version info)
Version/Channel Information:
Yes
Yes
Yes
Other Additional Information:
N/A
N/A
N/A
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: