Currently, showing multiple duplicate errors in a row will show the first, and then add the rest to the errorsToDisplay queue. As a result, the same error dismisses just to reveal many duplicates.
There are a few potential solutions.
Don't show error if error is already in errorsToDisplay
If error is already in errorsToDisplay move it to the front of the list.
Don't show error if error is currently being shown.
This PR is for option 3, but we can discuss the other options.
Currently, showing multiple duplicate errors in a row will show the first, and then add the rest to the
errorsToDisplay
queue. As a result, the same error dismisses just to reveal many duplicates.There are a few potential solutions.
errorsToDisplay
errorsToDisplay
move it to the front of the list.This PR is for option 3, but we can discuss the other options.