Migrate CategoryOptions dropdown to KMultiSelect - #6092
Migrate CategoryOptions dropdown to KMultiSelect#6092Prashant-thakur77 wants to merge 2 commits into
Conversation
|
👋 Hi @Prashant-thakur77, thanks for contributing! For the review process to begin, please verify that the following is satisfied:
Also check that issue requirements are satisfied & you ran Pull requests that don't follow the guidelines will be closed. Reviewer assignment can take up to 2 weeks. |
|
@LianaHarris360 I’ve created the PR for the hierarchical use of KMultiSelect in CategoryOptions |
Summary
Migrates the
CategoryOptionsdropdown from Vuetify'sVAutocompleteto KDSKMultiSelect, as part of moving Studio off Vuetify. This is the Category field in aresource's Edit details panel.
The expanded mode used by the bulk edit modal is intentionally left on
VAutocompleteit needs an inline mode and externally controlled indeterminate valuesfrom KMultiSelect, which don't exist yet.
Partof: learningequality/kolibri-design-system#1259
Notable points:
indeterminate instead of checked (it was never in the saved data), so clicking it now
adds just that parent instead of clearing the whole branch.
onKMultiSelectInputconverts KMultiSelect's flat array back to{ categoryId: [nodeIds] }and preserves partially applied categories. Partials can'toccur today (single node only): this is forward-compatibility for the expanded-mode
migration.
without duplicating KDS's own KMultiSelect coverage.
References
Screencast.From.2026-08-17.02-11-04.mp4
Expanded Mode:
Screencast.From.2026-08-17.02-20-34.mp4
Reviewer guidance
All tests are covered and there are no regressions.
AI usage
I used Claude to generate this discription and done changes as needed