cds-snc / cds-snc/platform-forms-client

Clarify service worker message when triggered on submission

Open
#7,610 0 comments 0 reactions 0 assignees View on GitHub
content end users
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 8h
Merged PRs (30d)
85

Description

### Description:

When a form update is detected after an end-user hits Submit, the current message may make them think their form was successfully submitted. The message should clearly explain that the submission was not completed and that they need to submit the form again after updating.

Screenshot 2026-07-30 at 10.58.27 AM.png

### Acceptance Criteria:
Determine whether we can identify which action triggered the service worker message:
- If the end-user selected **Submit**, display submission-specific content.
- If the end-user selected **Continue** or completed another action, display more general content.
- If the triggering action cannot be identified, **revise** the general message so it is clear that their most recent action was not completed.

Contributor guide

Open the contributing guide

Research direction

Locate the service worker message and the code handling Submit, Continue, and other actions in the TypeScript/NextJS application. First trace how the triggering action reaches the message, then verify that known actions receive the appropriate wording and unknown actions clearly state that the most recent action was not completed.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.