Skip to content

Integrate go_router for URL-based navigation#285

Open
dhruvi-16-me wants to merge 2 commits into
AOSSIE-Org:devfrom
dhruvi-16-me:go-router
Open

Integrate go_router for URL-based navigation#285
dhruvi-16-me wants to merge 2 commits into
AOSSIE-Org:devfrom
dhruvi-16-me:go-router

Conversation

@dhruvi-16-me

@dhruvi-16-me dhruvi-16-me commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Description

This PR integrates go_router to provide URL-based navigation, browser history support, and deep linking for Ell-ena while preserving the existing mobile navigation experience and screen architecture.

The implementation builds on the previously introduced Riverpod navigation foundation and responsive web layout work, enabling navigation state to be reflected in shareable URLs without introducing duplicate screens or platform-specific navigation flows.

Changes Made

Routing Infrastructure

  • Added go_router as the application's routing solution
  • Introduced centralized route definitions through AppRoutes
  • Configured route handling using a shell-based routing structure
  • Migrated MaterialApp to use router-based navigation

URL-Based Navigation

Added support for direct navigation to:

  • /home
  • /calendar
  • /workspace
  • /tasks
  • /tickets
  • /meetings
  • /chat
  • /profile

Users can now access major application sections directly through URLs.

Browser History Support

  • Browser back button navigation
  • Browser forward button navigation
  • Refresh-safe routing
  • Shareable URLs for application sections

Deep Linking

Deep links now open the appropriate application view:

  • /tasks → Workspace → Tasks
  • /tickets → Workspace → Tickets
  • /meetings → Workspace → Meetings
  • /chat → Chat
  • /profile → Profile

Navigation State Synchronization

  • Integrated route navigation with the existing HomeTab navigation model
  • Synchronized URL state and application navigation state
  • Preserved existing IndexedStack-based screen architecture
  • Maintained current navigation behavior across mobile and web platforms

Workspace Navigation

Workspace sub-sections now support direct URL access:

  • Tasks
  • Tickets
  • Meetings

Navigation between workspace tabs updates the URL accordingly.

Architecture Decisions

  • Reused all existing screens
  • Preserved the current HomeScreen + IndexedStack architecture
  • Avoided introducing web-specific screen variants
  • Kept mobile navigation behavior unchanged
  • Built routing as an extension of the existing Riverpod navigation foundation

✅ Checklist

  • I have read the contributing guidelines.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added necessary documentation (if applicable).
  • Any dependent changes have been merged and published in downstream modules.

@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • main
  • develop

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: e6283221-523b-435b-8a4e-2f09a304fd8d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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