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

Add info about when/how often syncing is attempted #1095

Closed
michaelkohn opened this issue May 26, 2023 · 8 comments
Closed

Add info about when/how often syncing is attempted #1095

michaelkohn opened this issue May 26, 2023 · 8 comments
Assignees

Comments

@michaelkohn
Copy link
Member

Would be useful to document when syncing is attempted.

Here are some relevant resources that could be rolled up and documented in the "Sync Status" section (or elsewhere).

@latin-panda
Copy link
Contributor

@michaelkohn, I guess what you need is telemetry, right? Is the number of times people sync okay?

@michaelkohn
Copy link
Member Author

@latin-panda this is just about documenting the current sync strategy on the docs site :-) ... I believe the forum post contains most of the details (though I'm not sure if things have changed at all since 2019), I just want that to be on the docs site somewhere.

@latin-panda
Copy link
Contributor

Oh okay, easy then. Thanks @michaelkohn

@latin-panda
Copy link
Contributor

Ideas to document:

  • Internal process
  • Different types of sync (manual, automated)
  • Type of documents / data
    Not sure if to also cover when it prompts to reload the app? (when config changes, when there's a new version of the app (src), when there's a new form, etc)

@michaelkohn
Copy link
Member Author

michaelkohn commented Nov 17, 2023

Yep.... some important details we'd want to cover:

  1. That offline users have (I think) two databases that get synced (the main one and the meta DB)
  2. The types of docs you'll find in each of those DBs (telemetry, feedback, etc... in meta | reports, contacts, etc... in the main DB)
  3. When do each of these databases normally get synced (automatically while there's a connection, whenever there is a change, when the app notices it comes back online, etc...)
  4. Any differences in how things are handled if there are server changes vs. client changes
  5. What other things will trigger a sync (logging in, reloading the app, etc....)

Not sure if to also cover when it prompts to reload the app?

Jenni did some good investigation in this slack thread. I'd love for us to document this as well, but am OK doing it as a separate issue.

Benmuiruri added a commit that referenced this issue Dec 4, 2023
* Feat: update data sync documentation

* chore: update data sync documentation

* chore: update data sync documentation

* Update content/en/apps/concepts/navigation.md

Co-authored-by: Gareth Bowen <[email protected]>

* Update content/en/apps/concepts/navigation.md

Co-authored-by: Gareth Bowen <[email protected]>

* Update content/en/apps/concepts/navigation.md

Co-authored-by: Gareth Bowen <[email protected]>

* Update content/en/apps/concepts/navigation.md

Co-authored-by: Gareth Bowen <[email protected]>

* Update content/en/apps/concepts/navigation.md

Co-authored-by: Gareth Bowen <[email protected]>

* Update content/en/apps/concepts/navigation.md

Co-authored-by: Gareth Bowen <[email protected]>

* Update content/en/apps/concepts/navigation.md

Co-authored-by: Gareth Bowen <[email protected]>

* Update content/en/apps/concepts/navigation.md

Co-authored-by: Gareth Bowen <[email protected]>

* chore: add link to telemetry page

* chore: delete content

* chore: delete content

---------

Co-authored-by: Gareth Bowen <[email protected]>
@latin-panda
Copy link
Contributor

@Benmuiruri is there anything pending? Can we close the ticket?

@Benmuiruri
Copy link
Contributor

Benmuiruri commented Dec 7, 2023

Closed by #1243

@michaelkohn
Copy link
Member Author

michaelkohn commented Dec 14, 2023

Quick link to where this got included on the docs site

https://docs.communityhealthtoolkit.org/apps/concepts/navigation/#sync-status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants