-
Notifications
You must be signed in to change notification settings - Fork 206
FWF-5726:[Feature] - Updated API for Save as New Version #3072
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
base: develop
Are you sure you want to change the base?
FWF-5726:[Feature] - Updated API for Save as New Version #3072
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
| type: variable.type || "hidden", | ||
| })); | ||
|
|
||
| const filterAuthorizationData = (authorizationData) => { |
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.
@Josephalexantony-aot seems like this is a duplicate method as identified by sonarcloud
arun-s-aot
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.
@Josephalexantony-aot Please check whether the duplicated code can be minimised or added to single function.
Also since this is save and publish functionality, lets test the changes by merging to EE repo feature branch so that it wont affect Nocode flow . Temporarly holding for now.
cc @vinaayakh-aot


User description
📝 Pull Request Summary
Description:
On Saving as new version we were using the old api call
updated the api call for new POST
=> for Save as new version
=> for Publish as new version
Related Jira Ticket:
https://aottech.atlassian.net/browse/FWF-5726
DEPENDENCY PR:
Type of Change:
💻 Frontend Changes
Modules/Components Affected:
Summary of Frontend Changes:
UI/UX Review:
Screenshots / Screen Recordings (if applicable):
⚙️ Backend Changes (Java / Python)
Modules/Endpoints Affected:
Summary of Backend Changes:
API Testing:
Screenshots / Screen Recordings (if applicable):
✅ Checklist
Details:
👥 Reviewer Notes
PR Type
Enhancement
Description
Switch to createFormWithWorkflow API
Preserve and map workflow/process data
Include authorization and anonymity settings
Improve navigation and error handling
Diagram Walkthrough
File Walkthrough
FormEdit.js
Integrate new create-with-workflow API and payloadforms-flow-web/src/routes/Design/Forms/FormEdit.js