feat(gui): Remove Context Presets tab from Project Settings

Context Presets tab removed from Project Settings panel.
The _render_context_presets_panel method call is removed from the tab bar.
Context presets functionality will be re-introduced in Discussion Hub -> Context Composition tab.
This commit is contained in:
2026-03-22 12:59:10 -04:00
parent c205c6d97c
commit 9ddbcd2fd6
5 changed files with 49 additions and 34 deletions

View File

@@ -29,9 +29,9 @@ separate_tier4 = false
separate_external_tools = false separate_external_tools = false
[gui.show_windows] [gui.show_windows]
"Context Hub" = false "Project Settings" = true
"Files & Media" = false "Files & Media" = true
"AI Settings" = false "AI Settings" = true
"MMA Dashboard" = false "MMA Dashboard" = false
"Task DAG" = true "Task DAG" = true
"Usage Analytics" = true "Usage Analytics" = true
@@ -53,7 +53,7 @@ Theme = false
Diagnostics = false Diagnostics = false
"External Tools" = false "External Tools" = false
"Shader Editor" = false "Shader Editor" = false
"Session Hub" = true "Session Hub" = false
[theme] [theme]
palette = "Nord Dark" palette = "Nord Dark"

View File

@@ -77,7 +77,7 @@ DockId=0xAFC85805,2
Pos=0,975 Pos=0,975
Size=1010,730 Size=1010,730
Collapsed=0 Collapsed=0
DockId=0x00000002,0 DockId=0x00000007,0
[Window][Text Viewer - Entry #7] [Window][Text Viewer - Entry #7]
Pos=379,324 Pos=379,324
@@ -93,7 +93,7 @@ Collapsed=0
Pos=0,975 Pos=0,975
Size=1010,730 Size=1010,730
Collapsed=0 Collapsed=0
DockId=0x00000002,0 DockId=0x00000007,0
[Window][AI Settings Hub] [Window][AI Settings Hub]
Pos=406,17 Pos=406,17
@@ -102,26 +102,26 @@ Collapsed=0
DockId=0x0000000D,0 DockId=0x0000000D,0
[Window][Discussion Hub] [Window][Discussion Hub]
Pos=1163,24 Pos=1228,24
Size=1234,1542 Size=1638,1651
Collapsed=0 Collapsed=0
DockId=0x00000006,0 DockId=0x00000006,0
[Window][Operations Hub] [Window][Operations Hub]
Pos=0,24 Pos=0,24
Size=1161,1542 Size=1226,1651
Collapsed=0 Collapsed=0
DockId=0x00000005,0 DockId=0x00000005,2
[Window][Files & Media] [Window][Files & Media]
Pos=0,975 Pos=1228,24
Size=1010,730 Size=1638,1651
Collapsed=0 Collapsed=0
DockId=0x00000002,0 DockId=0x00000006,1
[Window][AI Settings] [Window][AI Settings]
Pos=0,24 Pos=0,24
Size=1010,1681 Size=1226,1651
Collapsed=0 Collapsed=0
DockId=0x00000005,0 DockId=0x00000005,0
@@ -405,6 +405,12 @@ Size=1234,1542
Collapsed=0 Collapsed=0
DockId=0x00000006,1 DockId=0x00000006,1
[Window][Project Settings]
Pos=0,24
Size=1226,1651
Collapsed=0
DockId=0x00000005,1
[Table][0xFB6E3870,4] [Table][0xFB6E3870,4]
RefScale=13 RefScale=13
Column 0 Width=80 Column 0 Width=80
@@ -515,22 +521,20 @@ Column 0 Width=187
Column 1 Weight=1.0000 Column 1 Weight=1.0000
[Docking][Data] [Docking][Data]
DockNode ID=0x00000008 Pos=3125,170 Size=593,1157 Split=Y DockNode ID=0x00000008 Pos=3125,170 Size=593,1157 Split=Y
DockNode ID=0x00000009 Parent=0x00000008 SizeRef=1029,147 Selected=0x0469CA7A DockNode ID=0x00000009 Parent=0x00000008 SizeRef=1029,147 Selected=0x0469CA7A
DockNode ID=0x0000000A Parent=0x00000008 SizeRef=1029,145 Selected=0xDF822E02 DockNode ID=0x0000000A Parent=0x00000008 SizeRef=1029,145 Selected=0xDF822E02
DockSpace ID=0xAFC85805 Window=0x079D3A04 Pos=0,24 Size=2397,1542 Split=X DockSpace ID=0xAFC85805 Window=0x079D3A04 Pos=0,24 Size=2866,1651 Split=X
DockNode ID=0x00000003 Parent=0xAFC85805 SizeRef=2175,1183 Split=X DockNode ID=0x00000003 Parent=0xAFC85805 SizeRef=2175,1183 Split=X
DockNode ID=0x0000000B Parent=0x00000003 SizeRef=404,1186 Split=X Selected=0xF4139CA2 DockNode ID=0x0000000B Parent=0x00000003 SizeRef=404,1186 Split=X Selected=0xF4139CA2
DockNode ID=0x00000007 Parent=0x0000000B SizeRef=1512,858 Split=Y Selected=0x8CA2375C DockNode ID=0x00000007 Parent=0x0000000B SizeRef=1512,858 Split=X Selected=0x8CA2375C
DockNode ID=0x00000001 Parent=0x00000007 SizeRef=824,949 Split=X Selected=0x418C7449 DockNode ID=0x00000005 Parent=0x00000007 SizeRef=1226,1681 CentralNode=1 Selected=0x418C7449
DockNode ID=0x00000005 Parent=0x00000001 SizeRef=1161,1681 CentralNode=1 Selected=0x418C7449 DockNode ID=0x00000006 Parent=0x00000007 SizeRef=1638,1681 Selected=0x6F2B5B04
DockNode ID=0x00000006 Parent=0x00000001 SizeRef=1234,1681 Selected=0x6F2B5B04 DockNode ID=0x0000000E Parent=0x0000000B SizeRef=1777,858 Selected=0x418C7449
DockNode ID=0x00000002 Parent=0x00000007 SizeRef=824,730 Selected=0x8CA2375C DockNode ID=0x0000000D Parent=0x00000003 SizeRef=435,1186 Selected=0x363E93D6
DockNode ID=0x0000000E Parent=0x0000000B SizeRef=1777,858 Selected=0x418C7449 DockNode ID=0x00000004 Parent=0xAFC85805 SizeRef=1162,1183 Split=X Selected=0x3AEC3498
DockNode ID=0x0000000D Parent=0x00000003 SizeRef=435,1186 Selected=0x363E93D6 DockNode ID=0x0000000C Parent=0x00000004 SizeRef=916,380 Selected=0x655BC6E9
DockNode ID=0x00000004 Parent=0xAFC85805 SizeRef=1162,1183 Split=X Selected=0x3AEC3498 DockNode ID=0x0000000F Parent=0x00000004 SizeRef=281,380 Selected=0xDEB547B6
DockNode ID=0x0000000C Parent=0x00000004 SizeRef=916,380 Selected=0x655BC6E9
DockNode ID=0x0000000F Parent=0x00000004 SizeRef=281,380 Selected=0xDEB547B6
;;;<<<Layout_655921752_Default>>>;;; ;;;<<<Layout_655921752_Default>>>;;;
;;;<<<HelloImGui_Misc>>>;;; ;;;<<<HelloImGui_Misc>>>;;;

View File

@@ -9,5 +9,5 @@ active = "main"
[discussions.main] [discussions.main]
git_commit = "" git_commit = ""
last_updated = "2026-03-21T15:21:34" last_updated = "2026-03-22T12:57:36"
history = [] history = []

View File

@@ -650,9 +650,6 @@ class App:
if imgui.begin_tab_item('Paths')[0]: if imgui.begin_tab_item('Paths')[0]:
self._render_paths_panel() self._render_paths_panel()
imgui.end_tab_item() imgui.end_tab_item()
if imgui.begin_tab_item('Context Presets')[0]:
self._render_context_presets_panel()
imgui.end_tab_item()
imgui.end_tab_bar() imgui.end_tab_bar()
imgui.end() imgui.end()
if self.show_windows.get("Files & Media", False): if self.show_windows.get("Files & Media", False):

View File

@@ -0,0 +1,14 @@
import pytest
import inspect
def test_context_presets_tab_removed_from_project_settings():
import src.gui_2 as gui_2
source = inspect.getsource(gui_2.App._gui_func)
assert "Context Presets" not in source, (
"Context Presets tab should be removed from Project Settings"
)
assert "_render_context_presets_panel" not in source, (
"Context presets panel call should be removed"
)