8f6f47d46b
- Restore monolithic architecture in gui_2.py to fix test breakages and circular imports. - Update Text Viewer stable ID to '###Text_Viewer_Unified' to definitively fix docking conflicts. - Refactor discussion entry renderer to force full-width horizontal expansion for Markdown. - Fully restore theme_2.py definitions (palettes, fonts, scale) while retaining role-tint logic. - Robustify ImGui ID stack in imgui_scopes.py to prevent access violations. - Verify all fixes with the comprehensive unit and visual test suite.
999 B
999 B
Implementation Plan: Phase 7 Monolithic Stabilization
Phase 1: Architecture Consolidation
- Task: Restore Monolithic Rendering [checkpoint:
fee4103] - Task: Robustify ID Scopes
- WHERE:
src/imgui_scopes.py - WHAT: Update
_ScopeId.__enter__to always usestr(self._id).
- WHERE:
Phase 2: Definitive UI Fixes
- Task: Fix Text Viewer Docking
- WHERE:
src/gui_2.py - WHAT: Update window ID to
###Text_Viewer_Unified.
- WHERE:
- Task: Fix Markdown Table Width
- WHERE:
src/gui_2.py(render_discussion_entry) - WHAT: Insert forced newline and dummy horizontal expansion.
- WHERE:
- Task: Centralize Theme Colors
- WHERE:
src/theme_2.pyandsrc/gui_2.py - WHAT: Move all hardcoded
vec4to theme module. Update call sites.
- WHERE:
Phase 3: Verification
- Task: Verify Full Suite
- Run all tests in batches of 4.
- Task: Conductor - User Manual Verification 'Phase 3: Verification' (Protocol in workflow.md)