feat: page routing with NavHost and NavController (Closes #20) #51

Merged
shahondin1624 merged 1 commits from feature/issue-20-page-routing-navhost into main 2026-03-13 13:19:06 +01:00

Summary

  • Introduce NavHost with routes character_sheet and settings
  • All navigation items (drawer, rail, permanent drawer) now call navController.navigate() with popUpTo/launchSingleTop for proper back stack management
  • Current page is highlighted in all navigation modes via currentBackStackEntryAsState()
  • Added AppRoutes route constants and SettingsPage placeholder composable

Closes #20

## Summary - Introduce `NavHost` with routes `character_sheet` and `settings` - All navigation items (drawer, rail, permanent drawer) now call `navController.navigate()` with `popUpTo`/`launchSingleTop` for proper back stack management - Current page is highlighted in all navigation modes via `currentBackStackEntryAsState()` - Added `AppRoutes` route constants and `SettingsPage` placeholder composable Closes #20
shahondin1624 added 1 commit 2026-03-13 13:19:01 +01:00
Introduce NavHost with routes "character_sheet" and "settings".
Navigation items in drawer, rail, and permanent drawer now call
navController.navigate() with popUpTo/launchSingleTop for proper back
navigation. Current page is highlighted in all navigation modes.
Added AppRoutes constants and SettingsPage placeholder composable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
shahondin1624 merged commit 5e4a95f54f into main 2026-03-13 13:19:06 +01:00
shahondin1624 deleted branch feature/issue-20-page-routing-navhost 2026-03-13 13:19:06 +01:00
Sign in to join this conversation.