Skip to content

feature/DF-370: Update save and exit plugin options, routes and message publication#903

Merged
davidjamesstone merged 28 commits intomainfrom
feature/DF-370-save-form-progress-4
Sep 9, 2025
Merged

feature/DF-370: Update save and exit plugin options, routes and message publication#903
davidjamesstone merged 28 commits intomainfrom
feature/DF-370-save-form-progress-4

Conversation

@davidjamesstone
Copy link
Copy Markdown
Contributor

@davidjamesstone davidjamesstone commented Sep 3, 2025

@davidjamesstone davidjamesstone changed the title Feature/DF-370 save form progress 4 Update save and exit plugin options, routes and message publication Sep 3, 2025
@davidjamesstone davidjamesstone force-pushed the feature/DF-370-save-form-progress-4 branch 2 times, most recently from f806077 to 200e40e Compare September 4, 2025 11:52
@davidjamesstone davidjamesstone force-pushed the feature/DF-370-save-form-progress-4 branch from 200e40e to 8784477 Compare September 5, 2025 12:05
davidjamesstone and others added 4 commits September 5, 2025 16:04
* import FormStatus from '@defra/forms-engine-plugin/types'

* Update save and exit routes

* Reworked with differnet flow

* Stash

* Corrected types
Uses constructFormUrl for paths

* Fix package-lock.json

* Remove unnecessary classes

* Update the save and exit routes and models

* Add route param validation

* Fix route typo

* Route tests - more to follow

* Bump @defra/forms-engine-plugin to v3.0.0

* SonarCloud issues

* Extra coverage

---------

Co-authored-by: David Stone <davidjamesstone@gmail.com>
Comment thread src/server/routes/save-and-exit.js Outdated
Comment thread src/server/routes/save-and-exit.js
Comment thread src/server/messaging/publish.test.js Outdated
@alexluckett
Copy link
Copy Markdown
Contributor

I've resolved the Sonar security false-positive. It'll disappear on the next scan.

Looks like you're missing a test to cover /resume-form-verify, which would boost the coverage quite a bit.

@davidjamesstone davidjamesstone changed the title Update save and exit plugin options, routes and message publication feature/DF-370: Update save and exit plugin options, routes and message publication Sep 8, 2025
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

@whitewaterdesign whitewaterdesign left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@davidjamesstone davidjamesstone merged commit 0a30f1f into main Sep 9, 2025
10 checks passed
@davidjamesstone davidjamesstone deleted the feature/DF-370-save-form-progress-4 branch September 9, 2025 13:46
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.

4 participants