Integrate Riverpod-based navigation state management#282
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
Please resolve the merge conflicts before review. Your PR will only be reviewed by a maintainer after all conflicts have been resolved. 📺 Watch this video to understand why conflicts occur and how to resolve them: |
420d100 to
f11ded8
Compare
Summary
This PR migrates HomeScreen navigation state from local widget state to Riverpod.
Changes
HomeTabenum for home navigation state_selectedIndexstate with Riverpod-managed navigation statehomeTabProvideras the single source of truth for tab selectionHomeScreento consume and update navigation state through RiverpodIndexedStack-based screen architecturescreenandinitial_message)Motivation
This change establishes a centralized navigation state layer using Riverpod and prepares the codebase for upcoming routing work, including:
go_routerintegrationBy moving navigation ownership out of local widget state, future routing changes can be implemented without restructuring HomeScreen navigation logic again.
Notes
go_routerTesting
initial_message✅ Checklist