I can format columns
This commit is contained in:
@@ -1403,6 +1403,8 @@ These warnings would be non-blocking (DSL still parses) but displayed with a dif
|
||||
3. ~~**Translate lark grammar to Lezer**~~ Done (`lark_to_lezer.py`)
|
||||
4. ~~**Build CodeMirror extension**~~ Done (`DslEditor.py` + `initDslEditor()`)
|
||||
5. ~~**Integrate with DataGrid** - connect DSL output to formatting engine~~ Done
|
||||
- `DataGridFormattingEditor.on_content_changed()` dispatches rules to column/row/cell formats
|
||||
- `DataGrid.mk_body_cell_content()` applies formatting via `FormattingEngine`
|
||||
6. ~~**Implement dynamic client-side completions**~~ Done
|
||||
- Engine ID: `DSLDefinition.get_id()` passed via `completionEngineId` in JS config
|
||||
- Trigger: Hybrid (Ctrl+Space + auto after `.` `(` `"` and space)
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
| `row` parameter (column-level conditions) | :x: Not implemented | |
|
||||
| Column reference in value `{"col": "..."}` | :white_check_mark: Implemented | |
|
||||
| **DataGrid Integration** | | |
|
||||
| Integration in `mk_body_cell_content()` | :x: Not implemented | |
|
||||
| Integration in `mk_body_cell_content()` | :white_check_mark: Implemented | `DataGrid.py` |
|
||||
| DataGridFormattingEditor | :white_check_mark: Implemented | `DataGridFormattingEditor.py` |
|
||||
| DataGridsManager (global presets) | :white_check_mark: Implemented | `DataGridsManager.py` |
|
||||
| **Tests** | | `tests/core/formatting/` |
|
||||
| test_condition_evaluator.py | :white_check_mark: ~45 test cases | |
|
||||
@@ -537,4 +538,4 @@ All items below are :x: **not implemented**.
|
||||
- **API source for enum**: `{"type": "api", "value": "https://...", ...}`
|
||||
- **Searchable enum**: For large option lists
|
||||
- **Formatter chaining**: Apply multiple formatters in sequence
|
||||
- **DataGrid integration**: Connect `FormattingEngine` to `DataGrid.mk_body_cell_content()`
|
||||
- ~~**DataGrid integration**: Connect `FormattingEngine` to `DataGrid.mk_body_cell_content()`~~ Done
|
||||
|
||||
Reference in New Issue
Block a user