-
Notifications
You must be signed in to change notification settings - Fork 738
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
Upgrade KDS to v5.0.0-rc1, introduce KDS live region and use it at one place #12475
Conversation
Build Artifacts
|
c12043a
to
6a573c8
Compare
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.
Code changes make sense to me :)
As per the reviewer guidance, NVDA output on Windows 10 was as expected:
After 15 seconds, NVDA outputs the update: (Outside of scope) NVDA also announces the points flat (when earned):
We should investigate this further, maybe the quickest solution would be to remove the The documentation page at https://deploy-preview-687--kolibri-design-system.netlify.app/usekliveregion/ reads as a good foundation. I'm unaware of a more specific guidance around the use of The only thing that could potentially be also included in the guidance is the reminder that when the |
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.
Live region performing as per specification, looking forward to seeing these implemented across Kolibri! 👍🏽 💯
Thanks @radinamatic! The points issue logged here - #12326 (comment) |
user haven't had enough storage from the very beginning of starting Kolibri.
Cleaned up temporary commits and installed the latest KDS release. Ready for final review and merge. @AlexVelezLl would you give it one last look? |
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.
This looks good to me! Would be ready to go after removing the extra space of the version in the package.json 👐.
kolibri/core/package.json
Outdated
@@ -21,7 +21,7 @@ | |||
"js-cookie": "^3.0.5", | |||
"knuth-shuffle-seeded": "^1.0.6", | |||
"kolibri-constants": "0.2.6", | |||
"kolibri-design-system": "4.3.2", | |||
"kolibri-design-system": "5.0.0-rc1 ", |
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.
Seems like there is an extra space, I dont think this could cause a problem, but just in case.
"kolibri-design-system": "5.0.0-rc1 ", | |
"kolibri-design-system": "5.0.0-rc1", |
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.
Thanks, yes better to fix. Done
Check failure not related, resolved in #12549 |
Summary
4.3.2
to5.0.0-rc1
useKLiveRegion
at one placeReferences
Reviewer guidance
Aug 7 update: below won't work as I cleaned up temporary changes that allowed for testing.
Code review
QA
[useKLiveRegion] Could not send the message: ...
errorNote that it's better to use screen reader to test this, rather than just observing
because the content of region's elements gets cleared up really fast (deliberate and recommended behavior), making it nearly impossible to spot it.
Testing checklist
If there are any front-end changes, before/after screenshots are includedCritical user journeys are covered by Gherkin storiesCritical and brittle code paths are covered by unit testsPR process
IIf this is an important user-facing change, PR or related issue has a 'changelog' labelIIIf this includes an internal dependency change, a link to the diff is providedIReviewer checklist
yarn
andpip
)