1.0 KiB
1.0 KiB
UI Bootstrap And Review Flow Plan
Goal
Move the web chat UI to Bootstrap 5.3 with Bootswatch themes and improve review/password/terminal-output ergonomics.
Required Changes
- Replace the current hand-written visual system in
app/api/static/index.htmlwith Bootstrap 5.3 layout/components. - Add Bootswatch theme support with a visible theme selector and persistent localStorage choice.
- Password/secret input must submit on Enter as well as the "Отправить" button.
- Console/tool output must render inside a collapsed Bootstrap accordion item.
- The accordion body must contain terminal-style output inside
<pre></pre>. - The terminal accordion must expand only when the user clicks it.
- Review UI must show critic/system assessment and user voting buttons:
Ошибочное действиеВсё верно- optional correction/comment text.
Notes
- Keep runtime event handling WebSocket-driven.
- Do not mix console output with assistant prose.
- Keep raw tool output available for debugging, but collapsed by default.