Skip to content

Conversation

@sarafarajnasardi
Copy link
Contributor

Implements the 'Filter direct messages' search box feature on the Direct Messages tab, matching the Figma design.

The search filtering is:

  • Real-time (updates as the user types)
  • Case-insensitive
  • Filters by recipient names (User display names)
  • Works for 1:1, Group, and Self DMs

The implementation includes:

  • '_FilterDmsSearchBox' widget in 'RecentDmConversationsPageBody'
  • 'TextEditingController' state and filter logic
  • 'CustomScrollView' adoption to support scrolling search box and list
  • New localization string 'recentDmConversationsFilterPlaceholder'
  • Comprehensive tests covering all filter scenarios and empty states

All existing tests continue to pass (34/34 passing).

WhatsApp.Video.2026-01-23.at.4.19.07.PM.mp4

Fixes: #1903

Implements the 'Filter direct messages' search box feature on the
Direct Messages tab, matching the Figma design.

The search filtering is:
* Real-time (updates as the user types)
* Case-insensitive
* Filters by recipient names (User display names)
* Works for 1:1, Group, and Self DMs

The implementation includes:
* '_FilterDmsSearchBox' widget in 'RecentDmConversationsPageBody'
* 'TextEditingController' state and filter logic
* 'CustomScrollView' adoption to support scrolling search box and list
* New localization string 'recentDmConversationsFilterPlaceholder'
* Comprehensive tests covering all filter scenarios and empty states

All existing tests continue to pass (34/34 passing).

Fixes: zulip#1903
@sarafarajnasardi
Copy link
Contributor Author

@gnprice Should I include this DM filtering feature in the previous PR (#2092) instead, since it uses an identical search box UI and logic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search box in recent-DMs page

1 participant