freezmo/lib
Martin Dvorak 8c44f47881 Separate Study Decks and Homework in the library; drop the /create mode switch
Library ("Your icebox")
- Two tabs, never mixed: Study Decks (the folder + card library) and Homework
  (saved solutions and step-by-step guides). The active tab lives in the URL
  (/?tab=homework), so the sections are linkable and survive a reload.
- Decks tab keeps Import, the folder bar, stats and its own empty state — now
  a single decks-only CTA.
- Homework tab lists saved results as cards (mode icon, date, step count,
  preview) with Open and delete-with-confirm; its empty state has its own CTA
  ("Homework Solver") that opens the solver directly. Opening a card
  deep-links to /homework?open=<id>, which the screen opens on arrival.
- .segmented now also styles link segments (same control as settings).

/create
- The redundant "Study Deck | Homework Solver" toggle is gone: /create is the
  deck uploader only, and the bottom bar's + goes straight to it. Homework has
  its own screen, reached from the library tab, the drawer and CTAs.

Copy
- New keys (en + cs): tabDecks, tabHomework, homeworkHeroTitle, plus homework
  empty-state/open/step-count strings. The homework hero is now "Solve your
  homework" / "Vyřeš svůj úkol" — no study-deck text in the homework flow.
- Removed the now-unused ModeSwitch component and homework.title key.

Service worker: freezmo-v10.

Verified: library-tabs suite 37/37 (tab switching, context empty states,
deep-link opening, deletion, no switch on /create, heroes, redirects, desktop
grid, 360px + 44px targets, axe contrast en+cs light+dark), mobile 49/49,
i18n 27/27, desktop regression 74/74. Lint + build clean.
2026-10-08 21:26:08 +00:00
..
ai.ts Add “Make my homework”, and finish the mobile polish pass 2026-10-08 18:30:33 +00:00
client-api.ts Add “Make my homework”, and finish the mobile polish pass 2026-10-08 18:30:33 +00:00
clipboard.ts Add “Make my homework”, and finish the mobile polish pass 2026-10-08 18:30:33 +00:00
confetti.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
config.ts Add “Make my homework”, and finish the mobile polish pass 2026-10-08 18:30:33 +00:00
deck-ops.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
documents.ts Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
folders.ts Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
homework.ts Add “Make my homework”, and finish the mobile polish pass 2026-10-08 18:30:33 +00:00
http-guard.ts Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
i18n-dict.ts Separate Study Decks and Homework in the library; drop the /create mode switch 2026-10-08 21:26:08 +00:00
i18n.ts Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
image.ts Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
install.ts Add the Install the app bottom sheet for mobile browsers 2026-10-07 08:27:43 +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 Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
prompts.ts Add “Make my homework”, and finish the mobile polish pass 2026-10-08 18:30:33 +00:00
rate-limit.ts Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
schemas.ts Add “Make my homework”, and finish the mobile polish pass 2026-10-08 18:30:33 +00:00
settings.ts Add full-screen API-key gate 2026-10-06 21:20:22 +00:00
storage.ts Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
ui-events.ts Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
use-health.ts Mobile UI pass: sheet swipe, ice-scene layering, contrast, touch targets 2026-10-08 17:37:51 +00:00
use-notes-intake.ts Add “Make my homework”, and finish the mobile polish pass 2026-10-08 18:30:33 +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