-
Notifications
You must be signed in to change notification settings - Fork 126
feat: Update app kit template #4043
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
Conversation
25d4cae to
961b511
Compare
|
Commit: bcd7e68
9 failing tests:
Top 26 slowest tests (at least 2 minutes):
|
...imental/apps-mcp/templates/appkit/template/{{.project_name}}/config/queries/mocked_sales.sql
Outdated
Show resolved
Hide resolved
|
|
||
| } | ||
|
|
||
| } |
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.
How is this used?
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.
but is missing the schema file for now, I'll add it before marking it as ready
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.
updated, basically we ask the agent to generate a schema for each of the queries in config/queries/schema.ts, and then the appKitTypes file will contain a query registry, so the useAnalyticsQuery will be automatically typed depending on the query.
The pluginRegistry types all the endpoints, we have a bug there that we are fixing, it doesn't generate them when having autoStart as false
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.
not blocking: we need to have an explicit build step as part of npm run build. Today if the agent deploys before running locally we will have an error.
|
|
||
| } | ||
|
|
||
| } |
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.
not blocking: we need to have an explicit build step as part of npm run build. Today if the agent deploys before running locally we will have an error.
|
Commit: d277cc4
13 failing tests:
Top 50 slowest tests (at least 2 minutes):
|
Changes
Update the AppKit template to improve the base css, remove some unnecessary code and add some examples of chart usage.
Added a mocked query to show some data on the charts.
Light mode
Dark mode
Why
Tests
Manually