bug fix#389
Conversation
|
Applied spotless formatting for CI |
KudratAroraa
left a comment
There was a problem hiding this comment.
Approved.
I reviewed the changes and this PR looks good for its intended scope. The Daily Report screen navigation issue has been addressed by adding proper drawer item handling for Home and Sign out, and the Home navigation now correctly routes based on the current logged-in role. This makes the side navigation behaviour more consistent and fixes the missing admin/caretaker navigation flow from this screen.
The change is focused, relevant to the reported bug, and aligns well with the stated testing flow. Overall, this looks good to merge.
Future improvement note: later, the sign-out flow can also be aligned with the broader app authentication flow by clearing the back stack consistently when navigating back to login, but that is not a blocker for this PR.
Description
Bug Fix for navigation
Todos
How to test
Login as admin -> Click on Daily Report -> Click Side -> Test home and Sign out functionality
Screenshots and/or Gifs
[Insert screenshots and/or gifs showing the graphic representation of the change]
Associated MS Planner Tasks
Known Issues
None