Skip to content

Generate UIs for the remaining schemas, part 1#82

Draft
forman wants to merge 20 commits intomainfrom
forman/74-support_remaining_schemas
Draft

Generate UIs for the remaining schemas, part 1#82
forman wants to merge 20 commits intomainfrom
forman/74-support_remaining_schemas

Conversation

@forman
Copy link
Copy Markdown
Collaborator

@forman forman commented Apr 7, 2026

  • All data classes in gavicore.ui.fields are now generic wrt FT (field type) and VT (view type)
  • Supporting widget type "radio" for primitive schemas with enum (generates a pn.widgets.RadioBoxGroup)
  • Supporting widget type "button" for primitive schemas with enum (generates a pn.widgets.RadioButtonGroup)
  • Supporting schemas with oneOf and anyOf (generates a pn.layout.Tabs panel)
  • Some API renames

Checklist (strike out non-applicable):

  • Changes documented in CHANGES.md
  • Related issue exists and is referred to in the PR description and CHANGES.md
  • Added docstrings and API docs for any new/modified user-facing classes and functions
  • Changes/features documented in docs/*
  • Unit-tests adapted/added for changes/features
  • Test coverage remains or increases (target 100%)

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

❌ Patch coverage is 94.76440% with 20 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
gavicore/src/gavicore/ui/field/meta.py 85.71% 8 Missing ⚠️
...avicore/src/gavicore/ui/providers/panel/factory.py 96.18% 5 Missing ⚠️
gavicore/src/gavicore/ui/vm/some.py 71.42% 4 Missing ⚠️
gavicore/src/gavicore/ui/field/factory.py 95.65% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

1 participant