-
Notifications
You must be signed in to change notification settings - Fork 974
Conversation
@@ -325,6 +325,7 @@ alwaysDeny=Always deny | |||
alwaysAsk=Always ask | |||
autoHideMenuBar=Hide the menu bar by default | |||
disableTitleMode=Always show the URL bar | |||
wideURLbar=Use wide URL bar |
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.
I actually am not sure if it sounds native. Should it be rather something like Maximize the URL bar
or Make the URL bar wide
, etc?
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.
@luixxiul I think that's a good name 😄
Other names might be too complex, like "Have URL bar fill entire width" (which sounds confusing)
code looks good but I'm not sure if we want the UI as-is. Mind adding this commit to a branch in the main repo so @bradleyrichter can check it out? some screenshots might help as well |
np I'll upload gif later. also:
|
It is disabled by default. cf: https://github.com/brave/browser-laptop/pull/8714/files#diff-18a136e10fa10b96b0c7256285b87f95R134 |
Also I found the fix for the issue above. I'll push another commit. |
For @bradleyrichter: |
ready for re-review. |
@@ -167,6 +168,8 @@ class NavigationBar extends React.Component { | |||
} | |||
|
|||
render () { | |||
const wideURLbar = getSetting(settings.WIDE_URL_BAR) |
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.
All variables that are used in renderer needs to be defined in mergeProps
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.
Fixed with 9edeee4
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.
perfect thank you
@@ -483,9 +483,12 @@ class UrlBar extends React.Component { | |||
} | |||
|
|||
render () { | |||
const wideURLbar = getSetting(settings.WIDE_URL_BAR) |
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.
ditto
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.
Fixed with 9edeee4
OK I'll address that. |
Updated. |
@@ -183,7 +183,8 @@ AppStore | |||
'extensions.pocket.enabled': boolean, // true if pocket is enabled | |||
'extensions.vimium.enabled': boolean, // true if vimium is enabled | |||
'general.autohide-menu': boolean, // true if the Windows menu should be autohidden | |||
'general.bookmarks-toolbar-mode': boolean, // true to show bookmakrs toolbar | |||
'general.wide-url-bar': boolean, // true to use wide URL bar | |||
'general.bookmarks-toolbar-mode': boolean, // true to show bookmarks toolbar |
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.
just fixed typo
Fix #8421 Auditors: Test Plan 1: 1. Clear the browser profile 2. Open the browser 3. Open about:preferences#general 4. Make sure "Use wide URL bar" is disabled 5. Enable the option 6. Make sure the URL bar fills the margin around itself Test Plan 2: 1. Open about:preferences#advanced 2. Enable/disable 'Always show the URL bar' 3. Make sure the setting is applied Test Plan 3: 1. Open about:preferences#extensions 2. Enable LastPass extension 3. Make sure there is margin between the URL bar and the extension's icon Test Plan 4: 1. Minimize the window's width 2. Make sure there does not appear extraDragArea between the URL bar and the extension's icon Test Plan 5: 1. Open about:preferences#general 2. Change the window width from 600 px to 599 px 3. Make sure the URL bar width does not change greatly
Since the issue has been addressed, I'm going to merge this. Let's address other issues if any with follow-ups. |
Great job, @luixxiul! This looks amazing. I'll definitely be using it 😄 |
Fix #8421
Auditors:
Test Plan 1:
Test Plan 2:
Test Plan 3:
Test Plan 4:
Test Plan 5:
git rebase -i
to squash commits (if needed).