Show the generation loading screen again on phones

The wizard-polish restructure put the phone branch before the loading
check, so 'Freeze my deck' left the wizard on screen (looking like
nothing happened) until the router landed on the finished deck. The
loading state is now checked before the phone flow, for both layouts.

New freeze-loading suite (6 checks): the staged loading screen appears
immediately after Freeze, shows the stage message and Cancel, unmounts
the wizard bar, and Cancel returns to the wizard with the cancelled
notice instead of getting stuck.

Regression 74/74, mobile 52/52, wizard 80/80, declutter 116/116,
freeze-loading 6/6, native 35/35, i18n 25/25. Lint + build clean.
SW freezmo-v24.
This commit is contained in:
Martin Dvořák 2026-10-10 12:35:14 +00:00
commit 1dc2992fb5
2 changed files with 5 additions and 5 deletions

View file

@ -566,6 +566,10 @@ export function UploadScreen() {
? t("upload.ready")
: t("upload.addToStart");
if (phase === "loading") {
return <LoadingState progress={progress} onCancel={() => abortRef.current?.abort()} />;
}
/* Phones: the 3-step flow. Same state as the desktop card, different shape. */
if (isPhone) {
const stepLabel =
@ -1018,10 +1022,6 @@ export function UploadScreen() {
);
}
if (phase === "loading") {
return <LoadingState progress={progress} onCancel={() => abortRef.current?.abort()} />;
}
return (
<div className="relative">
<div className="relative space-y-5">

View file

@ -9,7 +9,7 @@
*
* Bumping CACHE_VERSION is how a new deploy invalidates old assets.
*/
const CACHE_VERSION = "freezmo-v23";
const CACHE_VERSION = "freezmo-v24";
const SHELL_CACHE = `${CACHE_VERSION}-shell`;
const ASSET_CACHE = `${CACHE_VERSION}-assets`;