-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Developer Tools
-
2
-
Not Needed
- the reducer would recognize 3 states of expanded
- explicitly collapsed
- explicitly expanded
- default
- the derived expanded would complete the defaults based on:
- filtered children (when the filter is active)
- the type - connection or database (when the filter is not active)
- when the filter is activated, we reset the explicit states to defaults (while preserving a snapshot of the "before" state
- when the filter is deactivated, we merge the "before" with the new explicit states
Example:
https://codesandbox.io/p/sandbox/snowy-water-2zc6ch?file=%2Fsrc%2FApp.jsx
- causes
-
COMPASS-8026 Change in behaviour on database filter
- Closed
- is related to
-
COMPASS-8061 Add a toggle in connections list header to toggle between active and all connections
- Closed
- related to
-
COMPASS-7772 Filter Databases, Collections + Connections (new)
- Closed