Skip to content

Add Dynamo search bar debounce#2

Open
bendikberg wants to merge 194 commits into
reope/performance-basefrom
reope/performance-search-debounce
Open

Add Dynamo search bar debounce#2
bendikberg wants to merge 194 commits into
reope/performance-basefrom
reope/performance-search-debounce

Conversation

@bendikberg

Copy link
Copy Markdown
Collaborator

Purpose

The Dynamo search bar feels stuttery when typing many characters in succession, as every key stroke starts a new search. These searches then block the Dynamo UI and will in some cases leave the UI hanging for multiple seconds at a time while all the searches complete. Since the user most likely didn't want to search for 'e', 'el', 'ele', ... etc. when they typed 'element', this both breaks user flow and leads to search feeling way slower than it has to be.

This change adds a debounce to the search (which could potentially be configurable by the user), which postpones the search until the user has paused typing for a short while.

Current search

xSuE3gCjMb.mp4

Proposed change

mfDyPu2TBW.mp4

Declarations

Check these if you believe they are true

  • The code base is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.

Reviewers

FYIs

avidit and others added 30 commits August 13, 2024 10:30
…namoDS#15444)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
bendikberg and others added 27 commits December 19, 2024 11:35
Co-authored-by: pinzart90 <tiberiu.pinzariu@gmail.com>
…S#15747)

Co-authored-by: ZbynekHanak-RWS <118838661+ZbynekHanak-RWS@users.noreply.github.com>
Co-authored-by: cBuild <smb_p_escbuild@autodesk.com>
Co-authored-by: Roberto T <61755417+RobertGlobant20@users.noreply.github.com>
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.