Users are redirected to this screen after successful login.
This screen consists of multiple sections and user interactions
If the user is mapped to multiple tenants then a dropdown appears. The user can select the desired tenant to proceed further.
Once the user selects the tenant, the features cards are displayed on the screen based on the roles mapped for the selected tenant.
Login For First Time
YES → WalkThrough/User Guidance Enabled
NO → Home Screen
If the user logs in for the first time a system walkthrough begins automatically.
Else, users can view walkthroughs any time by clicking on the help icon.
Logic Implemented for Walkthrough
Create a Global key for each card. And create placeholder cards, pointer and description widgets. On click get the position of the card and place the place holder card over overlay exactly.
Files Path
Primary Files https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/screeens/Home/HomeWalkThrough/HomeWalkThroughContainer.dart, https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/screeens/Home/HomeWalkThrough/HomeWalkThroughList.dart
Next → Will change the active index of which change the Global key and repeats the same process
skip, End → closed the Overlay
Home Screen consists of Multiple Feature Cards
Cards are Displays based on Role Access
Files Path
Primary Files https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/screeens/Home/Home.dart
The home screen also consists of notifications. The notifications are bases on User Id and User Role
Logic implemented notification
We make individual API with user ID and with user role and will merge
both and displayed
0 Comments