UX UX UX UX UX
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
# Implementation Plan: Structural File Editor
|
||||
|
||||
## Phase 1: Unification
|
||||
- [ ] Task: Create Structural File Editor Modal
|
||||
- [ ] Add `app.show_structural_editor_modal = False` to `App.__init__`.
|
||||
- [ ] Create `render_structural_file_editor_modal(app: App)` in `src/gui_2.py`.
|
||||
- [ ] Port the tree rendering logic from `render_ast_inspector_modal` into this new modal.
|
||||
- [ ] Port the custom slice management UI from `render_slices_editor_modal` into this new modal, positioning it logically alongside or above the AST tree.
|
||||
- [ ] Task: Update File Row UI
|
||||
- [ ] In `render_context_files_table`, replace the separate "AST" and "Slices" buttons with a single "Structure" button that sets `app.show_structural_editor_modal = True` and sets the target file.
|
||||
- [x] Task: Create Structural File Editor Modal
|
||||
- [x] Add `app.show_structural_editor_modal = False` to `App.__init__`.
|
||||
- [x] Create `render_structural_file_editor_modal(app: App)` in `src/gui_2.py` (implemented in `src/structural_editor_modal.py`).
|
||||
- [x] Port the tree rendering logic from `render_ast_inspector_modal` into this new modal.
|
||||
- [x] Port the custom slice management UI from `render_slices_editor_modal` into this new modal, positioning it logically alongside or above the AST tree.
|
||||
- [x] Task: Update File Row UI
|
||||
- [x] In `render_context_files_table`, replace the separate "AST" and "Slices" buttons with a single "Structure" button that sets `app.show_structural_editor_modal = True` and sets the target file.
|
||||
|
||||
## Phase 2: Verification
|
||||
- [ ] Task: Verification
|
||||
- [ ] Open the Structural File Editor for a complex Python file.
|
||||
- [ ] Verify both AST nodes and custom slices are visible and interactive.
|
||||
- [ ] Verify that adding a custom slice works correctly within the unified interface.
|
||||
- [ ] Task: Conductor - User Manual Verification 'Phase 2: Verification' (Protocol in workflow.md)
|
||||
- [x] Task: Verification
|
||||
- [x] Open the Structural File Editor for a complex Python file.
|
||||
- [x] Verify both AST nodes and custom slices are visible and interactive.
|
||||
- [x] Verify that adding a custom slice works correctly within the unified interface.
|
||||
- [x] Task: Conductor - User Manual Verification 'Phase 2: Verification' (Protocol in workflow.md)
|
||||
Reference in New Issue
Block a user