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(fiori elements writer): 1924 reuse libs for UI.note annotation #2047

Conversation

korotkovao
Copy link
Contributor

FEATURE - Automatically enable the notes reuse component if a service is annotated with UI.Note #1924

Check if the provided metadata contains the UI.Note annotation. If yes, then add nw.core.gbt.notes.lib.reuse as a dependency to the manifest.json.

Copy link

changeset-bot bot commented Jun 18, 2024

🦋 Changeset detected

Latest commit: f650597

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

This PR includes changesets to release 2 packages
Name Type
@sap-ux/fiori-elements-writer Minor
@sap-ux/generator-simple-fe 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

@korotkovao
Copy link
Contributor Author

Tested manually
image

@korotkovao korotkovao marked this pull request as ready for review June 18, 2024 15:04
@korotkovao korotkovao requested a review from a team as a code owner June 18, 2024 15:04
@cianmSAP cianmSAP self-requested a review June 20, 2024 14:48
Copy link
Contributor

@cianmSAP cianmSAP left a comment

Choose a reason for hiding this comment

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

Just some minor description updates needed
Also please add some unit tests

@korotkovao korotkovao requested a review from cianmSAP June 21, 2024 15:05
tobiasqueck
tobiasqueck previously approved these changes Jul 1, 2024
Copy link
Contributor

@tobiasqueck tobiasqueck left a comment

Choose a reason for hiding this comment

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

  • code is concise and easy to understand
  • unit tests cover the functionality
  • changeset ok
  • didn't test locally but trust the unit tests

Copy link
Contributor

@IainSAP IainSAP left a comment

Choose a reason for hiding this comment

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

Couple minor comments

…annotation' of github.com:SAP/open-ux-tools into feat/fiori-elements-writer/1924-reuse-libs-for-ui.note-annotation
devinea
devinea previously approved these changes Jul 1, 2024
Copy link
Member

@devinea devinea 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 are clear and covered by tests
Changeset ✅

IainSAP
IainSAP previously approved these changes Jul 1, 2024
Copy link
Contributor

@IainSAP IainSAP left a comment

Choose a reason for hiding this comment

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

Thanks @korotkovao

  • Code is easy to understand
  • Tests added to cover
  • Comments addressed

@tobiasqueck
Copy link
Contributor

@korotkovao korotkovao dismissed stale reviews from IainSAP and devinea via 66a2846 July 2, 2024 08:27
Copy link

sonarcloud bot commented Jul 2, 2024

Copy link
Member

@devinea devinea left a comment

Choose a reason for hiding this comment

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

Re-approving

Copy link
Contributor

@IainSAP IainSAP left a comment

Choose a reason for hiding this comment

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

Re-approving

@korotkovao
Copy link
Contributor Author

Thank you @devinea @tobiasqueck @IainSAP @cianmSAP

@korotkovao korotkovao merged commit cfe6da8 into main Jul 2, 2024
13 checks passed
@korotkovao korotkovao deleted the feat/fiori-elements-writer/1924-reuse-libs-for-ui.note-annotation branch July 2, 2024 13:17
devinea added a commit that referenced this pull request Jul 4, 2024
* origin/main:
  chore: apply latest changesets
  fix: i18n bindings validation fails for nested *.properties files (#2021)
  chore: apply latest changesets
  fix: Release version of @sap-ux/project-access with filterDataSourcesByType (#2114)
  chore: apply latest changesets
  fix: Incorrect change mapping for 'reference' property for Adaptation Project's writers (#2107)
  chore: apply latest changesets
  fix: cpe error message regression (#2105)
  chore: apply latest changesets
  feat(fiori elements writer): 1924 reuse libs for UI.note annotation (#2047)
  chore: apply latest changesets
  fix: add description in i18n.properties (#2086)
devinea added a commit that referenced this pull request Jul 4, 2024
* origin/main: (118 commits)
  chore - Update actions - fix broken pipeline (#2118)
  chore: apply latest changesets
  fix: i18n bindings validation fails for nested *.properties files (#2021)
  chore: apply latest changesets
  fix: Release version of @sap-ux/project-access with filterDataSourcesByType (#2114)
  chore: apply latest changesets
  fix: Incorrect change mapping for 'reference' property for Adaptation Project's writers (#2107)
  chore: apply latest changesets
  fix: cpe error message regression (#2105)
  chore: apply latest changesets
  feat(fiori elements writer): 1924 reuse libs for UI.note annotation (#2047)
  chore: apply latest changesets
  fix: add description in i18n.properties (#2086)
  chore: apply latest changesets
  fix: update access modifier (#2103)
  chore: apply latest changesets
  fix: Duplicate i18n model in manifest.appdescr_variant for Adp Project (#2101)
  chore: apply latest changesets
  fix(axios-extension): parsing of service gen response (#2088)
  chore: apply latest changesets
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants