pactus-project / pactus-gui

Pactus Client (Flutter)
MIT License
8 stars 7 forks source link

Define and organize routes for screens #23

Open esmaeil-ahmadipour opened 1 week ago

esmaeil-ahmadipour commented 1 week ago

Overview

Feature Description

This feature focuses on setting up and connecting routes for all application pages using GoRouter. The pages are designed to be simple, each containing an AppBar and a button for navigating between them. The primary goal is to ensure seamless navigation, including proper handling of back navigation throughout the app.

The objective is to provide developers with a clear and reusable routing structure, enabling efficient task distribution among team members. Each page can then be independently developed while maintaining a cohesive navigation flow. Additionally, this setup serves as a foundation to identify and address any potential issues in the user navigation experience early on.

Click to expand the scenario ### Scenario: Testing the Navigation Flow Imagine a developer opens the app to validate the navigation flow. They start from a main page, which includes a button to navigate to the next page. Upon clicking the button, they are directed to a new page that also contains a button for returning to the previous page. The developer continues exploring other pages of the app, navigating back and forth between them to ensure that all routes function correctly. They also test the back navigation feature to confirm that the user flow remains consistent and error-free. This process helps uncover any navigation issues early in development, making it easier to address them.

Design Reference

esmaeil-ahmadipour commented 1 week ago

Mohammd @mohamadkenway : Please follow the Conventional Commits standard for writing commit messages. This helps maintain clear and organized commit histories, which is already practiced in other Pactus repositories.

You can also review the team's contribution guidelines in the CONTRIBUTING file of the Pactus-GUI repository.

Note that this file will be updated over time with the team's latest internal standards.