Skip to content

Conversation

@keugenek
Copy link
Contributor

@keugenek keugenek commented Jan 15, 2026

Summary

Updates AppKit template to align with SDK 0.1.2 and fix documentation issues causing build failures.

Changes:

  1. Package versions: Bump @databricks/appkit and @databricks/appkit-ui from 0.0.2 to 0.1.2
  2. Import path fix: @databricks/app-kit@databricks/appkit in docs
  3. Chart children fix: Remove Recharts children pattern from LineChart (use props instead)
  4. Import cleanup: Remove unused recharts imports from App.tsx
  5. Documentation: Add chart children warning, fix import paths

Root causes addressed:

  • Agents using <LineChart><Line .../></LineChart> → TypeScript errors (charts don't accept children)
  • Agents using wrong import path → module not found errors
  • Outdated package versions → missing features

Test plan

  • Template changes only
  • Manual testing with app generation

🤖 Generated with Claude Code

- Clarify that AppKit charts do NOT accept children (Recharts pattern)
- Fix import path typo: app-kit-ui -> appkit-ui
- Add sql import for parameter helpers
- Remove incorrect generic type usage on useAnalyticsQuery

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@keugenek keugenek requested review from a team and lennartkats-db as code owners January 15, 2026 16:09
- Fix import path: @databricks/app-kit -> @databricks/appkit
- Remove Recharts children from LineChart (use props instead)
- Remove unused recharts imports
- Bump appkit versions from 0.0.2 to 0.1.2

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@keugenek keugenek changed the title Fix AppKit template docs: chart children warning and import fixes Update AppKit template for SDK 0.1.2 Jan 15, 2026
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.

2 participants