Commit graph

177 commits

Author SHA1 Message Date
a29255c848 fix: Update theme selector to change chat colors and add login page logo
- Fix theme CSS path from /public/themes/ to /suite/public/themes/
- When user selects theme, update chat color variables to match
- Only apply bot config colors if user hasn't selected custom theme
- Add bot logo support to login page
- Add CSS styling for login logo image

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 21:33:18 +00:00
4f654dd95d fix(i18n): Invalidate cache to fix placeholder translations
All checks were successful
BotUI CI / build (push) Successful in 2m55s
- Increment CACHE_VERSION from v1 to v2
- Forces all users to fetch fresh translations from API
- Fixes issue where old cache with placeholders was overriding correct HTML
- Browser cache had stale translations from before i18n embed fix

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-14 20:05:28 +00:00
8732738622 chore: Remove CI workflow
All checks were successful
BotUI CI / build (push) Successful in 3m19s
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-14 19:57:42 +00:00
8611472d4e ci: Add GitHub Actions CI workflow
All checks were successful
BotUI CI / build (push) Successful in 3m42s
- Add basic CI pipeline for Rust project
- Build, test, format check, and clippy

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-14 17:39:33 +00:00
fb66708cdc Debug: Add warning for missing translation keys
All checks were successful
BotUI CI / build (push) Successful in 4m13s
2026-02-14 12:25:53 +00:00
be802201fd feat(i18n): Add cache versioning to prevent stale translations
All checks were successful
BotUI CI / build (push) Successful in 3m45s
- Add CACHE_VERSION constant (v1)
- Include version in cache key to auto-invalidate old caches
- Update clearCache to handle versioned keys
- Add comment explaining when to increment version
2026-02-14 12:09:26 +00:00
4164b75c89 fix(i18n): Add comprehensive cache and fetch logging
All checks were successful
BotUI CI / build (push) Successful in 4m13s
2026-02-14 12:04:33 +00:00
2bb7959666 fix(i18n): Add logging to debug translation loading
All checks were successful
BotUI CI / build (push) Successful in 5m12s
2026-02-14 11:54:08 +00:00
b68fc0aa85 Update chat UI
All checks were successful
BotUI CI / build (push) Successful in 4m42s
2026-02-14 10:13:40 +00:00
161012c6a6 Update submodule changes
Some checks failed
BotUI CI / build (push) Failing after 18m37s
2026-02-13 22:31:49 +00:00
af78f31565 Remove chat header and fix theming from config.csv
Some checks failed
BotUI CI / build (push) Has been cancelled
- Remove chat header (logo and title) from chat window since logo
  will be displayed in top bar from config.csv
- Update CSS to use --chat-color1 and --chat-color2 for all themed elements
- Remove hardcoded theme overrides that interfered with config colors
- Fix text contrast: bot messages now use color2 background with black text
- Update suggestion buttons to use theme colors from config.csv
- Clean up JavaScript to remove references to deleted header elements

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 14:07:23 +00:00
a8bc5530b0 Add config-colors.css and update UI components
- Add config-colors.css for dynamic color theming
- Update base.html, chat components for better UX
- Improve theme manager and HTMX app integration
2026-02-10 13:54:16 +00:00
123787378f Update suite_app.js for tool calling fixes 2026-02-09 15:12:19 +00:00
Claude Sonnet 4.5
1bf9510c7d WIP: Various UI updates from previous session
- Update UI server module
- Update suite index and JavaScript files
- Add public directory

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-08 12:21:11 +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
root
607ad076d9 Fix email module integration - update build and UI server 2026-02-07 16:28:36 +00:00
661edc09fa Fix 404 errors for static assets with bot name prefixes
All checks were successful
BotUI CI / build (push) Successful in 3m42s
Removed root-level static routes (/:dir/*path) that conflicted with
bot name prefixes like /edu. Now all assets are served under /suite/
path, allowing the fallback handler to properly detect and strip
bot prefixes before resolving file paths.

Fixes:
- /edu/suite/js/api-client.js now returns 200 OK
- /edu/suite/css/apps-extended.css now returns 200 OK
- /edu/suite/admin/admin.js now returns 200 OK
- Base href injection working correctly for bot prefixes
2026-02-06 16:24:56 -03:00
1a1de27fd7 Fix CI: build release mode with embed-ui feature
All checks were successful
BotUI CI / build (push) Successful in 4m30s
2026-02-06 12:24:03 -03:00
924f7660a0 Trigger CI: build with embed-ui feature
All checks were successful
BotUI CI / build (push) Successful in 1m35s
2026-02-06 12:12:52 -03:00
e286d64ce3 Fix CI: remove path filters that don't match standalone repo structure
All checks were successful
BotUI CI / build (push) Successful in 2m10s
- Remove 'paths' filter from push/pull_request triggers
- Path filters like 'botui/**' only work in main gb repo
- In standalone botui repo, files are at root level (src/, Cargo.toml, etc.)
- CI will now run on all pushes to main branch
2026-02-06 11:51:21 -03:00
07da8a4e88 Fix rust-embed: correct folder path and remove duplicate feature
- Fix RustEmbed folder path to use $CARGO_MANIFEST_DIR/ui
- Remove duplicate interpolate-folder-path feature (now in workspace)
- Verified: 13 HTML files embedded, binary works from any directory
2026-02-06 11:36:48 -03:00
f5ab1799a6 Trigger CI: manual workflow run
All checks were successful
BotUI CI / build (push) Successful in 2m1s
2026-02-06 10:57:04 -03:00
95f856b080 Reduce CARGO_BUILD_JOBS to 6 for CI stability
All checks were successful
BotUI CI / build (push) Successful in 1m57s
2026-02-06 10:18:00 -03:00
a1a30adb2c Fix embed-ui feature: correct rust-embed folder path
- Changed rust-embed folder from '../ui' to 'ui' (relative to crate root)
- Added conditional imports to eliminate unused import warnings
- Now UI files properly embed into botui binary during compilation
- Resolves production error: 'Asset suite/index.html not found in embedded binary'
2026-02-06 09:26:30 -03:00
cdf8bea155 Fix RustEmbed folder path for embedded UI 2026-02-05 18:40:34 -03:00
1ad929e3ff Enable embed-ui feature by default to fix UI directory not found error
All checks were successful
BotUI CI / build (push) Successful in 5m59s
2026-02-05 13:42:52 -03:00
802219d8cd Bump version to 6.1.2 2026-02-05 11:20:06 -03:00
414d277ae1 Bump version to 6.1.1: Trigger CI rebuild with embed-ui fix 2026-02-05 10:30:12 -03:00
abdd2ff615 Fix UI directory detection: skip filesystem checks when embed-ui is enabled 2026-02-05 09:44:20 -03:00
77374ae638 Fix workflow trigger path: use .forgejo instead of .github
All checks were successful
BotUI CI / build (push) Successful in 3m50s
2026-02-05 09:20:40 -03:00
e0504f3703 Create dedicated BotUI CI workflow
- New workflow for botui-only builds and deployments
- Trigger only on botui/**, botlib/** changes
- Build only botui package with embed-ui feature
- Deploy only botui binary
- Restart only ui service
- Separate cache key to avoid conflicts with botserver
2026-02-05 08:45:20 -03:00
91a750127c Fix ServeDir import compilation error 2026-02-05 08:00:37 -03:00
5618ed4367 Update: UI files and add error-reporter.js 2026-02-04 13:54:26 -03:00
5e10222a94 Fix login redirect to use absolute URL
- Use window.location.origin for redirect to ensure it works from any path
- Redirects to chat (#chat) after successful authentication
- Maintains support for custom redirect parameter
2026-02-04 13:20:14 -03:00
375b457f48 Fix login redirect to chat after authentication
- Change default redirect from '/' to '/#chat' after successful login
- Ensures users go directly to chat interface instead of root
2026-02-04 12:52:47 -03:00
e135ebf2e6 Hide voice icon, use light theme, add cursor blink
- Hide voice input button in chat interface
- Change default theme from 'sentient' to 'light'
- Add blinking cursor animation to chat input field
2026-02-04 09:56:24 -03:00
b69ea06ad3 Fix logged-out user menu - show only Sign in button
Removed Profile, Settings, and Help & Support items from user menu
when user is not authenticated. Now only Sign in button is visible.
2026-02-04 08:57:31 -03:00
bd49ee3892 Add logged-out navigation menu component
- Simplified menu showing only Sign in button
- Uses HTMX for authentication redirect
- Follows existing UI component patterns
- Responsive design with CSS variables
2026-02-04 00:03:10 -03:00
34d55825bc feat: Hide omnibox and apps menu based on product configuration
- Hide omnibox search mechanism when search_enabled=false in product config
- Hide apps menu launcher when menu_launcher_enabled=false or when no apps are visible
- Check effectiveApps (after filtering by compiled features) to determine if menu should be shown
- Automatically hide the apps menu button when there are no apps to display

This provides UI controls that respect the new search_enabled and menu_launcher_enabled
directives added to the .product configuration.
2026-01-29 23:56:00 -03:00
27e839f22a Fix bot_id routing: Extract bot name from URL path
- Add bot_name field to WsQuery struct
- Extract bot_name from URL path (e.g., /edu, /chat/edu)
- Pass bot_name to backend WebSocket URL
- Use URL path for bot identification instead of relying on client message
2026-01-28 17:17:36 -03:00
db0f0c1178 fix(ui): Use absolute paths for CSS/JS assets in suite apps to resolve loading errors 2026-01-28 16:26:09 -03:00
f4dcae288a chore: Revert default log level to info 2026-01-27 18:44:22 -03:00
bb8b35d885 chore: Set default internal log level to trace 2026-01-27 18:37:21 -03:00
497d0dd18c fix(ui): add filesystem fallback for embedded mode
Some checks failed
GBCI / build (push) Failing after 11s
2026-01-26 14:53:32 -03:00
22fa29b3ec fix(ui): improve asset discovery and error logging
Some checks failed
GBCI / build (push) Failing after 11s
2026-01-26 14:50:27 -03:00
12c1e3210f feat(ui): implement embedded ui assets and robust path resolution
Some checks failed
GBCI / build (push) Failing after 12s
2026-01-26 11:44:47 -03:00
5657e33006 refactor(suite): clean up base layout and modularize app scripts 2026-01-25 13:33:03 -03:00
fee8b3d2a3 fix(clippy): resolve unused code warning 2026-01-25 10:29:56 -03:00
74a2122827 fix(ui): resolve clippy warnings and update dependencies 2026-01-25 08:42:35 -03:00
97b96faa89 Update UI 2026-01-24 22:06:22 -03:00