-
Notifications
You must be signed in to change notification settings - Fork 32
🐛🎨 [Frontend] Reduce number of (unnecessary) PATCH calls at Study open #7019
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
Conversation
mrnicegyu11
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks a lot!
GitHK
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
sanderegg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
|



What do these changes do?
When opening a study with many nodes, each node used to make a Patch call setting some defaults values. When dealing with studies with many nodes, this step could make the start up slower and some calls could even time out, showing the scary "Error saving study" message. This PR fixes/improves this start up step.
Bonus:
accessRightsin frontend's cache after patching other metadata @matusdrobuliak66Before:

After:

Related issue/s
How to test
Dev-ops checklist