Skip to content

Conversation

@edi-odoo
Copy link
Contributor

@edi-odoo edi-odoo commented Jun 14, 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

@robodoo
Copy link
Collaborator

robodoo commented Jun 14, 2022

@C3POdoo C3POdoo requested review from a team June 14, 2022 09:33
@edi-odoo edi-odoo force-pushed the 13.0-menu-revamp-edi branch from 2afc70d to bfafc2a Compare June 14, 2022 13:42
edi-odoo and others added 8 commits June 15, 2022 09:51
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
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 '/'.
@AntoineVDV AntoineVDV force-pushed the 13.0-menu-revamp-edi branch from bfafc2a to 98e98f6 Compare June 15, 2022 07:56
@AntoineVDV AntoineVDV changed the title [IMP] design: revamp header and menu for better mobile support [MERGE] odoo_theme: revamp header and menu for better mobile support Jun 15, 2022
@AntoineVDV AntoineVDV removed the request for review from a team June 15, 2022 07:58
Copy link
Collaborator

@AntoineVDV AntoineVDV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robodoo r+ merge

@robodoo
Copy link
Collaborator

robodoo commented Jun 15, 2022

Merge method set to merge directly, using the PR as merge commit message

@robodoo robodoo merged commit 10f62b6 into 13.0 Jun 15, 2022
@robodoo robodoo deleted the 13.0-menu-revamp-edi branch June 15, 2022 09:16
@robodoo robodoo temporarily deployed to merge June 15, 2022 09:17 Inactive
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants