Skip to content

Phase 3 polish: admin fixes, model suggestions, test env shim#2

Merged
caioopra merged 11 commits into
mainfrom
develop
Apr 23, 2026
Merged

Phase 3 polish: admin fixes, model suggestions, test env shim#2
caioopra merged 11 commits into
mainfrom
develop

Conversation

@caioopra

Copy link
Copy Markdown
Owner

Summary

Polish pass on top of the Phase 3 admin console. Mostly bug fixes plus a small UX addition and a test-environment fix.

  • fix(admin): dashboard was reading a nonexistent active_provider setting key; now reads the real llm_default_provider so the Active Provider card shows the correct value instead of
  • fix: "Chat Feature" and "LLM Configuration" headings on the Providers page were rendering as black-on-dark and unreadable; added a body color fallback in index.css and inlined the heading colors
  • feat(admin): provider model fields now show a curated <datalist> of common Gemini/Claude model IDs while still allowing free-text entry
  • test(frontend): the full suite (267 tests) was failing because vitest 4 + jsdom 25 didn't give Zustand's persist middleware a working localStorage; added a Map-backed storage shim in src/test/setup.js
  • docs: added docs/testing_phase3.md manual QA guide; dropped stale test-DB references from infra docs and docker-compose

Test plan

  • npm test — 31 files / 267 tests pass
  • cargo test — backend suite
  • cargo clippy -- -D warnings
  • Manual: admin dashboard cards render correct values
  • Manual: Providers page headings readable, model dropdowns show suggestions
  • Manual: kill-switch, rate limit, audit log walkthrough

🤖 Generated with Claude Code

@caioopra caioopra merged commit 7e63ff4 into main Apr 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant