Skip to content
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

New intervention not working #5489

Merged
merged 7 commits into from
Nov 14, 2024
Merged

Conversation

Tom-Szendrey
Copy link
Contributor

@Tom-Szendrey Tom-Szendrey commented Nov 13, 2024

Description

Previously the workflow for creating a new intervention is that we would POST a blank intervention and any updates would then allow the user to update this newly created intervention.
This is not a valid workflow as the blank intervention is not a valid intervention (It has no timestep and no value) thus it fails HMIServer's validation.

The new workflow is that we will reset the interface on the frontend and wait for the user to hit Save or Save as... before trying to POST this intervention

Intervention.Create.New.mov

Copy link
Contributor

@blanchco blanchco left a comment

Choose a reason for hiding this comment

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

Looking at the preview, it looks like there are still some values (the day and value) that are persisting after you press the "Create New" button, I think these should be blank.

@Tom-Szendrey Tom-Szendrey merged commit 7f61bdd into main Nov 14, 2024
4 checks passed
@Tom-Szendrey Tom-Szendrey deleted the TS/5457-new-intervention-not-working branch November 14, 2024 18:38
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.

[BUG]: Create new intervention still shows the naming modal and errors out
4 participants