botserver/web/desktop
Rodrigo Rodriguez (Pragmatismo) e38554ea51 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
..
chat refactor(web): add SPA fallback route and clean up server 2025-11-17 12:11:13 -03:00
css Clean up desktop module files 2025-11-16 22:57:02 -03:00
drive feat(editor, settings): refactor state handling and enhance validation 2025-11-15 21:52:53 -03:00
js refactor(web): add SPA fallback route and clean up server 2025-11-17 12:11:13 -03:00
mail feat(editor, settings): refactor state handling and enhance validation 2025-11-15 21:52:53 -03:00
public feat(desktop): add new navigation links to index.html 2025-11-15 19:52:24 -03:00
tasks feat(editor, settings): refactor state handling and enhance validation 2025-11-15 21:52:53 -03:00
index.html refactor(web): add SPA fallback route and clean up server 2025-11-17 12:11:13 -03:00