Commit graph

10 commits

Author SHA1 Message Date
7c1deca8ae fix: resolve infinite WebSocket reconnection loop
The ui_server proxies WebSocket connections. It was accepting the client's WebSocket connection (ws.onopen triggered on the client), but if it couldn't connect to the backend (or if the backend disconnected), it would drop the client connection right away (ws.onclose triggered).

The issue was that reconnectAttempts was being reset to 0 inside the ws.onopen handler. Because the connection was briefly succeeding before failing, the reconnectAttempts counter was resetting to 0 on every attempt, completely circumventing the exponential backoff mechanism and causing a tight reconnection loop.

Modified the WebSocket logic across all relevant UI components to delay resetting reconnectAttempts = 0. Instead of resetting immediately upon the TCP socket opening, it now safely waits until a valid JSON payload {"type": "connected"} is successfully received from the backend.
2026-02-25 10:15:47 -03:00
785187868e fix(ui): prevent empty chat bubbles when message content is empty 2026-02-18 21:36:03 +00:00
a3747a794f fix(ui): remove floating menu button from minimal chat UI 2026-02-18 20:41:58 +00:00
e5796fa64c fix: remove theme selector button from minimal chat UI
- Non-logged users no longer see the theme toggle (⚙/🌙/☀️) button
- Theme still auto-detects based on system preference (light/dark)
- Logged-in users have a separate theme menu with preview in the suite
2026-02-18 20:31:50 +00:00
Claude Sonnet 4.5
6b1dcc9d3f Update default port from 8088 to 9000
- Update embedded/index.html WebSocket URL
- Update minimal/index.html BotServer URL

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-08 12:14:01 +00:00
f6fc423d48 chore: remove Alpine.js references
Some checks failed
GBCI / build (push) Failing after 11s
- Delete alpinejs.min.js from ui/suite/js/vendor/
- Delete alpinejs.min.js from ui/minimal/js/vendor/
- Remove script tag from default.gbui
- Remove [x-cloak] CSS rule from global.css
- Update PROMPT.md to remove Alpine.js documentation
2025-12-18 18:53:11 -03:00
f12e858f74 Change default UI from minimal to suite 2025-12-10 21:55:25 -03:00
718afeb4b6 Fix: Use HTTP instead of HTTPS for local development BOTSERVER_URL 2025-12-08 12:06:56 -03:00
bd5b2c9481 Update UI with vendor libraries and PROMPT.md 2025-12-04 12:30:07 -03:00
5486318321 - Spliting from botserver. 2025-12-03 18:42:22 -03:00