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

Offline First Experience with Caching and Sync Status Indicator #482

Merged
merged 3 commits into from
Nov 2, 2024

Conversation

tarunkumar2005
Copy link
Contributor

Pull Request Template for GSoC 2024

Related Issue

closes: #463

Description of Changes

Offline First Experience with Caching and Sync Status Indicator

In today’s digital environment, users often encounter connectivity issues, which can disrupt their interaction with a website or application. Implementing an "Offline First" approach could greatly improve user experience, especially for those accessing the platform in areas with intermittent internet access.

The idea is to integrate offline support in the app, ensuring users can still browse core content and access cached data even when they temporarily lose connectivity. By using service workers to cache essential assets and certain frequently accessed data, we can ensure that the application remains accessible and performs smoothly offline. Additionally, we’ll implement a Sync Status Indicator to keep users informed about their connectivity state. This status component can display whether they’re online, offline, or in a syncing state, helping them better understand the app's behavior.

For example, consider a platform similar to YouTube. Offline capabilities would allow users to load recent data or static content even if their connection is unstable, making for a seamless experience. The sync status indicator adds transparency, showing users when their content is being updated or when the app is operating with cached data.

This enhancement would add significant reliability to the application, benefiting a wide range of users, and setting the project apart from others that don’t offer offline functionality.

Type of Pull Request

  • Bug Fix
  • New Feature
  • Performance Improvement
  • Documentation Update
  • Code Refactoring
  • Security Enhancement
  • Other (Specify): _______________

Screenshots / Demo (if applicable)

Recording.2024-11-01.074304.mp4

Checklist for Contributor

use'X' in [ ] to check it .

  • I have reviewed my code before submission.
  • I have read and followed the project's Contribution Guidelines.
  • I have tested the code thoroughly.
  • I have attached related issue numbers, screenshots, or videos (if applicable).
  • I have added comments to my code where necessary for clarity.
  • I have checked the existing code base and my changes do not introduce any breaking changes.
  • My PR addresses only one issue; I have created separate PRs for other issues.
  • I have ensured that the PR does not include unrelated files.
  • I am mindful of the project's coding standards and best practices.

@dhairyagothi Please check this PR and merge this and assign this to me and put relevant labels such as gssoc 2024 ext, hacktoberfest and level. I think this should be a level 3 PR because this feature is completly new and very much needed for a professional website as people might think that the site is not working when their own internet connection is not working so i have implemented that.

If you have any doubts and issues regarding this you can put them here.

Copy link

vercel bot commented Nov 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
station-guide ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 2, 2024 3:16am
station-guide-backend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 2, 2024 3:16am

Copy link
Contributor

github-actions bot commented Nov 1, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@tarunkumar2005
Copy link
Contributor Author

And it is working in all the pages so + point for that,

@dhairyagothi
Copy link
Owner

@tarunkumar2005 please sync fork in video i can see you haven't sync fork from a long time

@tarunkumar2005
Copy link
Contributor Author

@dhairyagothi Done

@tarunkumar2005
Copy link
Contributor Author

i have already sync fork just i was 15 commits behind right now did those also

@dhairyagothi dhairyagothi added enhancement New feature or request level 3 45 points issue gssoc-ext GSSOX'24 Extended hacktoberfest-accepted Hacktoberfest hacktoberfest issue under hacktoberfest labels Nov 2, 2024
@dhairyagothi
Copy link
Owner

ok good @tarunkumar2005

@dhairyagothi dhairyagothi merged commit ab71b34 into dhairyagothi:main Nov 2, 2024
4 checks passed
Copy link
Contributor

github-actions bot commented Nov 2, 2024

🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to Station Guide. Your efforts are greatly appreciated. Feel free to reach out if you have any more contributions or if there's anything else we can assist you with. Keep up the fantastic work! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc-ext GSSOX'24 Extended hacktoberfest issue under hacktoberfest hacktoberfest-accepted Hacktoberfest level 3 45 points issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Offline First Experience with Caching and Sync Status Indicator
2 participants