UX UX UX UX UX
This commit is contained in:
+3
-3
@@ -288,7 +288,7 @@ This file tracks all major tracks for the project. Each track has its own detail
|
||||
|
||||
---
|
||||
|
||||
- [~] **Track: Preserve context selection on discussion switch and add empty context warning**
|
||||
- [x] **Track: Preserve context selection on discussion switch and add empty context warning**
|
||||
*Link: [./tracks/context_preservation_and_warnings_20260601/](./tracks/context_preservation_and_warnings_20260601/)*
|
||||
|
||||
---
|
||||
@@ -303,7 +303,7 @@ This file tracks all major tracks for the project. Each track has its own detail
|
||||
|
||||
---
|
||||
|
||||
- [~] **Track: Combine AST Inspector and Slices Editor into a unified Structural File Editor**
|
||||
- [x] **Track: Combine AST Inspector and Slices Editor into a unified Structural File Editor**
|
||||
*Link: [./tracks/structural_file_editor_20260601/](./tracks/structural_file_editor_20260601/)*
|
||||
|
||||
---
|
||||
@@ -313,5 +313,5 @@ This file tracks all major tracks for the project. Each track has its own detail
|
||||
|
||||
---
|
||||
|
||||
- [~] **Track: Fix Approve Modal sizing and inline full preview**
|
||||
- [x] **Track: Fix Approve Modal sizing and inline full preview**
|
||||
*Link: [./tracks/approve_modal_ux_20260601/](./tracks/approve_modal_ux_20260601/)*
|
||||
|
||||
@@ -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