Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.
This repository was 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

Description

@davidjumani

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()

Activity

  1. added and removed
    bugSomething isn't working
    on Oct 9, 2020
  2. added this to the 1.1 milestone on Oct 9, 2020
  3. 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[/+] on Oct 9, 2020
  4. yadvr commented on Oct 12, 2020

    @yadvr
    Member

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

  5. davidjumani commented on Oct 12, 2020

    @davidjumani
    ContributorAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions