Skip to content

feature: CCP-4997 Implement Offline Submission Queue and Sync#1916

Open
gary-jipp wants to merge 3 commits into
mainfrom
feature/CCP-4997-offline-form-submission
Open

feature: CCP-4997 Implement Offline Submission Queue and Sync#1916
gary-jipp wants to merge 3 commits into
mainfrom
feature/CCP-4997-offline-form-submission

Conversation

@gary-jipp

Copy link
Copy Markdown
Contributor

Description

Type of Change

feat (a new feature)

What this PR adds

  • Per-form opt-in: form designers enable "offline submission" on a form.
  • Offline submit: when a user submits while offline, the submission is saved in the browser instead of failing.
  • Auto-sync on reconnect: queued submissions are sent to the server automatically when the user is back online, with a progress dialog showing each one's status.
  • Pending list: users can see what's queued, add an optional note when queuing, and discard entries they no longer want.
  • Designer simulation: a small "Online" / "Simulating Offline" toggle chip lets designers preview the whole offline flow on a published form without actually disconnecting.
  • Safe replays: server-side dedup so a flaky network can't create duplicate submissions.

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have run the npm script lint on the frontend and backend
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • I have approval from the product owner for the contribution in this pull request

Further comments

@github-actions

Copy link
Copy Markdown

Coverage Report (Application)

Totals Coverage
Statements: 78.27% ( 9057 / 11572 )
Methods: 76.9% ( 962 / 1251 )
Lines: 80.93% ( 5540 / 6845 )
Branches: 73.5% ( 2555 / 3476 )

@gary-jipp gary-jipp force-pushed the feature/CCP-4997-offline-form-submission branch from 592721c to 13f7f49 Compare June 25, 2026 03:18
@gary-jipp gary-jipp force-pushed the feature/CCP-4997-offline-form-submission branch from 13f7f49 to d48a9e5 Compare June 25, 2026 03:30
@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

Coverage Report (Frontend)

Totals Coverage
Statements: 68.29% ( 10690 / 15653 )
Methods: 61.98% ( 1842 / 2972 )
Lines: 73.97% ( 5943 / 8034 )
Branches: 62.51% ( 2905 / 4647 )

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@gary-jipp gary-jipp force-pushed the feature/CCP-4997-offline-form-submission branch from 89d93ae to 8a26af3 Compare June 25, 2026 18:49
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant