-
Notifications
You must be signed in to change notification settings - Fork 7
feat(sync): RN-1545: Epic datatrak sync #6289
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
Open
chris-bes
wants to merge
1,453
commits into
dev
Choose a base branch
from
rn-1545-epic-datatrak-offline
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jaskfla
reviewed
Jul 23, 2025
jaskfla
reviewed
Jul 28, 2025
Contributor
|
Looks like @tupaia/datatrak-web is missing these dependencies:
|
c40ca28 to
5ef38f4
Compare
be3a920 to
d13f7e3
Compare
feat(sync): RN-1545: Fixed extended entity field
…-project feat(sync): RN-1545: Allow switching projects in datatrak sync
feat(sync): RN-1545: Fix bugs
feat(sync): RN-1672: Offline login
# Conflicts: # yarn.lock
…g-users feat(sync): RN-1711: Handle switching users
feat(datatrak): RN-1490: get permission group users offline
…yondessential/tupaia into rn-1545-epic-datatrak-offline
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue:
RN-1545: Epic datatrak sync
Note
Adds a new sync-server and shared sync utilities to enable offline-first Datatrak syncing via streaming APIs and a local PGlite DB, updates clients/types/infrastructure, and bumps key deps.
@tupaia/syncutilities (snapshotting, lookup, stream framing) andsync-servermicroservice with streaming sync endpoints and scheduled tasks.DatatrakDatabase,ModelRegistryin-browser,ClientSyncManager, and new Sync/Database context providers.sync_session,sync_queued_device,sync_device_tick,sync_lookup,tombstone) and lookup-table population.@tupaia/tsmodels.StreamMessage, file helpers,ScheduledTaskrefactor.updated_at_sync_tickacross models); new task filter utilities.@tupaia/tsmodelshelpers.sync-api; build/deploy scripts include sync-server.expressanddate-fns; add polyfills/plugins for browser DB/Node APIs.Written by Cursor Bugbot for commit 5cf5909. This will update automatically on new commits. Configure here.