freezmo/lib
Martin Dvorak dfa7b7502a Add full-screen API-key gate
In user-key mode a browser with no stored Ollama key now gets a polished
gate instead of the app shell: one masked input with a show/hide toggle,
a single Continue button, inline validation errors, and a "?" help sheet
with the steps to a free key.

- Validates the draft key through /api/health (real 1-token probe) before
  saving; invalid-key and network failures read differently.
- Key still lives only in this browser's localStorage; nothing server-side.
- Gate wraps /, /create and deck study; server-key and local-daemon modes
  skip it; removing the key in Settings brings it back.
- Removes the now-redundant dashboard/create API-key banner.
- Monochrome corner glows (dark near-black / light near-white), 24px card,
  48px field and button, gentle fade/slide-in, reduced-motion aware.
- Help modal: centred dialog on desktop, bottom sheet on mobile, closes via
  X, Escape or backdrop.
- README and browser suites updated (34 gate checks, 15 key-flow checks,
  12 shipped-default checks; ui/folders/docs/pwa/security/contrast green).
2026-10-06 21:20:22 +00:00
..
ai.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
client-api.ts Add full-screen API-key gate 2026-10-06 21:20:22 +00:00
confetti.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
config.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
deck-ops.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
documents.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
folders.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
http-guard.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
image.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
language.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
nav.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
ollama.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
prompts.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
rate-limit.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
schemas.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
settings.ts Add full-screen API-key gate 2026-10-06 21:20:22 +00:00
storage.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
ui-events.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
use-health.ts Add full-screen API-key gate 2026-10-06 21:20:22 +00:00
utils.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
xp.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00