Skip to content

Enable debounce for search bars #4305

@tomasMizera

Description

@tomasMizera

Our MMSearchInput component has an option to enable debounce search effect (wait with the search so we do not run the complex search logic after each typed letter, but once the furious typing ends).

Let's set the debounce threshold this way:

  • for network-related search (projects, workspaces) set the threshold to 400ms
  • for local search (features, layers) set the threshold to 250ms

Acceptance criteria:

  1. Search boxes across the app start to search once you stop typing
  2. Verify that the following searches use debounce:
    • project search (all 3 - downloaded, workspace and explore)
    • features and layers search in the layers page
    • features search within value relation
    • search within value map
    • features search within relation reference (change parent)

Metadata

Metadata

Labels

enhancementperformanceTickets related to performance issues in loading, rendering maps, syncing, etcui/uxRelated to user interface

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions