diff --git a/conductor/tracks/text_viewer_rich_rendering_20260313/plan.md b/conductor/tracks/text_viewer_rich_rendering_20260313/plan.md index c6c07b8..c83c057 100644 --- a/conductor/tracks/text_viewer_rich_rendering_20260313/plan.md +++ b/conductor/tracks/text_viewer_rich_rendering_20260313/plan.md @@ -1,11 +1,11 @@ # Implementation Plan: Advanced Text Viewer with Syntax Highlighting ## Phase 1: State & Interface Update -- [ ] Task: Audit `src/gui_2.py` to ensure all `text_viewer_*` state variables are explicitly initialized in `App.__init__`. -- [ ] Task: Implement: Update `App.__init__` to initialize `self.show_text_viewer`, `self.text_viewer_title`, `self.text_viewer_content`, and new `self.text_viewer_type` (defaulting to "text"). -- [ ] Task: Implement: Update `self.text_viewer_wrap` (defaulting to True) to allow independent word wrap. -- [ ] Task: Implement: Update `_render_text_viewer(self, label: str, content: str, text_type: str = "text")` signature and caller usage. -- [ ] Task: Conductor - User Manual Verification 'Phase 1: State & Interface Update' (Protocol in workflow.md) +- [x] Task: Audit `src/gui_2.py` to ensure all `text_viewer_*` state variables are explicitly initialized in `App.__init__`. e28af48 +- [x] Task: Implement: Update `App.__init__` to initialize `self.show_text_viewer`, `self.text_viewer_title`, `self.text_viewer_content`, and new `self.text_viewer_type` (defaulting to "text"). e28af48 +- [x] Task: Implement: Update `self.text_viewer_wrap` (defaulting to True) to allow independent word wrap. e28af48 +- [x] Task: Implement: Update `_render_text_viewer(self, label: str, content: str, text_type: str = "text")` signature and caller usage. e28af48 +- [x] Task: Conductor - User Manual Verification 'Phase 1: State & Interface Update' (Protocol in workflow.md) e28af48 ## Phase 2: Core Rendering Logic (Code & MD) - [ ] Task: Write Tests: Create a simulation test in `tests/test_gui_text_viewer.py` to verify the viewer opens and switches rendering paths based on `text_type`.