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

Bake/Cache API Docs for offline #3729

Open
2 tasks
LocalNewsTV opened this issue Dec 3, 2024 · 0 comments
Open
2 tasks

Bake/Cache API Docs for offline #3729

LocalNewsTV opened this issue Dec 3, 2024 · 0 comments
Labels
Needs Offline Implementation Feature available online/in-web but not available when offline

Comments

@LocalNewsTV
Copy link
Collaborator

Describe the task

If the task will only make sense to a dev, add a ⚡ to the title.

Need to implement a solution to store the ApiDocs on the device. If the app is started 100% from offline, the application will unable to load forms, since it lacks the ApiDocs

Value Add

  • Furthering the Offline functionality

Acceptance Criteria

  • ApiDocs are stored/baked on device
  • If starting the app from 100% offline context, records can be loaded, forms created.

Additional Context

  • Using Redux to store this is not an ideal scenario. The JSON from the ApiDoc is >100k lines.
  • To Bake the information into the application, we need to separate the User-specific information from the payload. They are the only parts that are dynamic and we could update them whenever users log in, like the Biocontrol->Agent matching.
@LocalNewsTV LocalNewsTV added the Needs Offline Implementation Feature available online/in-web but not available when offline label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Offline Implementation Feature available online/in-web but not available when offline
Projects
None yet
Development

No branches or pull requests

1 participant