feat(wcc-sidebar): auto-expand sidebar folder when selecting an element with multiple demos
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-12-22 - 3.2.0 - feat(wcc-sidebar)
|
||||
auto-expand sidebar folder when selecting an element with multiple demos
|
||||
|
||||
- Add updated() lifecycle to auto-expand folder when selectedItem changes
|
||||
- Find element name by matching selectedItem against dashboardRef.elements
|
||||
- Only auto-expand when the element has multiple demos (checks item.demo and hasMultipleDemos)
|
||||
- Immutably update expandedElements set to trigger re-render and avoid duplicate additions
|
||||
|
||||
## 2025-12-21 - 3.1.2 - fix(wcc-properties)
|
||||
Use LitElement.updated to recreate properties only when selectedItem changes and handle errors; remove custom scheduleUpdate implementation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user