Skip to content
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

fix(v2): Fix navbar mobile sidebar secondary menu bugs + refactor navbar #5157

Merged
merged 1 commit into from
Jul 13, 2021

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Jul 13, 2021

Motivation

Attempt to fix bug where the secondary menu is not consistently opened when it should

Reported here: #4273 (comment)

Also refactor a bit the navbar desktop/mobile code, extract clean hooks and remove unused css !importants.

Have you read the Contributing Guidelines on pull requests?

yes

Test Plan

preview

Related PRs

#4273

@slorber slorber requested a review from lex111 as a code owner July 13, 2021 10:31
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jul 13, 2021
@netlify
Copy link

netlify bot commented Jul 13, 2021

✔️ [V2]

🔨 Explore the source changes: cb8871e

🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/60ed6b65b2d1a5000715c61e

😎 Browse the preview: https://deploy-preview-5157--docusaurus-2.netlify.app

@github-actions
Copy link

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 75
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-5157--docusaurus-2.netlify.app/

@github-actions
Copy link

Size Change: -190 B (0%)

Total Size: 965 kB

Filename Size Change
website/build/assets/css/styles.********.css 89 kB -50 B (0%)
ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/globalData.json 58.8 kB 0 B
website/build/assets/js/main.********.js 458 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus/index.html 62.3 kB -20 B (0%)
website/build/blog/index.html 26.3 kB -20 B (0%)
website/build/docs-tests/index.html 124 kB -20 B (0%)
website/build/docs-tests/standalone/index.html 19.1 kB -20 B (0%)
website/build/docs/index.html 46 kB -20 B (0%)
website/build/docs/installation/index.html 53.3 kB -20 B (0%)
website/build/index.html 27.3 kB -20 B (0%)

compressed-size-action

@slorber
Copy link
Collaborator Author

slorber commented Jul 13, 2021

@sw-yx let me know if the latest canary works better for you

@slorber slorber merged commit 12faed8 into master Jul 13, 2021
kdrag0n added a commit to kdrag0n/protonaosp.kdrag0n.dev that referenced this pull request Jul 13, 2021
UtsavBalar1231 pushed a commit to UtsavBalar1231/docusaurus that referenced this pull request Jul 24, 2021
We're on canary because of [1]. Upgrade for [2] and [3].

[1] facebook/docusaurus#4273
[2] facebook/docusaurus#5157
[3] facebook/docusaurus#5159

Change-Id: Ic11b4480368fde47a82bd9613513972c51ffd8eb
@slorber slorber deleted the slorber/fix-sidebar-navbar-secondary-menu branch August 17, 2021 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants