Skip to content

Conversation

sdirix
Copy link
Member

@sdirix sdirix commented Jul 22, 2025

First draft of a project info prompt for Theia AI

Adds '.prompts/project-info.prompttemplate' to hand over JSON Forms
project information to Theia AI.
Copy link

netlify bot commented Jul 22, 2025

Deploy Preview for jsonforms-examples ready!

Name Link
🔨 Latest commit 353eba0
🔍 Latest deploy log https://app.netlify.com/projects/jsonforms-examples/deploys/687f581261401a00087e6e74
😎 Deploy Preview https://deploy-preview-2470--jsonforms-examples.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coveralls
Copy link

Coverage Status

coverage: 82.573%. remained the same
when pulling 353eba0 on add-project-info-prompttemplate
into 883f108 on master.

@sdirix sdirix requested a review from lucas-koehler July 22, 2025 14:55
Copy link
Contributor

@lucas-koehler lucas-koehler left a 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.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
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.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
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
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
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.

@sdirix
Copy link
Member Author

sdirix commented Jul 25, 2025

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

Yes, I think we can add much more information here

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.

3 participants