Commit 2797699
authored
feat: 5584 Improve Excel schema creation flow
* feat(xlsx): add ENUM_VALUE, SHARED_ENUM_SHEET keys and Sub-Schema field type
* feat(xlsx): add SharedEnumTable layout class
* feat(xlsx): parse shared enum tab and inline sub-schemas on import
* feat(xlsx): improve Excel schema import/export flow
* fix(xlsx): remove old writeEnum() and improve schema docs
* fix(xlsx): guard rich text cast and derive enum cell address from constant
* feat(xlsx): rename schema columns and add backward-compat parsing for old Excel files
* feat(xlsx): rename template columns and fix enum parameter links
* fix(xlsx): legacy enum tab name fallback
* fix(xlsx): merge sub-schema name cache and top-level schema loops
* test(xlsx): add unit tests for new inline sub-schema and enum handling and for old cross-schema ref
* feat(xlsx): add unique enum names and reorderable Enums tab columns
* feat(xlsx): add enum name field
- Improve import/export schema enums
- Deduplicate enums with same names and options on export and creates new ones if names match but options do not match
* fix(xlsx): add legacy enum headers in header check
* feat(xlsx): add error message if enum field is missing parameter
* fix(lint): triple-equals lint error in FileHelper._flat
* fix(UI): allow clearing enum field selection in schema form
* fix(lint): database-server.ts
* fix(schema): enum name in json view
---------
Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>1 parent 4142115 commit 2797699
26 files changed
Lines changed: 1070 additions & 221 deletions
File tree
- common
- src
- database-modules
- xlsx
- models
- tests/unit-tests/xlsx
- docs
- guardian/standard-registry
- import-export-in-excel
- schemas/best-practices-to-implement-schema
- methodology-digitization-handbook/part-3
- chapter-10
- chapter-9
- frontend/src/app/modules/schema-engine
- schema-configuration
- schema-field-configuration
- schema-form
- schema-lang-modes
- indexer-interfaces/src
- helpers
- interfaces/schema
- interfaces/src
- helpers
- interface
- policy-service/src/policy-engine/db-restore
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2687 | 2687 | | |
2688 | 2688 | | |
2689 | 2689 | | |
2690 | | - | |
| 2690 | + | |
2691 | 2691 | | |
2692 | 2692 | | |
2693 | 2693 | | |
| |||
0 commit comments