rspace-online/shared/components
Jeff Emmett 0813eed5e0 feat: consistent headers across all rApps + add mi AI assistant
Header consistency:
- Fix 52px → 56px header height in 7 module CSS files (pubs, funds,
  providers, books, swag, choices, cart)
- Remove custom header background overrides in books.css and pubs.css
- All pages now use the same 3-section header layout: left (app/space
  switchers), center (mi), right (identity)
- Add <rstack-mi> to all 4 standalone HTML pages (index, admin,
  create-space, canvas) and both shell renderers

mi AI assistant:
- New <rstack-mi> web component with search input "Ask mi anything..."
- Dropdown panel with streaming chat UI, typing indicator, markdown
  formatting
- POST /api/mi/ask endpoint: streams from Ollama with full rApp context
  in system prompt (all 22 modules, current space/module)
- Graceful fallback to keyword-based responses when Ollama unavailable
- Configurable via MI_MODEL and OLLAMA_URL env vars

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 15:09:41 -08:00
..
rstack-app-switcher.ts refactor: reorganize app-switcher categories — Sharing, Observing, move rTube to Creating 2026-02-25 13:30:44 -08:00
rstack-identity.ts feat: wire up account settings endpoints (email, device, guardians) 2026-02-25 14:57:32 -08:00
rstack-mi.ts feat: consistent headers across all rApps + add mi AI assistant 2026-02-25 15:09:41 -08:00
rstack-space-switcher.ts feat: redesign identity modal and space switcher UX 2026-02-25 14:50:35 -08:00