Skip to content

refactor(intro): introduce state management for introduction pages#87

Open
AndreasPopel wants to merge 7 commits intoDARC-e-V:devfrom
AndreasPopel:chore/state-management
Open

refactor(intro): introduce state management for introduction pages#87
AndreasPopel wants to merge 7 commits intoDARC-e-V:devfrom
AndreasPopel:chore/state-management

Conversation

@AndreasPopel
Copy link
Contributor

In addition to previous PR #83 the introduction of the user in the app has been reworked. Some graphics have been adjusted, optimized and also tested in dark mode.

Furthermore a BLOC has been used as the state management for this workflow, including the required events and state abstractions. This handles initial setting of the required course as well als changes afterwards.

See screenshots below for the improved onboarding:

light_1 light_2 light_3 dark_1 dark_2 dark_3

FPfannkuch and others added 7 commits April 8, 2025 14:22
For an easier entry to develop on this project, some screens have been reworked to use components instead of repeatedly nested widgets. Furthermore, magic numbers for course identifications have been broken up into constant based enums, while respecting the possible course types. The handling for setting up the course selection has been centralized in order to improve maintainability.

Some occurences for future improvements have been marked with a TODO flag.
The onboarding process (referenced as welcome) has been converted to bloc state management. Furthermore some ui elements habe been improved and reworked.
A previous version of flutter_math_fork needed to be pinned in order for builds to work properly.
chore(pubspec): pin previous version of flutter_math_fork
@AndreasPopel
Copy link
Contributor Author

Updated screenshots, colors have been reverted to the original styles. "Neu" badge for course class N has been removed.

light_1 light_2 light_3 dark_1 dark_2 dark_3

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.

2 participants