#9239 closed enhancement (fixed)
Sharing debounce functionality between components (PR #350)
| Reported by: | praveenkumar98 | Owned by: | espellcaste |
|---|---|---|---|
| Priority: | normal | Milestone: | 15.0.0 |
| Component: | Activity | Version: | 3.0.0 |
| Severity: | normal | Keywords: | debounce optimization needs-patch |
| Cc: |
Description
This ticket refers to the discussion in PR 350 on GitHub, where we explored reusing debounce functionality across components. The initial focus was to optimize the code by sharing debounce functions to prevent redundant code. However, after feedback, we’ve decided to address the issue with the current implementation and ensure that the solution aligns with the project's architecture.
Relevant discussion points:
- Complexity in reusing debounce functions across different parts of the project.
- Please focus on simplifying the current approach according to feedback from the maintainers.
Testing steps and expected behavior will follow the changes made in the PR.
Change History (7)
This ticket was mentioned in PR #350 on buddypress/buddypress by Praveenkroot.
2 years ago
#1
- Keywords has-patch added; needs-patch removed
#2
@
2 years ago
- Keywords needs-patch added; has-patch removed
- Milestone 14.2.0 → 15.0.0
- Version 14.0.0 → 3.0.0
As last change about mentions.js was 3.0, it's not a 14.0 regression, so we'll have it fixed in 15.0.
#4
@
20 months ago
- Component Core → Activity
- Milestone Awaiting Contributions → 15.0.0
I think this is good to put into 15. :)
renatonascalves commented on PR #350:
20 months ago
#7
Thanks @Praveenkroot 🤟🏽
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Add debounce function to improve performance of @mentions remote filter
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