Skip to content

[FEATURE REQUEST] Take advantage of the search_min_lenght capability#4792

Open
nero002 wants to merge 2 commits intoowncloud:masterfrom
nero002:feature/search-min-lenght-capability
Open

[FEATURE REQUEST] Take advantage of the search_min_lenght capability#4792
nero002 wants to merge 2 commits intoowncloud:masterfrom
nero002:feature/search-min-lenght-capability

Conversation

@nero002
Copy link

@nero002 nero002 commented Mar 4, 2026

Related Issues

App:

  • Add changelog files for the fixed issues in folder changelog/unreleased. More info here
  • Add feature to Release Notes in ReleaseNotesViewModel.kt creating a new ReleaseNote() with String resources (if required)

Description

  • Make files_sharing.search_min_lenght drive the minimum typed characters required before running user/member searches.
  • Apply this to file/folder sharing user search and space member search.
  • Keep the default value at 3 when the capability is not provided.

QA

  1. ./gradlew :owncloudComLibrary:testDebugUnitTest --tests "*CapabilityResponseTest" :owncloudDomain:testDebugUnitTest --tests "*OCCapabilityTest"
  2. ./gradlew :owncloudApp:compileOriginalDebugKotlin
  3. Manual: verify share/member search starts only after the configured capability threshold.
  4. Manual: verify fallback threshold is 3 when capability is absent.
  5. Manual: verify the new release note item appears in the What's New screen.

@CLAassistant
Copy link

CLAassistant commented Mar 4, 2026

CLA assistant check
All committers have signed the CLA.

@nero002
Copy link
Author

nero002 commented Mar 4, 2026

@jesmrec can you please review

@jesmrec
Copy link
Collaborator

jesmrec commented Mar 4, 2026

@nero002 first of all thanks for your contribution. @joragua will review your code and give you feedback and change proposals, after that, i will review it in terms of QA. Keep tuned.

@joragua joragua linked an issue Mar 4, 2026 that may be closed by this pull request
10 tasks
@joragua joragua changed the title Enhancement: make share search minimum length capability-driven [FEATURE REQUEST] Take advantage of the search_min_lenght capability Mar 4, 2026
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.

[FEATURE REQUEST] Take advantage of the search_min_lenght capability

3 participants