Skip to content
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: Adding Controller Extension only on async views in Adp projects #1874

Merged

Conversation

GDamyanov
Copy link
Contributor

Feat for #1869

  • Extend with Controller button from the rta context menu is enabled only for async views
  • If application contains sync views when it loads showing warning message notifying the user that the application contains sync views

@GDamyanov GDamyanov added preview-middleware @sap-ux/preview-middleware preview-middleware-client control-property-editor @sap-ux/control-property-editor labels Apr 30, 2024
@GDamyanov GDamyanov self-assigned this Apr 30, 2024
@GDamyanov GDamyanov requested review from a team as code owners April 30, 2024 12:01
Copy link

changeset-bot bot commented Apr 30, 2024

🦋 Changeset detected

Latest commit: fb1f5f0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@sap-ux-private/control-property-editor-common Patch
@sap-ux-private/preview-middleware-client Patch
@sap-ux/control-property-editor Patch
@sap-ux/preview-middleware Patch

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

@nikmace nikmace requested a review from a team April 30, 2024 12:57
packages/control-property-editor/src/App.tsx Outdated Show resolved Hide resolved
packages/control-property-editor/src/App.tsx Outdated Show resolved Hide resolved
packages/control-property-editor/test/unit/App.test.tsx Outdated Show resolved Hide resolved
packages/control-property-editor/test/unit/App.test.tsx Outdated Show resolved Hide resolved
packages/preview-middleware-client/src/adp/init-dialogs.ts Outdated Show resolved Hide resolved
packages/preview-middleware-client/src/adp/init.ts Outdated Show resolved Hide resolved
packages/preview-middleware-client/src/adp/init.ts Outdated Show resolved Hide resolved
@nikmace nikmace self-requested a review May 8, 2024 08:40
Copy link
Contributor

@nikmace nikmace left a comment

Choose a reason for hiding this comment

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

Comments addressed
Code looks good
Did not test manually

Copy link
Contributor

@voicis voicis left a comment

Choose a reason for hiding this comment

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

  • Code changes looks good
  • Changeset present
  • Good test coverage
  • Did not test manually

If we need to add more dialogs in the future, we should look into how to better handle that logic, because it is slowly starting to get out of hand.

Also if we get more user facing texts coming from the preview middleware client, we should start using i18n mechanisms there as well.

Copy link

sonarcloud bot commented May 10, 2024

@GDamyanov GDamyanov merged commit cad21d4 into main May 10, 2024
13 checks passed
@GDamyanov GDamyanov deleted the feat/1869/disable-controller-extension-for-apps-with-sync-views branch May 10, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
control-property-editor @sap-ux/control-property-editor preview-middleware @sap-ux/preview-middleware preview-middleware-client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants