-
Notifications
You must be signed in to change notification settings - Fork 413
dev: add project information for Theia AI #2470
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
base: master
Are you sure you want to change the base?
Conversation
Adds '.prompts/project-info.prompttemplate' to hand over JSON Forms project information to Theia AI.
✅ Deploy Preview for jsonforms-examples ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This already looks pretty good to me. I added very minor suggestions.
One more thing comes to mind. Should we some details on the monorepo setup?I.e.: pnpm with lerna, each package declaring all dependencies, independent test setup, base webpack configs
### Core principles | ||
|
||
JSON Forms uses a reducer-style approach for its state management. | ||
The form-wide state is manipulated via the reducers in packages/core/src/reducers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The form-wide state is manipulated via the reducers in packages/core/src/reducers. | |
The form-wide state is manipulated via the reducers in `packages/core/src/reducers`. |
JSON Forms uses a reducer-style approach for its state management. | ||
The form-wide state is manipulated via the reducers in packages/core/src/reducers. | ||
|
||
Renderers are registered in a registry, consisting of tester,renderer pairs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renderers are registered in a registry, consisting of tester,renderer pairs. | |
Renderers are registered in a registry, consisting of tester, renderer pairs. |
Any UI is defined by using two schemata: | ||
- The JSON schema defines the underlying data to be shown in the UI (objects, properties, and their types) | ||
- The UI schema defines how this data is rendered as a form, e.g. the order of controls, their visibility, and the layout. | ||
If no UI schema is given, it will be auto generated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If no UI schema is given, it will be auto generated | |
If no UI schema is given, JSON Forms generates one based on the given JSON schema. |
Yes, I think we can add much more information here |
First draft of a project info prompt for Theia AI