Navigation
Moving around efficiently
Learn how to navigate CodePlanet efficiently using the sidebar, keyboard shortcuts, and command palette.
Sidebar Navigation
The sidebar is your primary navigation tool. It can be expanded (showing icons + text) or collapsed (icons only).
Toggle the Sidebar
| Method | Action |
|---|---|
| Button | Click the collapse/expand button at the top of the sidebar |
| Keyboard | Press Ctrl+B (Windows/Linux) or Cmd+B (Mac) |
| Mobile | Swipe from the left edge of the screen |
Sidebar Sections
| Section | Icon | Description |
|---|---|---|
| Home | π | Dashboard overview |
| Problems | π» | Browse and solve problems |
| Learning Paths | πΊοΈ | Structured courses |
| Daily Challenge | β‘ | Today's problem |
| Certificates | ποΈ | Your earned certificates |
| Settings | βοΈ | Account preferences |
| Help | β | Documentation and support |
Visual States
Expanded Sidebar (240px)
Collapsed Sidebar (64px)
Command Palette
The command palette (Ctrl+K or Cmd+K) provides quick access to any feature:
Available Commands
| Command | Action |
|---|---|
Go to [page] | Navigate to any page |
Search [query] | Search problems |
Submit | Submit current solution |
Run Tests | Test without submitting |
Settings | Open settings |
Theme | Toggle dark/light mode |
Logout | Sign out |
Keyboard Navigation
Global Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+K / Cmd+K | Open command palette |
Ctrl+B / Cmd+B | Toggle sidebar |
Ctrl+/ / Cmd+/ | Open search |
? | Show all shortcuts |
Escape | Close modal/menu |
Go-To Shortcuts
Press G followed by another key to navigate:
| Shortcut | Destination |
|---|---|
G H | Home (Dashboard) |
G P | Problems list |
G D | Daily Challenge |
G L | Learning Paths |
G S | Settings |
G O | Documentation |
Problem Page Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+Enter | Submit solution |
Ctrl+Shift+Enter | Run tests |
Ctrl+S | Save draft |
Ctrl+R | Reset code |
Tab | Focus code editor |
Navigation Shortcuts
| Shortcut | Action |
|---|---|
J / K | Move down/up in lists |
Enter | Select focused item |
[ / ] | Previous/Next problem |
H / L | Previous/Next page |
Mobile Navigation
On mobile devices (< 768px):
Sidebar Drawer
- Tap the hamburger menu (β°) to open
- Tap outside or swipe left to close
- Tap any item to navigate
Bottom Navigation
Quick access to key sections:
Gestures
- Swipe right from left edge: Open sidebar
- Swipe left on sidebar: Close sidebar
- Pull down on lists: Refresh
Breadcrumb Navigation
On deeper pages, breadcrumbs show your location:
Click any part to navigate back.
Tab Navigation
Some sections have tabbed interfaces:
Switch tabs with:
- Click the tab
1-5number keys- Arrow keys when focused
Focus Management
Skip Link
Press Tab on any page to reveal a "Skip to content" link.
Focus Trapping
When modals/drawers open, focus is trapped inside and restored on close.
Focus Indicators
All interactive elements have visible focus rings (:focus-visible).
Accessibility
Navigation is fully accessible:
| Feature | Implementation |
|---|---|
| ARIA Labels | All buttons/links labeled |
| Landmarks | Semantic regions (nav, main, aside) |
| Screen Reader | Sidebar state announced |
| Reduced Motion | Animations respect user preference |
| Keyboard Only | Full navigation without mouse |
Next Steps
- Keyboard Shortcuts β Complete shortcut reference
- Accessibility β Full accessibility guide
- Dashboard Overview β Dashboard features