You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This includes updating imports for properties like elementWidth and elementHeight, and ensuring all affected components are manually tested to confirm they work correctly with the new composable.
Acceptance criteria
useKResponsiveElement composable is used instead of KResponsiveElementMixin in all Kolibri codebase.
All occurences of properties provided by KResponsiveElementMixin (elementWidth, elementHeight) are imported from useKResponsiveElement composable in the component where KResponsiveElementMixin mixin is being removed.
All components where KResponsiveElementMixin is replaced are manually tested and still work as expected with useKResponsiveElement composable.
There is a list of affected pages the a pull request description (e.g. their URLs).
The text was updated successfully, but these errors were encountered:
This issue is blocked by learningequality/kolibri-design-system#711.
Summary
This issue involves replacing all occurrences of KResponsiveElementMixin with the new useKResponsiveElement composable throughout the Kolibri codebase.
This includes updating imports for properties like
elementWidth
andelementHeight
, and ensuring all affected components are manually tested to confirm they work correctly with the new composable.Acceptance criteria
useKResponsiveElement
composable is used instead ofKResponsiveElementMixin
in all Kolibri codebase.KResponsiveElementMixin
(elementWidth
,elementHeight
) are imported fromuseKResponsiveElement
composable in the component whereKResponsiveElementMixin
mixin is being removed.useKResponsiveElement
composable.The text was updated successfully, but these errors were encountered: