-
Notifications
You must be signed in to change notification settings - Fork 687
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
Perseus final fixes #12362
Perseus final fixes #12362
Conversation
Build Artifacts
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a couple of comprehension questions but no real concerns, although I will leave manual QA to Peter :)
kolibri/plugins/perseus_viewer/assets/src/views/PerseusRendererIndex.vue
Outdated
Show resolved
Hide resolved
Hi @rtibbles, while fully regression testing I noticed just the following onscreen keyboard related issues:
2024-06-28_16-23-46.mp4
unneccessary.keyboard.mp4Also I am not sure whether the issue described in #12322 sis fully fixed as I would expect that if the keyboard is present on screen then the input focus should be within the input field, which is still not the case: 2024-06-28_17-01-04.mp4 |
More troubling is you are still seeing the console errors that my fix was meant to prevent, I still haven't replicated these without your database directly, so I feel like I am missing something in the steps to replication here. |
Hi @rtibbles - let me knows which scenario you can't replicate and I will try to add additional steps. |
Hi @pcenov - the third video, I see the errors still occurring in the console as you switch between items, that's the scenario I am unable to replicate. |
Hi @rtibbles my suspicion is that this is happening because in this quiz we have a mixture of questions requiring user input and a multiple select question. I was able to replicate this with the exact same quiz so here's the DB and logs in case you can make use of it: |
Hi @pcenov, I was finally able to replicate the errors those last errors you were seeing, and I think I have resolved them all now. To fix 1) I have changed the positioning of the keypad, so that it will now overlay any question content, rather than being pushed down. There didn't seem to be a happy medium between showing the content and having the keypad overlay, so I have gone with this. For 2 - the keypad should no longer display on reports at all. For 3 - the keypad should now dismiss when changing questions (I noticed it was persisting even when the next question did not have a numeric input). |
Hi @rtibbles, Unfortunately 1 is still not fixed - the keyboard is still showing throughout Coach > Reports and Coach > Lesson > Resources: coach.mp4Also perhaps and if possible we should have the keyboard always displayed at the bottom in the way you've currently implemented it when the exercise is part of a Lesson or viewed in the Library. Otherwise it's pretty bad when completing an assigned quiz, as it almost always covers the exercise: Keyboard.covers.the.exercise.mp4Here's how it looks in the Library page: lesson.view.mp4Also it should be possible to scroll the contents of the page while the keyboard is displayed. |
… overlay everything.
…static presentation.
Hi @pcenov, I walked this through with @marcellamaki, and the most robust solution we could come up with is to default to the built in behaviour of perseus, for the keypad to attach to the bottom of the screen. I have updated the positioning of the element, so that it should always overlay any other element on the screen. This does mean that while the keypad is open, the exercise bar and quiz navigation bar are obscured, but it was the only way to make it behave consistently across all contexts. The display of the keypad when viewing reports should now also be fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @rtibbles - I confirm that now the keypad is positioned at the bottom of the page as specified in your comment and that the user has to manually close it in order to click any of the buttons in the navigation bar.
The display of the keypad when viewing reports is also fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last couple of commits look good as code changes, and manual QA approves ✅
Summary
References
Fixes #12322
Fixes #12375
Reviewer guidance
Use the database from referenced issue and see that the quiz responses are properly restored for all questions with no errors logged in the console.
While on the quiz page, refresh the page, and see that the answer gets properly filled in on page refresh.
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)