J.A.R.V.I.S-rust/frontend
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
..
public Multilingual support via Fluent + Frontend improvements + Rewrite of ArcReactor 2026-01-07 05:04:04 +05:00
src feat(gui): profile switcher chip in header 2026-05-16 00:48:23 +03:00
.gitignore project restructure with Rust workspaces 2026-01-04 05:19:47 +05:00
index.html project restructure with Rust workspaces 2026-01-04 05:19:47 +05:00
package-lock.json chore: build frontend assets so tauri context generates cleanly 2026-04-22 17:57:29 +03:00
package.json chore: build frontend assets so tauri context generates cleanly 2026-04-22 17:57:29 +03:00
tsconfig.json frontend fixes & db rewrite with serde 2026-01-04 09:00:51 +05:00
tsconfig.node.json frontend fixes & db rewrite with serde 2026-01-04 09:00:51 +05:00
vite.config.ts frontend fixes & db rewrite with serde 2026-01-04 09:00:51 +05:00