J.A.R.V.I.S-rust/crates
Bossiara13 4efe306b3a feat(gui): profile switcher chip in header
Visible visual indicator of the active profile + click-to-swap dropdown.
Closes the last small UX gap pointed out in earlier sessions.

Tauri (crates/jarvis-gui/src/tauri_commands/profile.rs)
  - profile_list()   → Vec<String> of available profile names
  - profile_active() → {name, description, icon, greeting}
  - profile_set(name) → swaps active profile, returns new active

Frontend (frontend/src/components/Header.svelte)
  - Polls profile_active every 5 seconds.
  - Shows a coloured chip with icon+name when profile != "default"
    (orange tint, attention-grabbing). For "default" — muted star chip.
  - Click opens a dropdown listing all profile names; click one → swap.
  - Dropdown closes on outside-click (shared handler with lang dropdown).
  - SCSS styled to match existing aesthetic.

Build: cargo build --release -p jarvis-gui green (2m).

Now the user can see at a glance which profile is active (e.g. "💼 work")
without having to ask voice or open Settings.
2026-05-16 00:48:23 +03:00
..
jarvis-app feat(ipc): SwitchLlm + ReloadLlm + QueryHealth — daemon hot-swap + state snapshot 2026-05-15 17:37:32 +03:00
jarvis-cli feat(cli): jarvis-cli ask <prompt> via Groq 2026-04-22 19:42:12 +03:00
jarvis-core test+feat: +3 commands tests, +2 packs (self_check + ssl_check), env-race fix 2026-05-15 23:43:59 +03:00
jarvis-gui feat(gui): profile switcher chip in header 2026-05-16 00:48:23 +03:00