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:
parent
4369ba1a17
commit
1dc2992fb5
2 changed files with 5 additions and 5 deletions
|
|
@ -566,6 +566,10 @@ export function UploadScreen() {
|
||||||
? t("upload.ready")
|
? t("upload.ready")
|
||||||
: t("upload.addToStart");
|
: 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. */
|
/* Phones: the 3-step flow. Same state as the desktop card, different shape. */
|
||||||
if (isPhone) {
|
if (isPhone) {
|
||||||
const stepLabel =
|
const stepLabel =
|
||||||
|
|
@ -1018,10 +1022,6 @@ export function UploadScreen() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (phase === "loading") {
|
|
||||||
return <LoadingState progress={progress} onCancel={() => abortRef.current?.abort()} />;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative">
|
<div className="relative">
|
||||||
<div className="relative space-y-5">
|
<div className="relative space-y-5">
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* Bumping CACHE_VERSION is how a new deploy invalidates old assets.
|
* 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 SHELL_CACHE = `${CACHE_VERSION}-shell`;
|
||||||
const ASSET_CACHE = `${CACHE_VERSION}-assets`;
|
const ASSET_CACHE = `${CACHE_VERSION}-assets`;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue