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(app-config-writer): enhance prompt for convert preview config #2848

Merged

Conversation

heimwege
Copy link
Contributor

@heimwege heimwege commented Jan 30, 2025

  • adjust prompt to ask for simulation
  • add new prompt asking to include test conversion
image

@heimwege heimwege requested a review from ytpo-lyne January 30, 2025 09:08
Copy link

changeset-bot bot commented Jan 30, 2025

🦋 Changeset detected

Latest commit: f059aee

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

This PR includes changesets to release 3 packages
Name Type
@sap-ux/app-config-writer Patch
@sap-ux/create Patch
@sap-ux/flp-config-sub-generator 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

@heimwege
Copy link
Contributor Author

heimwege commented Jan 31, 2025

@Klaus-Keller I just saw that the prompts for e.g. smartlinks-config are located in app-config-writer and imported into create whereas this PR would add the prompts for convert preview-config directly to the create module. Has there been any alignment on where to place the prompts?

And do you know where the @sap-ux/flp-config-sub-generator entry comes from in the changeset-bot entry? It's not part of the actual changeset md of this PR 🤷🏻

@heimwege heimwege added create @sap-ux/create app-config-writer @sap-ux/app-config-writer labels Jan 31, 2025
@heimwege heimwege marked this pull request as ready for review February 1, 2025 16:06
@heimwege heimwege requested a review from a team as a code owner February 1, 2025 16:06
@heimwege heimwege changed the title Feat(app-config-writer):enhance prompt for convert preview config Feat(app-config-writer): enhance prompt for convert preview config Feb 1, 2025
@Klaus-Keller
Copy link
Contributor

@Klaus-Keller I just saw that the prompts for e.g. smartlinks-config are located in app-config-writer and imported into create whereas this PR would add the prompts for convert preview-config directly to the create module. Has there been any alignment on where to place the prompts?

Ideally, the @sap-ux/create module has a very slim feature implementation and as few as possible domain knowledge about the actual feature. Preferably, prompts are with the feature, in this case they should be in preview-config.

And do you know where the @sap-ux/flp-config-sub-generator entry comes from in the changeset-bot entry? It's not part of the actual changeset md of this PR 🤷🏻

Not sure about this.

Copy link
Contributor

@lfindlaysap lfindlaysap left a comment

Choose a reason for hiding this comment

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

@heimwege, here is my UA review at the request of Annemarie. @JannaLisa

packages/app-config-writer/src/prompt/preview-config.ts Outdated Show resolved Hide resolved
packages/app-config-writer/src/prompt/preview-config.ts Outdated Show resolved Hide resolved
packages/app-config-writer/src/prompt/preview-config.ts Outdated Show resolved Hide resolved
packages/app-config-writer/src/prompt/preview-config.ts Outdated Show resolved Hide resolved
packages/app-config-writer/src/prompt/preview-config.ts Outdated Show resolved Hide resolved
@JannaLisa
Copy link

@heimwege, here is my UA review at the request of Annemarie. @JannaLisa

All changes proposed by @lfindlaysap look good to me!
The only tiny question I'd have is whether an article is missing: Do you want to convert the test runners?

Co-authored-by: Louise Findlay <louise.findlay@sap.com>
Copy link
Contributor

@ytpo-lyne ytpo-lyne left a comment

Choose a reason for hiding this comment

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

  • changes to prompting look good
  • changeset exists
  • language reviews set-in
  • test coverage is excellent
  • tested locally, no issues found

Thanks, @heimwege!

Copy link
Contributor

@Klaus-Keller Klaus-Keller left a comment

Choose a reason for hiding this comment

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

Thanks @heimwege!

  • focused my review on @sap-ux/create
  • code change and additions for simulation look good
  • changeset exits
  • test coverage is great
  • did a visual review, no manual test

Approved from my side

@heimwege heimwege merged commit 42dee4d into main Feb 4, 2025
16 checks passed
@heimwege heimwege deleted the feat/app-config-writer/enhance-prompt-for-convert-preview-config branch February 4, 2025 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-config-writer @sap-ux/app-config-writer create @sap-ux/create
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants