Skip to content

Conversation

@jsantell
Copy link
Collaborator

@jsantell jsantell commented Oct 17, 2025

Summary by cubic

Updated BG Admin to the latest commontools patterns API, using typed Cells and immutable updates for safer state changes. Aligns UI interactions and handlers with the new model.

  • Refactors

    • Replaced JSON schema types with Default-based TypeScript types.
    • Updated handlers to use Cell for reading/updating charms and the list immutably.
    • Removed lift component; added getRenderData and inline render.
    • Switched inline style strings to object styles.
    • Set recipe generics and name ("BG Admin").
  • Dependencies

    • Fixed add-admin-charm task path in deno.json to use bgAdmin.tsx.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

@jsantell jsantell merged commit cfec7f7 into main Oct 17, 2025
1 check passed
@jsantell jsantell deleted the update-bg-admin branch October 17, 2025 20:48
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