RocketChat / RocketChat/Rocket.Chat.ReactNative
bug: directory view shows empty results when switching from empty Teams filter to Users or Channels
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 1.5k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 90
Description
Description
When navigating in the Directory view, switching from the Teams filter (which has no data) to Users or Channels filters incorrectly displays empty results, even though Users and Channels have data available.
Steps to Reproduce
- Open the Directory view
- Navigate to the Teams filter (assuming Teams is empty/has no data)
- Switch to Users filter
- Observe that Users shows empty results (even though users exist)
- Switch to Channels filter
- Observe that Channels also shows empty results (even though channels exist)
Expected Behavior
When switching between directory filters (Users, Teams, Channels), each filter should display its respective data correctly, regardless of the previous filter's state or data availability.
Actual Behavior
When switching from an empty Teams filter to Users or Channels, those filters incorrectly display as empty even when they contain data.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Directory view, switching from an empty Teams filter to Users and Channels. Trace the filter-switching behavior and verify that each filter displays its available data regardless of the previous filter's state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100