25 lines
1.0 KiB
Markdown
25 lines
1.0 KiB
Markdown
# 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.html` with 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.
|