Intuitive search ordering of filtered data #6192
Conversation
|
APK file: https://github.com/nextcloud/talk-android/actions/runs/25810436517/artifacts/6975286920 |
|
APK file: https://github.com/nextcloud/talk-android/actions/runs/25878536561/artifacts/7002121146 |
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Improves search ordering in the conversations list so that filtered results show exact matches first, then word-boundary matches, then the remainder, across local conversations, open conversations, contacts, and message results.
Changes:
- Introduces a generic
processOrderAndAddhelper to reorder a list by up to two predicates before invoking anaddAction. - Applies this ordering to the four result groups (local conversations, open conversations, contacts, messages) using regex-based matching.
- Adds a small
Iterable<T>.splitextension to partition lists by a predicate.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
APK file: https://github.com/nextcloud/talk-android/actions/runs/25928985499/artifacts/7022662582 |
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
f7976a0 to
72f0b00
Compare
|
APK file: https://github.com/nextcloud/talk-android/actions/runs/26045148322/artifacts/7063465933 |
🏁 Checklist
/backport to stable-xx.x