Skip to content

Adding the ability to have a hidden reset for the resources. #1086

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

travist
Copy link
Member

@travist travist commented Jul 14, 2024

Link to Jira Ticket

https://formio.atlassian.net/browse/FIO-10084

Description

Within he Resource controller, it performs a load of the existing resource, and then while you are navigating within the resource (via edit, view, and delete), it keeps a cache of the loaded resource. There is currently no way to force a "reload" of this resource which could cause issues if you wish to fetch the latest version from the server within the resource view. This pull request adds a "reset" parameter to allow you to navigate to a route, and then pass a "reset" query parameter which will then perform a hard refresh of the loaded resource to ensure it grabs the latest versions.

Breaking Changes / Backwards Compatibility

None

Dependencies

None

How has this PR been tested?

Manual

Checklist:

  • I have completed the above PR template
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • My changes include tests that prove my fix is effective (or that my feature works as intended)
  • New and existing unit/integration tests pass locally with my changes
  • Any dependent changes have corresponding PRs that are listed above

Copy link
Contributor

@krishnpalchouhan krishnpalchouhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please close this PR as currently we are on 9.0.0-rc1

package.json Outdated
@@ -1,6 +1,6 @@
{
"name": "@formio/angular",
"version": "8.0.0-rc.3",
"version": "8.0.0-rc.6",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

take latest

@@ -1,6 +1,6 @@
{
"name": "@formio/angular",
"version": "8.0.0-rc.3",
"version": "8.0.0-rc.6",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

take latest

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.

4 participants