style(ui): Reorder message panel buttons for better workflow

This commit is contained in:
2026-03-07 12:24:48 -05:00
parent 60ce495d53
commit 7f0c825104

View File

@@ -1619,21 +1619,21 @@ class App:
with self._send_thread_lock: with self._send_thread_lock:
if self.send_thread and self.send_thread.is_alive(): if self.send_thread and self.send_thread.is_alive():
send_busy = True send_busy = True
if imgui.button("Inject File"):
self.show_inject_modal = True
imgui.same_line()
if (imgui.button("Gen + Send") or ctrl_enter) and not send_busy: if (imgui.button("Gen + Send") or ctrl_enter) and not send_busy:
self._handle_generate_send() self._handle_generate_send()
imgui.same_line() imgui.same_line()
if imgui.button("MD Only"): if imgui.button("MD Only"):
self._handle_md_only() self._handle_md_only()
imgui.same_line() imgui.same_line()
if imgui.button("Reset"): if imgui.button("Inject File"):
self._handle_reset_session() self.show_inject_modal = True
imgui.same_line() imgui.same_line()
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"):
self._handle_reset_session()
def _render_response_panel(self) -> None: def _render_response_panel(self) -> None:
if self._trigger_blink: if self._trigger_blink: