-
-
Notifications
You must be signed in to change notification settings - Fork 161
docs: Fix navbar collapse behavior #2802
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
Conversation
|
WalkthroughThe navigation bar in the documentation layout was restructured for improved responsive behavior. The collapse mechanism was refactored, toggles were clarified and separated for the navbar and sidebar, and layout adjustments were made for better alignment and usability on small screens. Table of contents navigation styling was also refined. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Navbar (Layout.vue)
participant Sidebar (OnThisPage/Docs)
participant CollapseMenu
User->>Navbar: Clicks hamburger menu
Navbar->>CollapseMenu: Toggles navbar links (collapsed/expanded)
User->>Navbar: Clicks "Browse docs" button
Navbar->>Sidebar: Toggles sidebar menu
User->>Navbar: Clicks "On this page" button
Navbar->>Sidebar: Toggles on-this-page menu
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes found. Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (6)📓 Common learnings
📚 Learning: the generic type parameter for table items should use the singular form `item` rather than the plura...
Applied to files:
📚 Learning: in btabs component (packages/bootstrap-vue-next/src/components/btabs/btabs.vue), the complex initial...
Applied to files:
📚 Learning: the `` component in the bootstrap-vue-next documentation automatically renders t...
Applied to files:
📚 Learning: btooltip is a very thin wrapper around bpopover in bootstrap-vue-next. there is no separate `usetool...
Applied to files:
📚 Learning: in btabs component (packages/bootstrap-vue-next/src/components/btabs/btabs.vue), the activeindex and...
Applied to files:
🔇 Additional comments (4)
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
commit: |
Describe the PR
Clean up how navbar collapse/table of contents/on this page interact. Move it closer to how vite does things where on smaller screens the toc and top offcanvas components are controlled by link-style buttons below the navbar and the hamburger on the navbar controls the collapsed part of that component.
Also fix several marginally related esthetic issues that I ran across while doing the functional work above.
closes #2797
Small replication
A small replication or video walkthrough can help demonstrate the changes made. This is optional, but can help observe the intended changes. A mentioned issue that contains a replication also works.
PR checklist
What kind of change does this PR introduce? (check at least one)
fix(...)
feat(...)
fix(...)
docs(...)
The PR fulfills these requirements:
CHANGELOG
is generated from these messages, and determines the next version type. Pull requests that do not follow conventional commits or do not have an override will be deniedSummary by CodeRabbit
New Features
Style