bcgov / nr-forest-client

FSA Forest Client
Apache License 2.0
3 stars 1 forks source link

feat(FSADT1-1384): Submit data to create client by staff user #1050

Closed paulushcgcj closed 2 months ago

paulushcgcj commented 2 months ago

Description

Handle the click on the "Create client" button in Step 4 - Review. This should submit the data provided on all 4 steps to the correct endpoint, and display a UI effect as a loading state over the Step 4 UI while awaiting the response.

If the response status is 201, display the "Client created" page with the client number included in the response. If the response status is 408, display the "Client still processing" page, with a button to send the user to a page where it can monitor it. If the response status is an error status, display the error message at the top of the page.

Type of change

How Has This Been Tested?

Checklist

Further comments


Thanks for the PR!

Deployments, as required, will be available below: Any successful deployments (not always required) will be available here

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

github-actions[bot] commented 2 months ago

Current changelog

Bug Fixes

Features