Skip to content
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

EQM: When closing the "replacements" side panel, the user's selection is being lost #12135

Closed
Tracked by #12037
nucleogenesis opened this issue May 6, 2024 · 0 comments · Fixed by #12160
Closed
Tracked by #12037
Assignees
Labels
bug Behavior is wrong or broken DEV: frontend P1 - important Priority: High impact on UX

Comments

@nucleogenesis
Copy link
Member

nucleogenesis commented May 6, 2024

Overview

During quiz creation, when you have selected questions and go to replace them, then the questions you'd selected on the main page are deselected.

Fixing this will likely be a matter of finding and removing a call to reset the private _selectedQuestionIds ref in useQuizCreation. My suspicion is that starting around where the closing of the side panel is handled is a good bet on seeing how/where the reset is occurring.

Note that that value should be reset when the user successfully replaces questions... because they don't exist, so be sure that the value is reset in that case.

Note below that when the side panel closes, the questions I'd selected are deselected

2024-05-06.16-49-47.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Behavior is wrong or broken DEV: frontend P1 - important Priority: High impact on UX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants