Skip to content

Feature/UI package#3

Merged
MistyKuu merged 6 commits into
masterfrom
feature/ui-package
Apr 6, 2026
Merged

Feature/UI package#3
MistyKuu merged 6 commits into
masterfrom
feature/ui-package

Conversation

@MistyKuu

@MistyKuu MistyKuu commented Apr 6, 2026

Copy link
Copy Markdown
Owner

No description provided.

MistyKuu added 2 commits April 6, 2026 19:48
…mples

Source generator for UI form and table metadata. Annotate models with
[Form], [Table], and UI control hints ([Select], [Slider], [TextArea], etc.)
to get compile-time form descriptors, table column definitions, and JSON
schemas — no reflection, no runtime overhead.

Includes:
- 27 attributes (form metadata, UI controls, table columns, conditionals)
- Cross-package integration with ZibStack.NET.Validation and ZibStack.NET.Dto
- Blazor sample with DynamicForm/DynamicField components
- React sample with react-hook-form integration and DynamicTable
- 34 unit tests
@MistyKuu MistyKuu force-pushed the feature/ui-package branch from 4857865 to d7e183c Compare April 6, 2026 18:28
MistyKuu added 4 commits April 6, 2026 20:30
…puted columns, column styling

New attributes:
- [ChildTable] — hierarchical drill-down (parent → child tables)
- [RowAction] — per-row action buttons with endpoint, confirmation, permission
- [ToolbarAction] — global actions (payroll, export) with selection mode
- [Permission], [ColumnPermission], [DataFilter] — authorization metadata
- [Computed] — marks virtual/calculated columns
- [ColumnStyle] — conditional styling with semantic severity (danger, success, etc.)

All features emit to both C# descriptors and JSON schema.
12 new tests (46 total), all passing.
- VoivodeshipView model with ChildTable, RowAction, ToolbarAction,
  Permission, Computed, ColumnStyle attributes
- SampleApi: new endpoints for voivodeship/county/postalcode schemas
- SampleBlazor: ErpDemo page with drill-down, row/toolbar actions,
  conditional cell styling, permission info display
- React: ErpTable component with row selection, toolbar actions,
  drill-down buttons, severity-based cell colors, action log
- Add UI package to packages table with description
- Add ZibStack.NET.UI quick example (ERP-style with drill-down, actions, permissions)
- Add UI to repository structure diagram
- Update release-all.yml with Pack 8 — UI
- Add release-ui.yml workflow for standalone release
- Add Test UI step to ci.yml
@MistyKuu MistyKuu merged commit 3e0140e into master Apr 6, 2026
1 check passed
@MistyKuu MistyKuu deleted the feature/ui-package branch April 6, 2026 18:52
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