[buddypress-trac] [BuddyPress Trac] #9239: Sharing debounce functionality between components (PR #350)
buddypress-trac
noreply at wordpress.org
Mon Sep 30 18:47:48 UTC 2024
#9239: Sharing debounce functionality between components (PR #350)
---------------------------------------------+---------------------
Reporter: praveenkumar98 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 14.2.0
Component: Core | Version: 14.0.0
Severity: normal | Resolution:
Keywords: debounce optimization has-patch |
---------------------------------------------+---------------------
Changes (by prbot):
* keywords: debounce optimization needs-patch => debounce optimization
has-patch
Comment:
''This ticket was mentioned in
[https://github.com/buddypress/buddypress/pull/350 PR #350] on
[https://github.com/buddypress/buddypress/ buddypress/buddypress] by
[https://github.com/Praveenkroot Praveenkroot].''
Add debounce function to improve performance of @mentions remote filter
- Integrated debounce function to throttle the frequency of remoteFilter
calls.
- Enhanced user experience by reducing the number of AJAX requests made
during typing.
- Updated the remoteFilter callback in mentions.js to use debounce.
- Adjusted debounce delay to 300ms to balance responsiveness and
performance.
This change aims to optimize the performance of the @mentions feature by
minimizing unnecessary AJAX requests and improving overall responsiveness.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9239
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9239#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list