Skip to content

fix: calltree expand performance regression due to search recursion#621

Merged
lcottercertinia merged 3 commits into
certinia:mainfrom
lukecotter:fix-search-expand-perf
May 11, 2025
Merged

fix: calltree expand performance regression due to search recursion#621
lcottercertinia merged 3 commits into
certinia:mainfrom
lukecotter:fix-search-expand-perf

Conversation

@lukecotter
Copy link
Copy Markdown
Collaborator

📝 PR Overview

The search logic in the grid was causing an infinite loop when calling expand/ collapse all on calltree.
The find search handling has been refactored to block clearing search highlights when search is happening and only clear if a rerender occurs and no search is currently active.
This means search highlights only clear when grouping, sorting etc (anything the causes a render other than search).

Example: "Adds a flame chart view for CPU time analysis in Apex logs to improve log analysis performance."

🛠️ Changes made

  • Change 1
  • Change 2

🧩 Type of change (check all applicable)

  • 🐛 Bug fix - something not working as expected
  • ✨ New feature – adds new functionality
  • ♻️ Refactor - internal changes with no user impact
  • ⚡ Performance Improvement
  • 📝 Documentation - README or documentation site changes
  • 🔧 Chore - dev tooling, CI, config
  • 💥 Breaking change

📷 Screenshots / gifs / video [optional]

Show off your UI changes.

🔗 Related Issues

fixes #
resolves #
closes #
related #581

✅ Tests added?

  • 👍 yes
  • 🙅 no, not needed
  • 🙋 no, I need help

📚 Docs updated?

  • 🔖 README.md
  • 🔖 CHANGELOG.md
  • 📖 help site
  • 🙅 not needed

Anything else we need to know? [optional]

@lcottercertinia lcottercertinia merged commit af5cb29 into certinia:main May 11, 2025
5 checks passed
@lukecotter lukecotter deleted the fix-search-expand-perf branch May 11, 2025 22:36
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.

2 participants