Current Behavior:
- When searching in the DeckPicker, the search only returns results from:
- Decks and subdecks that are currently expanded.
- Collapsed decks and their subdecks are excluded from the search results.
- This leads to a frustrating user experience as:
- Users cannot search for decks inside collapsed subdecks unless they manually expand the parent deck first.
- The search does not behave as expected, as users often expect it to include all decks irrespective of their expansion state.
Expected Behavior:
- Search All Decks:
- The search should consider all decks and subdecks, regardless of whether they are currently expanded or collapsed.
- Collapsed decks and their child subdecks should still appear in the search results if they match the search criteria.
- Result Highlighting:
- If a matching deck resides inside a collapsed parent, the parent deck should:
- Automatically expand to reveal the matching subdeck.