Meteor-Community-Packages / Meteor-Community-Packages/ground-db
Ground finished uploading/running all methods reactive var?
- Dominant language
- JavaScript
- Stars
- 569
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
I built a full data entry app that lets users complete hundreds of forms offline. It uses collection inserts and no other methods.
I need some way of telling the user that all the inserts have been set to the sever, ideally with a red/green indicator. I was hopping `Ground.ready()` would do the trick no luck on that end. The reason a red/green state is needed is I would like to tell the user that data (inserts) has been saved and needs to be synced to the server.
To clarify:
- red: offline changes have been made
- green: there are no change (none made or all sent to server)
I really need a `Ground.hasQueue()` (or whatever) reactive var that says there are methods to sync to the server. I could get away with a `myCollection.hasQueue()` method as all inserts are to one collection.
Contributor guide
Research direction
Start by reviewing the existing Ground.ready() behavior and the collection insert queue described in the issue. The work is done when a reactive status distinguishes offline changes from a queue that has no unsent inserts and supports the requested red/green indicator.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100