-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[SIEM] Detection engine: Create new rule should not validate input when going back #54897
Comments
Pinging @elastic/siem (Team:SIEM) |
And when filling Name/Description, then going back to edit |
I will add a dialog error to tell the user that they need to click on continue before going away from it |
But for the general of this issue, you should talk to @MichaelMarcialis. |
@cwurm: Thanks for the feedback. This is a valid point. The original reason for not allowing the user to leave a panel in any direction without having validation pass (both continuing forward or going back to edit) is because of a situation such as the following:
The requirement of validation before leaving a step in any direction was a quick fix suggested by me in order to prevent having to over complicate the UI with additional validation errors for when a step was collapsed. However, I see your point that the ability to always go backwards to edit quickly is an important one. What if we just simply always treated any step past the user's current location as if it had never been validated and completed? This way, edit buttons wouldn't appear for any step forward from the user's current location. This way, the user is always required to click the continue buttons (which would trigger that step's validation) to proceed forward and can optionally click the edit button (which would no longer demand validation) to go back. Thoughts? That said, I don't believe we have time to make any such changes before the 7.6 release. Perhaps we can consider this as an enhancement for the next release? |
Yes, I think this would work. |
@MadameSheema the behavior above is still present in 7.9.0-snapshot. |
Closing this ticket since it is duplicated. |
To reproduce:
Create new rule
, completeDefine rule
, clickContinue
About rule
, try clickEdit
onDefine rule
About rule
is not yet filled outExpected:
Screenshot:
The text was updated successfully, but these errors were encountered: