-
Notifications
You must be signed in to change notification settings - Fork 730
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
updated KDS reference & testing after changes to useKResponsiveWindow #11315
updated KDS reference & testing after changes to useKResponsiveWindow #11315
Conversation
fe15b70
to
9121973
Compare
Build Artifacts
|
9121973
to
0826964
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.
Tested this and worked perfectly
0826964
to
1022ed6
Compare
return mount(LearningActivityBar, { propsData }); | ||
// stubbing out KCircularLoader, as using the actual component led to errors related to | ||
// Vue Composition API - stub may not be needed once we upgrade to Vue 2.7 | ||
return mount(LearningActivityBar, { propsData, stubs: ['KCircularLoader'] }); |
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.
Thansk @thanksameeelian for cleaning this up, I think that it got broken as result of my recent circular loader updates.
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.
All good, thank you
Summary
this links Kolibri to KDS PR 453 - "useKResponsiveWindow update fixing resizing behavior in Learn > Library" which fixes #11212 and potentially other pages where windowBreakpoint miscalculations were occurring under the hood.
the KDS PR fixes a bug observed during QA review in
Learn
>Library
- in certain cases, rapidly resizing the browser window would cause the sidepanel to automatically display when the screen was small, behavior we did not expect nor want at that screen size. beneath the surface, the components were receiving conflicting information about the current screen size becauseuseKResponsiveWindow
was not updating in the way we expected.to address those issues, the KDS PR introduces changes to the scope of variables within
useKResponsiveWindow
and to the way the composable usesuseKWindowDimensions
.References
closes #11212
before
2023-09-08_17-03-37.mp4
after
resizing-successfully.mov
Reviewer guidance
Learn
>Library
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)