Commit graph

285 commits

Author SHA1 Message Date
8baae78692 feat: enhance thinking indicator with reasoning text support
All checks were successful
BotUI CI/CD / build (push) Successful in 40s
2026-04-14 17:14:12 -03:00
c5c042320c fix: chat message order, suggestions persistence and streaming buffer
All checks were successful
BotUI CI/CD / build (push) Successful in 40s
2026-04-14 17:04:52 -03:00
1249554df4 fix: refine scroll timeout to 1s for better auto-scroll response
All checks were successful
BotUI CI/CD / build (push) Successful in 40s
2026-04-14 16:42:19 -03:00
a46f6d20c3 fix: ensure chat scrolls to bottom during streaming renders
Some checks failed
BotUI CI/CD / build (push) Has been cancelled
2026-04-14 16:41:57 -03:00
1a4b39d6cf style: increase chat layout width by 50%
All checks were successful
BotUI CI/CD / build (push) Successful in 45s
2026-04-14 16:28:01 -03:00
9a18ff255f fix: buffered HTML streaming with tag-balancing in chat UI
All checks were successful
BotUI CI/CD / build (push) Successful in 42s
2026-04-14 15:57:10 -03:00
3ae3e3d43f fix: properly strip markdown code blocks around HTML output for LLMs
All checks were successful
BotUI CI/CD / build (push) Successful in 44s
2026-04-14 15:40:57 -03:00
dfb8ae656d fix: render HTML properly in bot messages
All checks were successful
BotUI CI/CD / build (push) Successful in 41s
2026-04-14 14:22:33 -03:00
ff93f33d40 fix: strip HTML tags to show plain text only
All checks were successful
BotUI CI/CD / build (push) Successful in 45s
2026-04-14 14:20:10 -03:00
1949ea72a6 fix: render HTML in bot messages instead of escaping as text
All checks were successful
BotUI CI/CD / build (push) Successful in 47s
2026-04-14 14:02:03 -03:00
90dc21ef3a fix: render html properly in chat messages with safe filter 2026-04-14 13:28:12 -03:00
6c0c38d51a fix: remove duplicate closing brace in partials/chat.html
All checks were successful
BotUI CI/CD / build (push) Successful in 50s
2026-04-14 13:16:37 -03:00
91e9701c3e fix: prevent broken HTML during streaming by deferring render to completion
All checks were successful
BotUI CI/CD / build (push) Successful in 59s
When HTML content is streamed incrementally, injecting partial HTML
into the DOM causes the browser to malform or discard incomplete tags.

Changes:
- In addMessage(): For streaming HTML (has msgId), show as escaped text initially
- In updateStreaming(): For HTML content, show plain text during streaming
- In finalizeStreaming(): Render complete HTML only when streaming is done
- This ensures HTML is only rendered when the full content is received

Applies to both chat.html and partials/chat.html
2026-04-14 11:58:18 -03:00
87fcb02b60 fix: correct systemd service name in CI workflow
All checks were successful
BotUI CI/CD / build (push) Successful in 43s
The workflow was trying to stop/start 'botui.service' but the
actual service name is 'ui.service'. Updated all references
to use the correct service name.
2026-04-14 11:37:30 -03:00
b87feb3d21 fix: detect uppercase HTML tags in chat rendering
Some checks failed
BotUI CI/CD / build (push) Failing after 36s
The regex for HTML detection only matched lowercase tags [a-z],
but models like openai/gpt-oss-120b output uppercase HTML tags.
This caused blank squares to appear instead of rendered HTML.

