UDOIT icon indicating copy to clipboard operation
UDOIT copied to clipboard

Recently updated state does not persist past the latest resolved or fixed issue?

Open ssciolla opened this issue 1 year ago • 0 comments

When fixing and resolving issues in the UFixitModal when filtered to "Active Issues" (the default), if the user fixes or resolves multiple issues, only the latest updated issue stays in the modal. See the video below for an example:

https://user-images.githubusercontent.com/35741256/218348701-4fc74887-01b5-41d0-a0c6-cf87e1f26400.mov

I believe this is because the report from the backend supersedes the frontend report in this handler method, and the extra logic that follows to keep the last resolved issue in the modal only affects the latest issue.

https://github.com/ucfopen/UDOIT/blob/d15538d2826e84173b6bbf7da975d2aae1a90a0f/assets/js/Components/App.js#L219-L228

For people familiar with the design decisions with version 3, is this deliberate? There are small changes we could make here to keep all fixed or resolved issues in the modal until it has been closed. I think the current behavior is somewhat confusing and it would make sense to keep anything changed while the modal has been open in view, so users can review (or un-do) their work.

ssciolla avatar Feb 13 '23 01:02 ssciolla