CEXT-6338: spec for Admin UI v2 web-src scaffold#513
Conversation
|
obarcelonap
left a comment
There was a problem hiding this comment.
I believe this approach effectively constrains the SPA to be implemented exclusively with React. While I’m comfortable with this direction, it would be good to explicitly document it as a drawback.
@obarcelonap Not necessarily, codegen can always be extended to support other languages, and As a side note, does |
I meant you can not opt out of the code generation and even if removed will be regenerated which means you're stuck with React. I am not saying this is bad, for me is just enough. We can always add in the future a way to opt out of the scaffolding if there's a real need. |
asalloum5
left a comment
There was a problem hiding this comment.
I have a doubt here, do we handle non-react apps? I didn't see anything related to this.
Description
Adds the spec for CEXT-6338: automatic scaffolding of
web-src/forcommerce/backend-ui/2view extensions.Related Issue
CEXT-6338
Motivation and Context
The
generate allcommand already emits aviewoperation intoext.config.yamlwhen the app config requires iframe-based UI (mass actions, menu, view buttons), but without a correspondingweb-src/directory that operation is completely non-functional. Developers currently copy files manually from the Commerce samples repository.How Has This Been Tested?
Spec only — no code changes.
Types of changes
Checklist: