Skip to content

Conversation

@korotkovao
Copy link
Contributor

Related to internal issue 36139

Do not ask the user if they want to use code assist with their generated project or not. For TypeScript, users should get this OOTB, and JavaScript support was always limited and not used.

Changes Made:

  • UI Changes (hidden prompt): The enableCodeAssist prompt is already hidden in the UI (hide: true) so users can no longer select code assist in advanced options

Backend Logic Removed:

  • Removed code assist dependencies (codeAssistDeps) from install.ts
  • Removed codeAssist option from CapInstallOptions
  • Removed enableCodeAssist parameter from installDependencies function

Removed code assist installation logic from project generation

Preserved Backward Compatibility:

  • Kept the deprecated enableCodeAssist?: boolean property in the state type with deprecation comment
  • Kept the prompt configuration with hide: true to maintain existing functionality
  • Maintained default value in defaultPromptValues for backward compatibility

Updated Tests:

  • Removed the "Code Assist" integration test
  • Updated unit tests to remove enableCodeAssist parameters
  • Updated test expectations to match the new interface
  • Set remaining enableCodeAssist test values to false

@korotkovao korotkovao requested review from a team as code owners November 24, 2025 14:53
@changeset-bot
Copy link

changeset-bot bot commented Nov 24, 2025

🦋 Changeset detected

Latest commit: c729ffe

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

This PR includes changesets to release 1 package
Name Type
@sap-ux/fiori-app-sub-generator Minor

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

lfindlaysap
lfindlaysap previously approved these changes Nov 24, 2025
…of github.com:SAP/open-ux-tools into feat/fiori-app-sub-generator/36139-remove-code-assist
@korotkovao korotkovao requested a review from IainSAP November 24, 2025 21:36
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

  • Updates as expected
  • Tests updated
  • Not tested lcoally

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.

Thanks for the updates. Code changes lgtm.
Can you check UX_DEBUG=true UX_DEBUG_FULL=true pnpm test for FF, FE , Application and library Writers to do additional checks such as lint script on the generated projects.

@sonarqubecloud
Copy link

@korotkovao
Copy link
Contributor Author

Thank you All

@korotkovao korotkovao merged commit cefffb1 into main Nov 26, 2025
16 checks passed
@korotkovao korotkovao deleted the feat/fiori-app-sub-generator/36139-remove-code-assist branch November 26, 2025 10:58
tom-sap added a commit that referenced this pull request Nov 26, 2025
* main:
  chore: apply latest changesets
  feat(fiori-app-sub-generator): 36139-remove-code-assist (#3860)
  chore: apply latest changesets
  chore - update sap-ux-odata deps (#3863)
devinea added a commit that referenced this pull request Nov 26, 2025
* origin/main:
  chore: apply latest changesets
  feat: menu actions generator (#3521)
  chore: apply latest changesets
  chore: remove mkdirp usage and update dependencies (#3871)
  chore: apply latest changesets
  feat: save value list reference metadata (#3794)
  chore: apply latest changesets
  fix: alignment fallback ui5 versions (#3861)
  chore: apply latest changesets
  feat(fiori-app-sub-generator): 36139-remove-code-assist (#3860)
  chore: apply latest changesets
  chore - update sap-ux-odata deps (#3863)
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.

5 participants