Open ttlenard opened 1 year ago
The reason this is happening:
There is a preventAutoScroll
attribute ... but it can't possibly be being used effectively given that it is always false.
In light of conversation with UX, this ticket has evolved into something like, "Across our forms, get the ErrorNotification errors to update live (along with the inline validation errors) and prevent jumping behavior except on submit."
As I am going through to update forms, I am seeing and fixing a lot of inconsistencies/bugs:
I will push to an experimental branch as soon as one is free so we can compare new behavior with existing behavior on test.
In the meantime, I will also post a couple of weird behaviors that I discovered (but did not fix), in case we want to address them at some point:
Another quirk: the docket clerk can deselect a trial location for a docket entry. Is this a bug, or should it be allowed?
UX notes have been added to this 10074 validation error bug doc
Describe the Bug A clear and concise description of what the bug is. When a Petitions clerk is entering in a paper petition and they click Save before all of the required fields are entered, they will receive validation errors indicating that they need to enter in the required data. When this happens, the clerk would then find the field that they missed filling out initially and click their cursor in that field. When they do this, the screen jumps up to the top, back to the validation error message. If they scroll down, they can continue to enter their data, but if there is another field that they initially missed filling out, then when they put their cursor in that field, and attempt to type, the screen will jump again. I also noticed that when I clicked anywhere on the screen after receiving a validation error message, the screen would also jump to the top.
Question: Is this similar to bug #9868?
Business Impact/Reason for Severity Low
In which environment did you see this bug? Test
Who were you logged in as? Petitions Clerk
What were you doing when you discovered this bug? (Using the application, demoing, smoke tests, testing other functionality, etc.) Testing other functionality
To Reproduce Steps to reproduce the behavior:
Expected Behavior A clear and concise description of what you expected to happen. Screen shouldn't jump around after a validation error. I think it is great on the initial error, but is annoying when it keeps jumping the screen back to the top when you are attempting to add your data to the required fields that you missed initially.
Actual Behavior A clear and concise description of what actually happened. Screen continues to jump up to the validation message when you click on the field that you initially missed. You have to scroll back down the find the field that you missed and THEN you can add data.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Cause of Bug, If Known
Process for Logging a Bug:
Severity Definition:
Critical Defect Blocks entire system's or module’s functionality No workarounds available Testing cannot proceed further without bug being fixed.
High-severity Defect Affects key functionality of an application There's a workaround, but not obvious or easy App behaves in a way that is strongly different from the one stated in the requirements
Medium-severity Defect A minor function does not behave in a way stated in the requirements. Workaround is available and easy
Low-severity Defect Mostly related to an application’s UI Doesn't need a workaround, because it doesn't impact functionality
Definition of Ready for Bugs(Created 10-4-21)
Definition used: A failure or flaw in the system which produces an incorrect or undesired result that deviates from the expected result or behavior. (Note: Expected results are use cases that have been documented in past user stories as acceptance criteria and test cases, and do not include strange behavior unrelated to use cases.)
The following criteria must be met in order for the development team to begin work on the bug.
The bug must:
Process: If the unexpected results are new use cases that have been identified, but not yet built, new acceptance criteria and test cases should be captured in a new user story and prioritized by the product owner.
If the Court is not able to reproduce the bug, add the “Unable to reproduce” tag. This will provide visibility into the type of support that may be needed by the Court. In the event that the Court cannot reproduce the bug, the Court will work with Flexion to communicate what type of troubleshooting help may be needed.
Definition of Done (Updated 4-14-21)
Product Owner
Engineering
test
environment if prod-like data is required. Otherwise, deployed to anyexperimental
environment for review.