Skip to content

[Feature] Refresh after form submit #2101

Description

@Jixabon

Is your feature request related to a problem?

Currently after submitting a form or saving configurations, when refreshing the same page (which contains multiple tabs) the browser will ask if you want to resubmit the form. This can cause potential resaving of fields with potentially unwanted or unexpected values. This also makes it difficult to simply get the latest data on the page.

Describe the solution you'd like

Some potential solutions:

  • Follow Post/Redirect/Get pattern. Once finished processing data from the POST set header to current location which will make it like a normal page load. This could be a relatively straightforward implementation but could potentially cause issues if there is code that's run after the render function that uses POST data.
  • Move to more ajax calls. Avoids this issue all together but would require a bit more work to implement.

Additional context

This would likely require some fundamental changes to a handful of pages so I'm open to a discussion on the vision for how the pages should work going forward.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions