Replies: 7 comments
-
The feedback modal isn’t hardwired to advance the subject queue, as of today’s changes. |
Beta Was this translation helpful? Give feedback.
-
A couple of issues with the current implementation:
|
Beta Was this translation helpful? Give feedback.
-
Looking back at PFE, the Done button triggers showing feedback, which then triggers |
Beta Was this translation helpful? Give feedback.
-
That's pretty ugly and another reason to remove the means to go to Talk from the task navigation. |
Beta Was this translation helpful? Give feedback.
-
For TESS, I'm thinking Done/Done & Talk triggers |
Beta Was this translation helpful? Give feedback.
-
And we're going to have to deal with this once #516 merges. |
Beta Was this translation helpful? Give feedback.
-
I've opened the Done & Talk issue as #598. |
Beta Was this translation helpful? Give feedback.
-
Package
lib-classifier
Feature or Issue Description
Per #549 to show the feedback modal we use MST middleware to catch the action to advance to the next subject, which we then abort. The feedback modal is shown, and on close we reconnect to the subjects store and advance to the next subject. We're not wild about this implementation.
Why we're not wild about the current implementation:
subjects.advance()
at the end of feedback will trigger this handler to run again. We've hacked around that by checking to see if there's a modal open. It's possible to accidentally put the code into a never-ending loop where closing the feedback modal opens it again and you never get to the next subject.At the moment, the feedback modal will always advance the subject queue on close, no matter where it's used in the classifier.Let's use this RFC to discuss potential refactors
Beta Was this translation helpful? Give feedback.
All reactions