-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[MERGE] odoo_theme: revamp header and menu for better mobile support #2206
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
2afc70d to
bfafc2a
Compare
Before this commit, the language names were translated to display "Français" instead of "French". This helped the user find their language in the switcher but it was taking too much horizontal space, and that space was not constant from one language to another. This commit removes the translations of the language names and simply goes with "FR", "NL", etc. which any user can identify as their language. task-2800937
task-2800937
task-2800937
task-2800937
task-2800937
The mechanism that makes the version and language switchers test for valid URLs crashed when testing in localhost. The mechanism is now skipped if the URL starts with a '/'.
bfafc2a to
98e98f6
Compare
AntoineVDV
approved these changes
Jun 15, 2022
Collaborator
AntoineVDV
left a comment
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.
@robodoo r+ merge
Collaborator
|
Merge method set to merge directly, using the PR as merge commit message |
This was referenced Jun 15, 2022
robodoo
added a commit
that referenced
this pull request
Jun 15, 2022
Previously the switchers were hidden on mobile. These have been moved to a sub-nav which also contains the button for the sidenav, leaving more space for the searchbox so it can remain in the header. Like MDN web docs, the navigation now slides in from the left instead of the top. See PR's commits for more details. task-2800937 closes #2220 Forward-port-of: #2206 Signed-off-by: Antoine Vandevenne (anv) <[email protected]>
robodoo
added a commit
that referenced
this pull request
Jun 15, 2022
Previously the switchers were hidden on mobile. These have been moved to a sub-nav which also contains the button for the sidenav, leaving more space for the searchbox so it can remain in the header. Like MDN web docs, the navigation now slides in from the left instead of the top. See PR's commits for more details. task-2800937 closes #2216 Forward-port-of: #2206 Signed-off-by: Antoine Vandevenne (anv) <[email protected]>
robodoo
added a commit
that referenced
this pull request
Jun 15, 2022
Previously the switchers were hidden on mobile. These have been moved to a sub-nav which also contains the button for the sidenav, leaving more space for the searchbox so it can remain in the header. Like MDN web docs, the navigation now slides in from the left instead of the top. See PR's commits for more details. task-2800937 closes #2222 Forward-port-of: #2206 Signed-off-by: Antoine Vandevenne (anv) <[email protected]>
robodoo
added a commit
that referenced
this pull request
Jun 15, 2022
Previously the switchers were hidden on mobile. These have been moved to a sub-nav which also contains the button for the sidenav, leaving more space for the searchbox so it can remain in the header. Like MDN web docs, the navigation now slides in from the left instead of the top. See PR's commits for more details. task-2800937 closes #2221 Forward-port-of: #2206 Signed-off-by: Antoine Vandevenne (anv) <[email protected]>
robodoo
added a commit
that referenced
this pull request
Jun 15, 2022
Previously the switchers were hidden on mobile. These have been moved to a sub-nav which also contains the button for the sidenav, leaving more space for the searchbox so it can remain in the header. Like MDN web docs, the navigation now slides in from the left instead of the top. See PR's commits for more details. task-2800937 closes #2219 Forward-port-of: #2206 Signed-off-by: Antoine Vandevenne (anv) <[email protected]>
robodoo
added a commit
that referenced
this pull request
Jun 15, 2022
Previously the switchers were hidden on mobile. These have been moved to a sub-nav which also contains the button for the sidenav, leaving more space for the searchbox so it can remain in the header. Like MDN web docs, the navigation now slides in from the left instead of the top. See PR's commits for more details. task-2800937 closes #2217 Forward-port-of: #2206 Signed-off-by: Antoine Vandevenne (anv) <[email protected]>
robodoo
added a commit
that referenced
this pull request
Jun 15, 2022
Previously the switchers were hidden on mobile. These have been moved to a sub-nav which also contains the button for the sidenav, leaving more space for the searchbox so it can remain in the header. Like MDN web docs, the navigation now slides in from the left instead of the top. See PR's commits for more details. task-2800937 closes #2218 Forward-port-of: #2206 Signed-off-by: Antoine Vandevenne (anv) <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously the switchers were hidden on mobile. These have been moved
to a sub-nav which also contains the button for the sidenav, leaving
more space for the searchbox so it can remain in the header. Like MDN
web docs, the navigation now slides in from the left instead of the
top.
See PR's commits for more details.
task-2800937