gui adjsutments
This commit is contained in:
@@ -1056,6 +1056,8 @@ class App:
|
|||||||
if imgui.button("Refresh Registry"):
|
if imgui.button("Refresh Registry"):
|
||||||
self._log_registry = log_registry.LogRegistry(str(paths.get_logs_dir() / "log_registry.toml"))
|
self._log_registry = log_registry.LogRegistry(str(paths.get_logs_dir() / "log_registry.toml"))
|
||||||
imgui.same_line()
|
imgui.same_line()
|
||||||
|
if imgui.button("Force Prune Logs"):
|
||||||
|
self.controller.event_queue.put("gui_task", {"action": "click", "item": "btn_prune_logs"})
|
||||||
|
|
||||||
registry = self._log_registry
|
registry = self._log_registry
|
||||||
sessions = registry.data
|
sessions = registry.data
|
||||||
@@ -1110,8 +1112,6 @@ class App:
|
|||||||
)
|
)
|
||||||
imgui.end_table()
|
imgui.end_table()
|
||||||
|
|
||||||
if imgui.button("Force Prune Logs"):
|
|
||||||
self.controller.event_queue.put("gui_task", {"action": "click", "item": "btn_prune_logs"})
|
|
||||||
if self.perf_profiling_enabled: self.perf_monitor.end_component("_render_log_management")
|
if self.perf_profiling_enabled: self.perf_monitor.end_component("_render_log_management")
|
||||||
imgui.end()
|
imgui.end()
|
||||||
|
|
||||||
@@ -1726,9 +1726,9 @@ class App:
|
|||||||
if imgui.button("-> History"):
|
if imgui.button("-> History"):
|
||||||
if self.ui_ai_input:
|
if self.ui_ai_input:
|
||||||
self.disc_entries.append({"role": "User", "content": self.ui_ai_input, "collapsed": False, "ts": project_manager.now_ts()})
|
self.disc_entries.append({"role": "User", "content": self.ui_ai_input, "collapsed": False, "ts": project_manager.now_ts()})
|
||||||
|
imgui.same_line()
|
||||||
if imgui.button("Reset"):
|
if imgui.button("Reset"):
|
||||||
self._handle_reset_session()
|
self._handle_reset_session()
|
||||||
imgui.same_line()
|
|
||||||
if self.perf_profiling_enabled: self.perf_monitor.end_component("_render_message_panel")
|
if self.perf_profiling_enabled: self.perf_monitor.end_component("_render_message_panel")
|
||||||
|
|
||||||
def _render_response_panel(self) -> None:
|
def _render_response_panel(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user