Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

[IMPROVEMENT] Don't refresh page on async action complete if the user is on an unrelated page #798

Open
davidjumani opened this issue Oct 9, 2020 · 2 comments
Assignees
Milestone

Comments

@davidjumani
Copy link
Contributor

Don't fetchData / refresh the page if an action is completed if the user is on an unrelated page
Eg : The user might run an async job like stop a VM and navigate away to /templates, but when the VM has stopped, the page reloads. Maybe tweak the successMethod of pollJob to check the router.path and then fetchData() / parentFetchData()

@davidjumani davidjumani added the bug Something isn't working label Oct 9, 2020
@davidjumani davidjumani added usability and removed bug Something isn't working labels Oct 9, 2020
@davidjumani davidjumani added this to the 1.1 milestone Oct 9, 2020
@davidjumani davidjumani changed the title [IMPROVEMENT] Don't fetchData on action complete if the user is on a different page [IMPROVEMENT] Don't refresh page on async action complete if the user is on an unrelated page Oct 9, 2020
@rohityadavcloud
Copy link
Member

+1 (if there is an easy fix, I don't mind adding it for 1.0)

@davidjumani
Copy link
Contributor Author

There could be a simple fix for autogenerated forms. Can add that now and change the custom forms later

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants