freezmo/components
Martin Dvorak 2103f9fc69 Smart Review: instant loading feedback, no more dead-feeling tap
Reported: tapping Review due could sit for many seconds with no loading
screen. The flow itself is local and fast (counts are hydrated on the
library; <1.5s even at 6x CPU throttle with 3,000 answers), so the
visible fault was missing feedback: /review is a dynamic route and
until its payload arrived nothing on screen changed.

- LinkLoadingScreen: the review card links render a full-screen
  loading screen from the link's own useLinkStatus pending state, the
  instant the tap happens (measured 58 ms with the route request held
  open). The links also prefetch their payload.
- Route loading boundaries (loading.tsx) for /review, /stats and
  /exam, sharing a RouteLoading screen (app icon + spinner +
  localized message); ReviewClient's bare skeleton replaced with it.
- Health probes: per-key 30s cache + in-flight sharing in use-health.ts
  (every page mounts its own gate; a session now fires one probe
  instead of one per navigation). Manual re-check still forces.
- Czech fix: exam heading 'Zkouškové režim' -> 'Zkouškový režim'.

Verified by the rebuilt suites (the /tmp harness was wiped overnight):
review-loading 15/15 (stalled-request loading screen at 58 ms, session
arrival after release, fast normal path, mistakes path, end-to-end
grading, probe cache) and navigation 78/78 (tab bar, labels 360/390
EN/CS, routing, deep links, wizard loading lock). Lint + build clean.
SW freezmo-v30.
2026-10-11 14:35:16 +00:00
..
activities Phase 2: learning engine — history, SRS review, mistakes, stats, exam, reminders 2026-10-10 14:15:21 +00:00
exam Phase 2: learning engine — history, SRS review, mistakes, stats, exam, reminders 2026-10-10 14:15:21 +00:00
homework Lock the wizard mode switch while a run is generating 2026-10-10 17:47:05 +00:00
ApiKeyGate.tsx Add an English/Czech interface language switch 2026-10-08 13:56:32 +00:00
AppHeader.tsx Navigation restructure: five-tab bottom bar, no phone drawer 2026-10-10 16:53:55 +00:00
DataSection.tsx Phase 2: learning engine — history, SRS review, mistakes, stats, exam, reminders 2026-10-10 14:15:21 +00:00
DeckCard.tsx Native-feel pass: PWA integration, system back, offline, haptics, undo 2026-10-10 12:16:03 +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 Phase 3: Check my work, follow-ups and turn-into-deck 2026-10-10 14:36:04 +00:00
IceBackdrop.tsx Frosted ice glass restyle 2026-10-08 10:11:55 +00:00
icons.tsx Navigation restructure: five-tab bottom bar, no phone drawer 2026-10-10 16:53:55 +00:00
InstallSheet.tsx Native-feel pass: PWA integration, system back, offline, haptics, undo 2026-10-10 12:16:03 +00:00
LearningSection.tsx Phase 2: learning engine — history, SRS review, mistakes, stats, exam, reminders 2026-10-10 14:15:21 +00:00
LibraryScreen.tsx Smart Review: instant loading feedback, no more dead-feeling tap 2026-10-11 14:35:16 +00:00
LinkLoadingScreen.tsx Smart Review: instant loading feedback, no more dead-feeling tap 2026-10-11 14:35:16 +00:00
ModelErrorActions.tsx Phase 1: backup, encrypted sync and monthly-usage handling 2026-10-10 13:43:42 +00:00
OfflineBanner.tsx Native-feel pass: PWA integration, system back, offline, haptics, undo 2026-10-10 12:16:03 +00:00
ResultsScreen.tsx Animation pass: one shared motion language for phones 2026-10-10 11:01:29 +00:00
ReviewClient.tsx Smart Review: instant loading feedback, no more dead-feeling tap 2026-10-11 14:35:16 +00:00
RouteLoading.tsx Smart Review: instant loading feedback, no more dead-feeling tap 2026-10-11 14:35:16 +00:00
RouteTransition.tsx Animation pass: one shared motion language for phones 2026-10-10 11:01:29 +00:00
SegmentedPill.tsx Animation pass: one shared motion language for phones 2026-10-10 11:01:29 +00:00
ServiceWorkerRegistrar.tsx Freezmo: self-hosted notes-to-activities study app 2026-10-06 20:56:55 +00:00
SessionFeed.tsx Phase 2: learning engine — history, SRS review, mistakes, stats, exam, reminders 2026-10-10 14:15:21 +00:00
SettingsDialog.tsx Phase 2: learning engine — history, SRS review, mistakes, stats, exam, reminders 2026-10-10 14:15:21 +00:00
ShareChooser.tsx Phase 1: backup, encrypted sync and monthly-usage handling 2026-10-10 13:43:42 +00:00
Sidebar.tsx Navigation restructure: five-tab bottom bar, no phone drawer 2026-10-10 16:53:55 +00:00
StatsScreen.tsx Phase 2: learning engine — history, SRS review, mistakes, stats, exam, reminders 2026-10-10 14:15:21 +00:00
StudyFeed.tsx Phase 2: learning engine — history, SRS review, mistakes, stats, exam, reminders 2026-10-10 14:15:21 +00:00
SyncSection.tsx Phase 1: backup, encrypted sync and monthly-usage handling 2026-10-10 13:43:42 +00:00
TabBar.tsx Navigation restructure: five-tab bottom bar, no phone drawer 2026-10-10 16:53:55 +00:00
ThemeToggle.tsx Phase 1: backup, encrypted sync and monthly-usage handling 2026-10-10 13:43:42 +00:00
Toaster.tsx Native-feel pass: PWA integration, system back, offline, haptics, undo 2026-10-10 12:16:03 +00:00
ui.tsx Animation pass: one shared motion language for phones 2026-10-10 11:01:29 +00:00
UploadScreen.tsx Lock the wizard mode switch while a run is generating 2026-10-10 17:47:05 +00:00
WizardActionBar.tsx Wizard polish: step headlines, gated Next, real summary, portal action bar 2026-10-10 11:35:45 +00:00
WizardModeSwitch.tsx Lock the wizard mode switch while a run is generating 2026-10-10 17:47:05 +00:00