nextcloud / nextcloud/android

Smooth Search Experience

Open
#12,233 0 comments 0 reactions 0 assignees View on GitHub
enhancement feature: search performance 🚀
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### Problem
Every time a user wants to search, the app navigates to another fragment, leading to an actual network call for each keyboard tap.

https://github.com/nextcloud/android/assets/67455295/28bcb675-b685-4009-ab1f-1cb6750194bc

### Solution
To optimize the search functionality, there's no need to navigate to a different fragment. Instead, we can utilize OCFileListFragment for searching.

As the user starts typing, we can locally filter all files. When the user taps the search button, we can then perform the actual search or we can still make actual network call for each keyboard tap.

We can choose one of these option for provide more better experience for users.

@tobiasKaminsky @AndyScherzinger

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.