Updated all 6 occurrences in chat.html and partials/chat.html
to use [a-zA-Z] for case-insensitive tag detection.
2026-04-14 11:29:50 -03:00
910b7d42e7 fix: use SSH tar deploy like botserver, remove sudo and incus
Some checks failed
BotUI CI/CD / build (push) Failing after 2m40s
2026-04-13 16:03:31 -03:00
8029242ec2 feat: add thinking indicator for reasoning models
Some checks failed
BotUI CI / build (push) Has been cancelled
- Show thinking indicator while LLM is in reasoning mode
- Handle thinking and thinking_clear message types
- Add CSS styling for thinking indicator

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-13 15:35:46 -03:00
aeb30b1a33 no changes
Some checks failed
BotUI CI / build (push) Has been cancelled
2026-04-12 19:34:37 -03:00
5753a7f912 ui: enhance chat interface
Some checks failed
BotUI CI / build (push) Failing after 0s
2026-04-12 10:27:27 -03:00
f903dd4918 fix: render HTML directly in bot messages without escaping
Some checks failed
BotUI CI / build (push) Failing after 55m10s
- Detect HTML tags in bot responses and use content directly
- Fix for both addMessage and streaming (updateStreaming/finalizeStreaming)
- Prevents HTML source being shown to users
2026-04-09 01:39:01 -03:00
0c32befbb9 Prevent duplicate suggestion button rendering
Some checks failed
BotUI CI / build (push) Failing after 55m27s
2026-04-08 17:48:12 -03:00
ff6dfcf126 chat.html: pass session_id to auth endpoint for consistent session
Some checks failed
BotUI CI / build (push) Failing after 51m12s
2026-04-06 13:37:40 -03:00
4c5f93fc71 fix(botui): Send TOOL_EXEC (id=6) via WebSocket for direct tool invocation
Some checks failed
BotUI CI / build (push) Failing after 51m11s
2026-04-05 19:10:51 -03:00
45f56f0f6e Update botui: Knowledge Base group permissions tab and Drive UI enhancements.
Some checks failed
BotUI CI / build (push) Failing after 1h42m24s
2026-04-05 09:12:17 -03:00
3919a857b2 Merge commit '5c45eb7'
Some checks failed
BotUI CI / build (push) Failing after 1s
2026-04-02 18:43:21 -03:00
5c45eb7627 Fix favicon: convert to proper ICO format 2026-04-02 18:42:15 -03:00
7ce12d1d66 Update favicon from webmail 2026-04-02 16:49:51 -03:00
b7cc7cb394 fix: Update chat UI components
Some checks failed
BotUI CI / build (push) Failing after 1s
2026-03-31 19:55:34 -03:00
bf67e1c54b fix(ci): Remove hosts entry and simplify git setup
Some checks failed
BotUI CI / build (push) Failing after 3h11m20s
2026-03-31 15:46:13 -03:00
e9913ecf9a fix(ci): Add /root/.cargo/bin to PATH for alm-ci runner
Some checks failed
BotUI CI / build (push) Failing after 1s
2026-03-31 15:32:45 -03:00
1010732f01 fix(ci): Remove internet-dependent rust/sccache installation steps
Some checks failed
BotUI CI / build (push) Failing after 0s
- alm-ci has Rust and tools pre-installed offline
- Remove sccache/cargo cache environment variables
- Remove sccache server startup and cache directory creation
2026-03-31 15:21:37 -03:00
8be2fb4577 fix: Remove git url replacements in CI 2026-03-31 12:55:33 -03:00
19ae59f67d ci: Use globally installed Rust and sccache, optimize workflow 2026-03-25 13:28:26 -03:00
2ed22d0897 ci: Use incus from host for deployment instead of SSH 2026-03-25 13:26:07 -03:00
138cc59be3 fix: Kill botui before scp deploy, remove cargo clean 2026-03-20 19:00:15 -03:00
b2d320e767 fix: Auto-open chat maximized for all bots in desktop.html 2026-03-19 15:14:02 -03:00
ed90d20bd9 fix: Add cargo clean for fresh build 2026-03-19 15:10:00 -03:00
1468f70544 ci: fresh build 2026-03-19 15:03:33 -03:00
222e327259 fix: Clean target cache and include UI files in cache key 2026-03-19 14:47:07 -03:00
85915863b3 feat: Add .github/workflows for Forgejo Actions compatibility 2026-03-19 14:42:27 -03:00
83980a2a98 ci: trigger build 2026-03-19 14:36:24 -03:00
e30b3c4a63 fix: Use same SSH approach as botserver 2026-03-19 14:17:02 -03:00
33b8394625 fix: Correct deploy path and use root@ SSH for lxc exec 2026-03-19 14:03:01 -03:00
b0eccbce6a fix: Use SSH/SCP for deployment instead of lxc file push 2026-03-19 13:51:36 -03:00
215fb8b543 feat: Auto-open chat maximized for all bots 2026-03-19 13:41:26 -03:00
d7336860f7 chore: update version and UI changes 2026-03-19 09:54:34 -03:00
c99cf16752 Update window manager and autotask 2026-03-18 12:24:21 -03:00
85f77d0946 fix: use lxc file push to deploy botui binary to pragmatismo-system container 2026-03-17 16:20:40 -03:00
bd357c9d21 fix: mkdir -p before cp to ensure deploy dir exists 2026-03-17 16:11:34 -03:00
ec83d2c149 fix: send empty init message on WS open to trigger start.bas and load suggestions 2026-03-17 15:14:53 -03:00