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

Enhance Explore Screen with Loading Indicator and Error Handling for Note Data Display #218

Open
7 tasks
rcAsironman opened this issue Jan 13, 2025 · 0 comments · May be fixed by #234
Open
7 tasks

Enhance Explore Screen with Loading Indicator and Error Handling for Note Data Display #218

rcAsironman opened this issue Jan 13, 2025 · 0 comments · May be fixed by #234
Assignees
Labels
Milestone

Comments

@rcAsironman
Copy link
Collaborator

Description
In the Explore screen, when a user clicks on a note, it takes some time to display the data (text/images/videos/audio). Currently, the app displays the text first, and then images/videos/audio are displayed after a delay based on the internet connection. Instead of displaying just a screen with some text, display a complete screen with a loading indicator. Once the note's data is ready, display the note. If there is an issue loading the images/videos/audio, attempt to display the notes 3-4 times. If it still doesn't work, redirect the user to an error page that explains the issue (e.g., internal server error, bad internet connection, etc.).

Note: When the user is redirected to the error page, display a button that allows the user to return to the previous page.

Tasks

  • Understand the current ExploreScreen.js implementation.
  • Implement the functionality described above.
  • Write test cases for the functionality you have implemented.
  • Ensure the app runs without any issues on both iOS and Android.

Acceptance Criteria

  • Your code should work properly and achieve the requested functionality.
  • All test cases must pass.
  • The app should run without any issues on both iOS and Android.

Reference

Loading Screen

Error Screen

@rcAsironman rcAsironman moved this to Todo in LRDA_Mobile Jan 15, 2025
@rcAsironman rcAsironman removed the status in LRDA_Mobile Jan 22, 2025
@ademDurakovic ademDurakovic self-assigned this Feb 10, 2025
@rcAsironman rcAsironman added this to the sprint-2-2025 milestone Feb 11, 2025
@ademDurakovic ademDurakovic linked a pull request Feb 12, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants