Skip to content

feat: add table/field schema editor with DataGrid#146

Merged
fuzzzerd merged 13 commits intomasterfrom
fuzzz/schema-editor
Apr 2, 2026
Merged

feat: add table/field schema editor with DataGrid#146
fuzzzerd merged 13 commits intomasterfrom
fuzzz/schema-editor

Conversation

@fuzzzerd
Copy link
Copy Markdown
Owner

@fuzzzerd fuzzzerd commented Apr 1, 2026

Summary

  • Add FmTable/FmField model with full XML round-trip for schema editing
  • Add DataGrid-based table editor with add/remove fields, type/kind selection, and calculation editor modal
  • Add typed New menu with Script (Ctrl+N) and Table (Ctrl+Shift+N) creation
  • Fix missing DataGrid theme StyleInclude and command CanExecute refresh on selection change

Stacked on

#145

Test plan

  • dotnet build succeeds
  • dotnet test passes all 136 tests (FmField, FmTable, round-trip, ViewModel)
  • Create new table → Add Field → rows appear in DataGrid
  • Select field → Remove button enables → removes field
  • Edit field type/kind via ComboBox dropdowns
  • Edit Calculation button enables for Calculated/Summary fields

Base automatically changed from fuzzz/script-editor to master April 2, 2026 01:45
@fuzzzerd fuzzzerd force-pushed the fuzzz/schema-editor branch from 84e1629 to 4137431 Compare April 2, 2026 01:54
@fuzzzerd fuzzzerd merged commit 2550a67 into master Apr 2, 2026
6 checks passed
@fuzzzerd fuzzzerd deleted the fuzzz/schema-editor branch April 2, 2026 01:57
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