-
Notifications
You must be signed in to change notification settings - Fork 21
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
Optimize Offline Mode for Create, Update, and Delete Operations #21
Conversation
It sounds great, but this system is only suitable for single-user systems that sometimes have problems connecting to the Internet, but it seems to need improvement in integrated systems. For example, if the system is connected to an online store, the store inventory or product prices are displayed correctly for the user, but this may not be the case for customers who request a purchase. |
Hi, thank you for your feedback! Currently, our offline mode relies on IndexedDB to temporarily store data. This is still an experimental feature and is under continuous improvement. As for your suggestion about “each tenant having an online database,” I’m not entirely sure what you mean. How would users access an online database while in offline mode? I’d appreciate it if you could clarify this point. Additionally, I’ve noticed that with Blazor WPA, once installed as a local app, it cannot be opened if the client host is offline. This indeed makes the offline mode less meaningful. We’ll further evaluate its practicality and explore potential improvements. Looking forward to more discussions and your suggestions! |
Yes, I agree with what you have done. I think it is very good to eliminate the bad feeling of not being able to access the online system at times and temporary outages so that the user does not feel disconnected and reconnected. |
Title: Optimize Offline Mode for Create, Update, and Delete Operations
Description:
This PR improves offline mode handling for Create, Update, and Delete operations by ensuring seamless user experience and data consistency when the application is offline. Key updates include:
Offline Create:
Offline Update:
Offline Delete:
Data Synchronization:
Code Refactoring:
Why It’s Needed:
This PR ensures robust offline support for CRUD operations in applications. Users can seamlessly interact with the system, whether online or offline, with automatic data synchronization when they reconnect.
Changes Made:
Create:
Update:
Delete:
Synchronization:
Refactoring: