Journal gets a nav bar in root.tsx with conditional links: Routes and Activities for authenticated users, Sign In and Register for guests. Active route is highlighted via useLocation(). User menu shows username linking to profile and a logout button. Planner SessionView header title becomes a home link back to /. Adds i18n keys (en + de) for all nav labels. Updates E2E tests to use scoped nav selectors now that links appear in both nav bar and page body. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
960 B
960 B
1. Journal Navigation Bar
- 1.1 Add nav bar to Journal root Layout — show "Routes", "Activities" links when logged in; "Login", "Register" when logged out
- 1.2 Add user menu to nav bar — username/display name linking to profile, logout button
- 1.3 Highlight active nav item based on current route
- 1.4 Add i18n keys for nav labels (en + de): routes, activities, profile, logout
2. Planner Navigation
- 2.1 Add "Start Planning" CTA button on Planner home page linking to
/new(already done in planner-landing-page change) - 2.2 Add home link (logo or text) to SessionView header
- 2.3 Add i18n keys for planner nav (en + de): startPlanning, home
3. Verify
- 3.1 Verify all Journal routes are reachable via navigation (routes, activities, profile, auth, privacy)
- 3.2 Verify Planner home → new session → back to home works
- 3.3 Update E2E tests if navigation changes affect existing selectors