Add defaultCollapsed prop to SkillTree components for improved user experience
Deploy Development / deploy (push) Successful in 44s
Test Suite / pytest-backend (push) Successful in 41s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m15s

- Introduced a `defaultCollapsed` prop in `SkillTreeMultiSelect` and `SkillTreePickerPanel` to control the initial expansion state of skill trees.
- Updated `SkillTreeSelect` to accept a `defaultCollapsed` prop, enhancing flexibility in component usage.
- Adjusted state management in `SkillTreePickerPanel` to respect the `defaultCollapsed` setting, improving user interaction with skill selection.
This commit is contained in:
Lars committed 2026-05-20 11:05:27 +02:00
1 parent 3067b2e6a8
commit 46feb4c867
4 files changed
+12 -3

No files matched your search

@@ -75,6 +75,7 @@ export default function SkillTreeSelect({
searchQuery={query}
onPickSkill={pick}
pickMode="single"
defaultCollapsed={false}
/>
</div>
</div>