-
Notifications
You must be signed in to change notification settings - Fork 35
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
update(FF): Updates FF Worklist controllers and tests #63
Conversation
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.
@IainSAP - Can you update the description #63 (comment)? Not v4 specific any more.
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.
Please see the inline comments. It looks like a handful of copy & paste issues happened in which templating strings have been replaced with hardcoded values.
packages/fiori-freestyle/templates/worklist/add/webapp/controller/Worklist.controller.js
Outdated
Show resolved
Hide resolved
packages/fiori-freestyle/templates/worklist/add/webapp/controller/Worklist.controller.js
Outdated
Show resolved
Hide resolved
packages/fiori-freestyle/templates/worklist/add/webapp/controller/Object.controller.js
Outdated
Show resolved
Hide resolved
packages/fiori-freestyle/templates/worklist/add/webapp/controller/Object.controller.js
Outdated
Show resolved
Hide resolved
Not required but if you add |
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.
- reviewed the fix of the clone method
- validated that the generated worklist templates work for both v2/v4
- didn't validate that the removal of the escaping in the ejs templates works as expected but discussed with @IainSAP and here explained that it is needed
- ran the tests
All in all, it looks very good and is a great step forward simplifying our templates.
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.
Changes look good.
Backward compatibility with tool-suite checked elsewhere by @tobiasqueck
Co-authored-by: Austin Devine <devinea@users.noreply.github.com>
a5506c5
Co-authored-by: Austin Devine <devinea@users.noreply.github.com>
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 @ullasholla
Some git conflicts |
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.
Approved (again) since the additional change only took care of merges to package.json
and pnpm-lock.yaml
packages/fiori-freestyle/templates/worklist/add/webapp/controller/Object.controller.js
Show resolved
Hide resolved
packages/fiori-freestyle/templates/worklist/add/webapp/controller/Object.controller.js
Show resolved
Hide resolved
* main: update(FF): Updates FF Worklist controllers and tests (#63) fix: app-id creation at scaffolding time in Component.js (fixes #70) (#77) Add Node V16 build and compatibility (#64) chore: set version of all modules to v0.9.0 (#71) chore: add github codeowners file (#58) # Conflicts: # .github/workflows/pipeline.yml # packages/fiori-freestyle/package.json # pnpm-lock.yaml
Adds odata version agnostic controllers for FF worklist + test