Skip to content

Kamu UI 842 refactoring#856

Merged
dmitriy-borzenko merged 66 commits into
kamu-ui-842-Editing-the-ODF-schema-in-sourcesfrom
kamu-ui-842-refactoring
Jul 13, 2026
Merged

Kamu UI 842 refactoring#856
dmitriy-borzenko merged 66 commits into
kamu-ui-842-Editing-the-ODF-schema-in-sourcesfrom
kamu-ui-842-refactoring

Conversation

@zaychenko-sergei

@zaychenko-sergei zaychenko-sergei commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Closes: #842

Fix A — type-switch destroys nested config
Fix B — dangling blank row when editing while adding
Fix C - trackBy identity (use idx instead of name)
@dmitriy-borzenko
dmitriy-borzenko requested a review from sergiimk July 7, 2026 12:15
@dmitriy-borzenko
dmitriy-borzenko merged commit 92c5332 into kamu-ui-842-Editing-the-ODF-schema-in-sources Jul 13, 2026
1 check passed
@dmitriy-borzenko
dmitriy-borzenko deleted the kamu-ui-842-refactoring branch July 13, 2026 16:15
dmitriy-borzenko added a commit that referenced this pull request Jul 13, 2026
* added EditSchemaTableComponent

* added a few cheks for name

* fixed UI comments

* edit Struct type for first level

* Kamu UI 842 refactoring (#856)

* Fixed obvious linting issues

* Added schema normalization helpers + stabilized the quality gates (tests pass, lint fails with 4 planned fixes)

* Recursive validator + warning helpers

* Ran Prettier

* Prettier hook for Claude Code

* `EditSchemaTableComponent` → pure recursive component

* Remove the singleton; rewire `SchemaFieldComponent` to a  typed`FormControl`

* Serialization: build YAML from the form value (polling + push)

* Load path: read schema via GQL structured event in ODF format (polling + push)

* Wire validation + warnings into the UI

* Removed some legacy code

* Separated fragments for encoded view of blocks and schema fields access

* Removed redundand casts

* Tests: revise the `data-test-id` scheme

* Tests: harness hierarchy

* Tests: main component test suites using harnesses

* Test cleanups

* Tests: Serialization & load

* Tests: First integration-level  editing suite

* Tests: new schema for testing + harness extensions

* Tests: extended test suites with new cases

* Bug fixes + specs asserting the corrected behavior

Fix A — type-switch destroys nested config
Fix B — dangling blank row when editing while adding
Fix C - trackBy identity (use idx instead of name)

* Handling keyboard events in the editor

* Sketch for re-ordering fields via drag & drop

* Code review bug fixes

* More code review fixes

* More code review corrections

* Bug fixes from visual testing

* Prettier ran

* "Add Field" button on cover only

* CSS improvements, nested tables fitting better, "Add Field" button hides when not hovering

* fixed console errors and unite tests warnings

* changed tooltips text

* fixed css style for nested dropdown

* changed paddings

* added font-monospace class for cells

* set the maximum text length for table cells

* added checkbox for Optional type

* fixed types control length

* Added saving of the line being edited when switching to another line

* removed pattern validation

* fixed prettier warning

* fixed the length for the base-type control

* replaced the optional checkbox with a toggle

* minor changes

* added unit tests

* minor changes

* extended condition for 'Add field' button

* fixed css styles

* handled the case involving the parent drag

* moved 'drag_indicator' icon

* fixed an issue with saving the external structure

* fixed id for JsonKindFieldComponent

* added localEditingCoordinator

* fixed bug with deletion

* code improvement

* deleted a row with an empty name when clicking the edit icon

* added warning icon for empty struct

* Removed old schema editing component

* Minor issues fixed

* Safer schema updates in service

* removed schema name pattern

* optimization of error and warning calculations

* removed the union for the ket schema

* fixed linter warning

* modified datasetBlocksEncodedByEventType request

---------

Co-authored-by: dmitriy-borzenko <dmytro.borzenko@kamu.dev>

* changed CHANGELOG.md

---------

Co-authored-by: dmitriy-borzenko <dmytro.borzenko@kamu.dev>
Co-authored-by: Sergei Zaychenko <szaychenko@kamu.dev>
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