Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enatega Customer Application : Add a pull down refresh loader on all screen while there is an internet connectivity issue. #875

Open
mat-32191 opened this issue Jan 30, 2025 · 0 comments
Assignees
Labels

Comments

@mat-32191
Copy link

Describe the bug
On restaurant screen and discovery screen, when the internet connection is lost these screens showing a still message 'Something went wrong'. There add a pull down refresh loader to reload the content.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Enatega Customer Application'
  2. Now turn off the wifi.
  3. See error , the screen with a still message 'Something went wrong'.

Expected behavior

  1. Pull-Down Refresh Gesture:

Users should be able to swipe down on the screen to trigger a refresh.
A loader/spinner should appear, indicating that the app is attempting to reload content.

  1. Retry Fetching Data:

On pull-down, the app should check the internet connection and attempt to reload the restaurant and discovery data.
Error Handling:

If the internet is restored, the content should load successfully.
If the connection is still lost, an updated message (e.g., "No internet connection. Pull down to retry.") should be displayed.

Screenshots

Screen_Recording_20250130_114834.mp4

Smartphone (please complete the following information):

  • Device: [e.g. Infinix Hot 50]
  • OS: [e.g. Android]
  • Browser [e.g. Application]
  • Version [e.g. Latest]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants