Skip to content

fix: freeze left sidebar IA for v1 shipping#59

Open
scaleborg wants to merge 4 commits intomainfrom
fix/navbar-freeze-v1
Open

fix: freeze left sidebar IA for v1 shipping#59
scaleborg wants to merge 4 commits intomainfrom
fix/navbar-freeze-v1

Conversation

@scaleborg
Copy link
Owner

Summary

  • Add thin divider after Chat to visually separate Core trio (Ingest/Library/Chat) from Learning/Career/Projects/Organizer
  • Add thin divider after Mission Control to separate Workspaces from Reference/Personal/Business
  • Add "Business" NavGroupLabel so it reads as its own section

What stays as-is

  • All routes intact, no routes removed or renamed
  • Learning sub-items (Tracks, Concepts, Lenses, Levels, Chinese, Cantonese, Math, Culture Generale, Cognitive Toolkit, Behavioral Design)
  • Career sub-items (Profile, Accelerator, Network, Opportunities, Foundations)
  • Projects sub-items (Enterprise, AI-powered, OSS, HF)
  • Math = single sidebar entry pointing to /math (sub-navigation lives inside the page)
  • Reference deep-link area unchanged
  • System (Monitor/Changelog/System Tools) and Docs (How It Works) unchanged
  • /how-gpu-works stays in Reference

Test plan

  • npx tsc --noEmit passes
  • pnpm lint passes (0 errors)
  • Playwright: sidebar structure verified at /ingest and /math
  • All sections visible and correctly grouped
  • Math remains single primary entry under Learning
  • No regression in Career, Projects, Business, Docs sections

…tion

Navigation IA cleanup: math route consolidation and sidebar
discoverability improvements across multiple sections.

Math routing:
- Add /math hub page (MathLandingView) linking to Refresh and Bridge
- Add canonical routes /math/refresh and /math/bridge
- Legacy /math-refresh and /math-bridge redirect with params preserved
- Reference deep links untouched

Sidebar wiring (Learning + Career):
- Add Cognitive Toolkit and Behavioral Design to Learning section
- Add Career Foundations to Career section
- Extend Learning and Career header active states

Sidebar wiring (Projects + Business):
- Add OSS Projects and HF Projects to Projects section
- Add Brand Studio and Execution Playbook to Business section
- Extend parent header active states

Section rename:
- "Side Projects" → "Business" (label + aria only)

Docs deep-dives:
- Add 6 deep-dive sub-items under Docs > How It Works
- Extend Docs header active state for deep-dive routes
- Add mcp_ecosystem ViewId for /how-mcp-works
- /how-gpu-works intentionally left in Reference
Separate Core (Ingest/Library/Chat) from Learning/Career/Projects/Organizer
with a thin divider. Separate Mission Control from Reference/Personal/Business
with a divider after Workspaces. Add Business section label for clarity.
Enhance MathLandingView to show inline navigation for Zero to One
(6 topics) and Prepa ML (8 topics) as clickable pills that link
directly to /math/refresh?track=...&tab=... No sidebar changes.
Math Bridge card kept at bottom.
…ar collapse

Backend:
- Migration 0084: track_resources table, track_type on tracks, color on modules
- Extend curriculum models, loader, store, and API for resource tracks
- Resource tracks skip concept validation, support curated link collections
- New endpoints: GET track resources, GET module resources
- Seed job supports --type filter and skips _ prefixed files

Data:
- 11 resource track YAML files extracted from hardcoded frontend views
- 569 resources across 79 modules seeded into database
- Tracks: AI Engineering, Frontend Eng, GPU for AI, Embodied AI,
  Bio-Augmentation, Databases, Applied Systems, Interview Prep,
  Freelance Strategy, Cognitive Toolkit, Behavioral Design
- Displaced prep resources saved in _prep-displaced.yaml for merging

Frontend:
- Generic TrackDetailView handles both concept and resource tracks
- Resource tracks render with tabbed modules and ResourceCards
- CurriculumTracksView shows both track types with correct metadata
- Sidebar collapsed: removed entire Reference section (~1,300 lines)
- Removed Lenses, Levels, Cognitive Toolkit, Behavioral Design from nav
- Added Dev Reference nav item linking to existing dev-ref page
- Added inline tab navigators to DevRefView and DomainOntologyView
- Frontend types extended with TrackResource, track_type, color fields
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.

1 participant