Private
Public Access
0
0

fix(gui): Final monolithic stabilization pass

- 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.
This commit is contained in:
2026-06-02 17:30:46 -04:00
parent ad98475a2e
commit 8f6f47d46b
16 changed files with 551 additions and 710 deletions
+1 -1
View File
@@ -323,5 +323,5 @@ This file tracks all major tracks for the project. Each track has its own detail
---
- [ ] **Track: Phase 7 Monolithic Stabilization (Final Cleanup)**
- [x] **Track: Phase 7 Monolithic Stabilization (Final Cleanup)**
*Link: [./tracks/phase7_monolithic_stabilization_20260602/](./tracks/phase7_monolithic_stabilization_20260602/)*
@@ -7,18 +7,18 @@
- [x] WHAT: Update `_ScopeId.__enter__` to always use `str(self._id)`.
## Phase 2: Definitive UI Fixes
- [~] Task: Fix Text Viewer Docking
- [~] WHERE: `src/gui_2.py`
- [~] WHAT: Update window ID to `###Text_Viewer_Unified`.
- [ ] Task: Fix Markdown Table Width
- [ ] WHERE: `src/gui_2.py` (`render_discussion_entry`)
- [ ] WHAT: Insert forced newline and dummy horizontal expansion.
- [ ] Task: Centralize Theme Colors
- [ ] WHERE: `src/theme_2.py` and `src/gui_2.py`
- [ ] WHAT: Move all hardcoded `vec4` to theme module. Update call sites.
- [x] Task: Fix Text Viewer Docking
- [x] WHERE: `src/gui_2.py`
- [x] WHAT: Update window ID to `###Text_Viewer_Unified`.
- [x] Task: Fix Markdown Table Width
- [x] WHERE: `src/gui_2.py` (`render_discussion_entry`)
- [x] WHAT: Insert forced newline and dummy horizontal expansion.
- [x] Task: Centralize Theme Colors
- [x] WHERE: `src/theme_2.py` and `src/gui_2.py`
- [x] WHAT: Move all hardcoded `vec4` to theme module. Update call sites.
## 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)
- [x] Task: Verify Full Suite
- [x] Run all tests in batches of 4.
- [x] Task: Conductor - User Manual Verification 'Phase 3: Verification' (Protocol in workflow.md)