Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

To prevent search lag when there are a large number of notes#1589

Merged
eliandoran merged 3 commits intodevelopfrom
autoComplete
Apr 1, 2025
Merged

To prevent search lag when there are a large number of notes#1589
eliandoran merged 3 commits intodevelopfrom
autoComplete

Conversation

@SiriusXT
Copy link
Copy Markdown
Member

@SiriusXT SiriusXT commented Apr 1, 2025

  1. fd53e35#r154636117
    For some languages, such as Chinese, a word may consist of only 1-2 characters, so directly setting a minimum search length might not be applicable to all languages. Therefore, it has been modified to use a delay method to prevent jitter.

  2. To avoid triggering a search during character composition.
    For example, when the input status of the following figure should not be searched:
    图片

@SiriusXT SiriusXT marked this pull request as ready for review April 1, 2025 10:53
@eliandoran eliandoran merged commit d7fef36 into develop Apr 1, 2025
2 checks passed
@eliandoran eliandoran deleted the autoComplete branch April 1, 2025 19:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants