botserver/src
Rodrigo Rodriguez (Pragmatismo) 5a13a99e71 refactor(web): add SPA fallback route and clean up server
- Removed the unused `serve_html` handler and its import.
- Added a fallback static file service that serves `index.html` for any unmatched path, enabling proper SPA routing.
- Reordered service registration to place the fallback before the explicit index route.
- Cleaned up redundant blank lines and imports in `mod.rs`.

**Client-side (chat.js) updates**
- Renamed the message input variable from `input` to `messageInputEl` for clarity.
- Introduced `pendingContextChange` placeholder for future context handling.
- Switched initialization event from `document 'ready'` to `window 'load'`.
- Updated DOM element assignments and focus calls to use the new variable name.
- Removed unused sidebar auto‑close logic and obsolete session loading functions (`loadSessions`, `loadSessionHistory`).
- Minor refactoring and comment adjustments to improve readability and eliminate dead code.
2025-11-17 12:11:13 -03:00
..
auth refactor(web): consolidate routing and expose auth handler 2025-11-17 10:00:12 -03:00
automation feat: remove redundant traces and update LLM server args 2025-11-12 16:04:33 -03:00
basic feat(automation): increase schedule field size and improve task checking 2025-11-12 15:04:04 -03:00
bootstrap feat: add diesel_migrations and update dependencies 2025-11-12 12:48:06 -03:00
bot feat: add diesel_migrations and update dependencies 2025-11-12 12:48:06 -03:00
channels feat: refactor prompt compaction and clean up test files 2025-11-11 18:32:52 -03:00
config feat: refactor prompt compaction and clean up test files 2025-11-11 18:32:52 -03:00
context feat: refactor prompt compaction and clean up test files 2025-11-11 18:32:52 -03:00
drive_monitor feat: add actix-files dependency for file serving support 2025-11-15 19:08:26 -03:00
email feat: refactor prompt compaction and clean up test files 2025-11-11 18:32:52 -03:00
file feat: refactor prompt compaction and clean up test files 2025-11-11 18:32:52 -03:00
llm feat: add actix-files dependency for file serving support 2025-11-15 19:08:26 -03:00
llm_models feat: refactor prompt compaction and clean up test files 2025-11-11 18:32:52 -03:00
meet feat: refactor prompt compaction and clean up test files 2025-11-11 18:32:52 -03:00
nvidia feat: simplify system metrics collection and improve status panel 2025-11-11 23:12:27 -03:00
package_manager feat: add actix-files dependency for file serving support 2025-11-15 19:08:26 -03:00
prompt_manager feat: add HTTP server and refactor initialization 2025-11-15 09:48:46 -03:00
riot_compiler feat: refactor prompt compaction and clean up test files 2025-11-11 18:32:52 -03:00
session feat(llm): add support for API key in LLM generation calls 2025-11-12 09:25:10 -03:00
shared feat: refactor prompt compaction and clean up test files 2025-11-11 18:32:52 -03:00
tests feat: refactor prompt compaction and clean up test files 2025-11-11 18:32:52 -03:00
ui feat: refactor prompt compaction and clean up test files 2025-11-11 18:32:52 -03:00
ui_tree feat: add diesel_migrations and update dependencies 2025-11-12 12:48:06 -03:00
web_server refactor(web): add SPA fallback route and clean up server 2025-11-17 12:11:13 -03:00
lib.rs feat: remove unused dependencies and clean up Cargo.lock 2025-11-05 13:46:03 -03:00
main.rs refactor(web): consolidate routing and expose auth handler 2025-11-17 10:00:12 -03:00
main.test.rs feat: refactor prompt compaction and clean up test files 2025-11-11 18:32:52 -03:00