freezmo/components
Martin Dvorak 6564e88138 Mobile declutter pass: step flows, compact cards, simplified settings
Phones only (<=639px); desktop markup is untouched.

- New deck is a 3-step flow: progress (1/3 + bar) and a fixed Back/Next
  bar above the tab bar. Step 1 = Add photos or files / Camera / Paste
  text instead (no drop zone or paste copy on touch), step 2 = folder,
  difficulty and count with defaults plus one collapsed focus/notes row,
  step 3 = one summary line (photos/docs/text · difficulty · count ·
  folder) with Freeze. Going Back keeps every input; step transitions
  respect prefers-reduced-motion.
- Make my homework is a 2-step flow sharing the same pattern; tapping a
  mode card starts it (no separate CTA on phones), with a short preview
  of the assignment on step 2. The hero is now 'Make my homework' /
  'Udělej mi úkol' everywhere ('Solve your homework' is gone) and the
  intro is one line.
- Library: stats line removed, folder row and 'Unorganized' heading
  hidden until folders exist (New folder lives in the drawer), Import is
  a small icon button beside the tabs. Deck and homework cards are
  compact on phones: title, one meta line (activities · difficulty ·
  best), a one-line description that expands on tap, the whole card
  tappable and a small Study/Open pill instead of the full-width button.
- Settings sheet on phones: no .env.local subtitle; Language stays first;
  one Connection card (status dot + 'Connected · 2 models ready', key
  field with the eye inside, Save only when edited, auto re-check on
  save, refresh icon instead of Test connection); privacy one-liner with
  a More expander (daemon tip inside); raw health rows behind one
  collapsed Details list; Remove key as a small danger button at the very
  bottom (same confirmation).
- Decorative orbs on phones moved further off the screen edges so they
  never glow under cards or primary buttons.
- Shared markup for folder/difficulty/count and mode cards keeps one
  source of state; new lib/use-phone.ts gates the layouts.

Verified: new declutter suite 116/116 (360 + 390, EN + CS, photo + PDF +
pasted text, Back keeps input, summaries, settings flow), regression
74/74, mobile 52/52, i18n 25/25. Lint + build clean. SW freezmo-v20.
2026-10-10 10:43:32 +00:00
..
activities Add “Make my homework”, and finish the mobile polish pass 2026-10-08 18:30:33 +00:00
homework Mobile declutter pass: step flows, compact cards, simplified settings 2026-10-10 10:43:32 +00:00
ApiKeyGate.tsx Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
AppHeader.tsx Mobile UI pass: sheet swipe, ice-scene layering, contrast, touch targets 2026-10-08 17:37:51 +00:00
DeckCard.tsx Mobile declutter pass: step flows, compact cards, simplified settings 2026-10-10 10:43:32 +00:00
FolderBar.tsx Mobile UI pass: sheet swipe, ice-scene layering, contrast, touch targets 2026-10-08 17:37:51 +00:00
HomeworkCard.tsx Mobile declutter pass: step flows, compact cards, simplified settings 2026-10-10 10:43:32 +00:00
IceBackdrop.tsx Frosted ice glass restyle 2026-10-08 10:11:55 +00:00
icons.tsx Fix the iOS install sheet: exact Safari flow, chips, iOS blue, layout 2026-10-07 08:49:32 +00:00
InstallSheet.tsx Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
LibraryScreen.tsx Mobile declutter pass: step flows, compact cards, simplified settings 2026-10-10 10:43:32 +00:00
ResultsScreen.tsx Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
ServiceWorkerRegistrar.tsx Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
SettingsDialog.tsx Mobile declutter pass: step flows, compact cards, simplified settings 2026-10-10 10:43:32 +00:00
Sidebar.tsx Add “Make my homework”, and finish the mobile polish pass 2026-10-08 18:30:33 +00:00
StudyFeed.tsx Retry runs get a fresh scroller so the feed can never start blank 2026-10-09 20:22:28 +00:00
TabBar.tsx Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
ThemeToggle.tsx Add “Make my homework”, and finish the mobile polish pass 2026-10-08 18:30:33 +00:00
ui.tsx Mobile UI pass: sheet swipe, ice-scene layering, contrast, touch targets 2026-10-08 17:37:51 +00:00
UploadScreen.tsx Mobile declutter pass: step flows, compact cards, simplified settings 2026-10-10 10:43:32 +00:00