Commit graph

274 commits

Author SHA1 Message Date
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
d27e6d6b76 fix: use __INITIAL_BOT_NAME__ for WS reconnection bot name
All checks were successful
BotUI CI / build (push) Successful in 4m26s
2026-03-16 13:29:14 -03:00
281d5aed2e fix: forward session_id and user_id query params through WebSocket proxy 2026-03-16 13:25:45 -03:00
bd7ae3b565 fix: persist user_id/session_id in localStorage to prevent new session on reload 2026-03-16 13:15:48 -03:00
5943ad452d UI updates
All checks were successful
BotUI CI / build (push) Successful in 5m13s
2026-03-15 16:01:50 -03:00
516a38777c feat: add campaigns, lists, and templates UI 2026-03-14 16:35:43 -03:00
97d2a934a9 Fix CRM lead form submission - use custom JS handler for proper JSON 2026-03-12 18:19:59 -03:00
b01a02d396 Fix Bedrock config for OpenAI GPT-OSS models
All checks were successful
BotUI CI / build (push) Successful in 6m12s
2026-03-10 12:37:07 -03:00
6db01bf6c6 feat: Update organizations settings UI
All checks were successful
BotUI CI / build (push) Successful in 4m26s
- Enhanced organizations.html with new features (+63 lines)
2026-03-04 15:43:45 -03:00
9a84dfad28 Update chat and desktop UI components 2026-03-03 14:57:43 -03:00
054e57e074 fix: make maximized window fill entire screen with 100vh height
- Add height: 100vh !important to maximized window-element
- Add width: 100vw !important to maximized window-element
- Window now fills entire screen (1920x1080) when maximized
- Recovers 28px of vertical space previously lost to minibar offset
2026-03-03 13:36:15 -03:00
befa48edfb fix: remove 28px top offset for maximized windows
- Change window-element top from 28px to 0 when maximized
- Minibar is not present, so window should fill screen from top
- Removes blank space at top when window is maximized
2026-03-03 13:29:36 -03:00