Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Dont update list view data if list view not active (backport #20396) #20419

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Mar 21, 2023

This is an automatic backport of pull request #20396 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

Steps to reproduce:
1. visit a list view that's quite active
2. move to some other page
3. list view data keeps getting refreshed in background

Fix: Only refresh when user is back on list view
(cherry picked from commit 7fc6ae6)
@mergify mergify bot requested review from a team and phot0n and removed request for a team March 21, 2023 08:42
@mergify mergify bot assigned ankush Mar 21, 2023
@ankush ankush merged commit 85cd2d2 into version-13-hotfix Mar 21, 2023
@ankush ankush deleted the mergify/bp/version-13-hotfix/pr-20396 branch March 21, 2023 08:44
frappe-pr-bot pushed a commit that referenced this pull request Mar 21, 2023
## [13.51.2](v13.51.1...v13.51.2) (2023-03-21)

### Bug Fixes

* **Database:** clear background jobs and realtime logs on rollback ([#20236](#20236)) ([#20416](#20416)) ([f4f399e](f4f399e))
* **meta:** get_permitted_fields with no field-columns (backport [#20401](#20401)) ([#20404](#20404)) ([d2be9d7](d2be9d7))
* **print:** Language set in document should have higher precedence (backport [#20336](#20336)) ([#20337](#20337)) ([2a84075](2a84075))

### Performance Improvements

* Dont update list view data if list view not active ([#20396](#20396)) ([#20419](#20419)) ([85cd2d2](85cd2d2))
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 13.51.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants