fix: add token expired message and fix navigation and title text
Description
This PR fixes the issue where the jwt token is expired and the user has to relogin to fix this. This PR also fixes the issue where the user could not navigate properly after clicking on the "Find Members" button, this also fixes the issue where text in app titile wont change
Fixes #118 Fixes #113 Fixes #124
Flutter Channel:
- [x] I have used the Flutter Beta channel on my local machine
Type of Change:
Delete irrelevant options.
- User Interface
How Has This Been Tested?
Physical Device
Checklist:
- [x] My PR follows the style guidelines of this project
- [x] I have performed a self-review of my own code or materials
- [x] I have commented my code or provided relevant documentation, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] Any dependent changes have been merged
s
@anitab-org/qa-team can someone give this a quick test?
@Techno-Disaster @isabelcosta didn't tested the first test case of token expire message as for this i have to wait for 7 days till it expires 😅 will update after a week .
@Techno-Disaster @isabelcosta didn't tested the first test case of token expire message as for this i have to wait for 7 days till it expires 😅 will update after a week .
you can host the backup on your laptop and change that time.
I have tested this pr , it requires some changes as can be seen below :
The changes made in this PR were tested locally. Following are the results:
1. Code Review : Done
2. All possible responses were tested as below :
Screenshot/gif :
Expected Result : When I change a screen through clicking the bottom navigation menu the screen titles should change accordingly. Actual Result : Not working in the expected manner. Title text remains the same even on navigating to different tabs at bottom
Expected Result : On clicking Find Members, it should lead you to the Members Page Actual Result : When I first clicked it after I was just logged in then it was working fine and leading me to the Members Page but after again clicking it, it's not working and not leading anywhere.
3. Remaining Test Case : For testing the token I need to wait for 7 days till it expires. I Will update on it after Week 4. Additional test cases covered : n/a 5. Device : Emulator Pixel 2 XL API 27
@robotjellyzone are you sure its not working? can you try pulling the latest changes from my branch just to be sure? I just tested this on my device again and it works just fine.
@robotjellyzone any updates?
@anitab-org/qa-team @anitab-org/mentorship-flutter-maintainers any updates?
@anitab-org/mentorship-flutter-maintainers @anitab-org/coding-team can someone review this?
@robotjellyzone any updates?
hi, @Techno-Disaster can you please provide an account to check for this members button as it's not there due to the already present relation on the relation page ?
@robotjellyzone any updates?
hi, @Techno-Disaster can you please provide an account to check for this members button as it's not there due to the already present relation on the relation page ?
Hey, I don't have one right now, but could you create one? If not I can get back to you by tommorow. Thanks
@robotjellyzone any updates?
hi, @Techno-Disaster can you please provide an account to check for this members button as it's not there due to the already present relation on the relation page ?
Hey, I don't have one right now, but could you create one? If not I can get back to you by tommorow. Thanks
ok i will create new as i have already created many so, sometimes creates confusion but ok I will create one now :)
ometimes creates confusion but ok I will create one now :)
same here 🤦 . Thanks for the cooperation tho :)
ometimes creates confusion but ok I will create one now :)
same here 🤦 . Thanks for the cooperation tho :)
it will be great if you can test the token expiry feature by yourself :) as it requires a time span to be given .!!
@robotjellyzone thank you so so much for testing this 🙌 And about the token expiry test, I can always see how that goes in the future. I'll test that eventually.

