-
Notifications
You must be signed in to change notification settings - Fork 42
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
feat: Ensuring UI5 2.x compliance for cards-editor-middleware Plugin #2613
Conversation
🦋 Changeset detectedLatest commit: 3c9b09a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Did you test this with UI5 2 ? I'm quite confident that this line in your editor.html will not work in UI5 2 <script src="../test-resources/sap/ushell/bootstrap/sandbox.js" id="sap-ushell-bootstrap"></script> because in UI5 2 it must be <script src="../resources/sap/ushell/bootstrap/sandbox2.js" id="sap-ushell-bootstrap"></script> In preview-middleware our first approach was trying to solve this dynamically in the respective flp html template but that seems to create a race condition. So I completely refactored this to loading the UI5 version upfront and using a UI5 version dependent template (see #2598). Also using |
@heimwege > Thanks for pointing, I have seen the same in another commit as well. |
…AP/open-ux-tools into feat/ensure-UI5-2.0-compliance
Using the UI5 2 sources from |
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.
see Comments
Co-authored-by: Dominik Heim <[email protected]>
Co-authored-by: Dominik Heim <[email protected]>
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.
see additional comments
…into feat/ensure-UI5-2.0-compliance
Testing steps:
Go to any app in your project:
To check if app is updated with changes in this PR:
If you are able to see both flpSandbox.html & Init.js, then cards-editor-middleware package is linked correctly and node_modules is up to date with the changes in this PR. After running command for starting the app, you should be able to launch the app and see manifest.json & i18n.properties files getting saved correctly after closing the dialog. |
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.
- changeset ok
- sonar issue with duplications should be ignored because of the upcoming integration of this middleware into preview middleware
- test coverage is good
- did NOT test locally
Quality Gate failedFailed conditions |
As this is a temporary solution and we are already planning how to merge it into the preview-middleware, we are ok with the quality-gate-failure |
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.
- changeset ok
- code is duplicated but as mentioned in a comment earlier, agreed and accepted as temporary solution
…g-message-_input * origin/main: chore: apply latest changesets fix: load changes from workspace in Preview after deployment (#2650) chore: apply latest changesets fix(`odata-service-inquirer`): Apply additional messages to service selection prompt (#2693) chore: apply latest changesets Cleanup cf tests (#2690) chore: apply latest changesets fix: Manifest template for services (#2686) chore: apply latest changesets fix: mock os-name (#2689) chore: apply latest changesets fix: running test multiple times (#2685) chore: apply latest changesets fix(app-config-writer): add missing logger parameter for convert preview-config (#2687) chore: apply latest changesets Replace Keytar with @zowe/secrets-for-zowe-sdk (#2635) chore: apply latest changesets feat: Enhance extracted FLP prompts to support ADP scenario (#2610) chore: apply latest changesets feat: Ensuring UI5 2.x compliance for cards-editor-middleware Plugin (#2613)
#2681