Skip to main content

Arriving from a template page — Regression Test

Someone reads a template page on the Fabulous site, decides they want it, and clicks through. This checks they end up with their own copy — and only one of it. About five minutes.

There are two ways in. They start at different addresses — do not assume the second is the same link as the first:

Starts atEnds in
Run Athe Fabulous site's template page, thefabulous-staging.co/hz/…the web app
Run Bthe web app's own template address, app-staging.habitatzero.ai/templates/…the desktop app

Only run A leaves the page and comes back through Google.

Before you start — do these two things

  1. Give yourself a first run. This flow shows the trial offer, and the offer is asked once per account and once per launch, so the account must be new to the app. Reset the one you have:

    1. If you ever set a plan through QA → Entitlements, set it back to Basic firstPlan dropdown → BasicApply. A QA-set plan blocks deletion.
    2. Settings → Account → Delete account → type DELETE ACCOUNTPermanently delete account.
    3. Quit the app and reopen it.
    4. Remove the app from your Google account at myaccount.google.com/connections.

    Do this again between run A and run B.

  2. Install the staging desktop app for run B: latest-mac.dmg (Windows: latest-win.exe).


Run A — starting on the Fabulous site, ending in the web app

Signed out, open the Fabulous site's template page: thefabulous-staging.co/hz/morning-pages.

On the web app, deleting the account is not enough. The "onboarding done" marker lives in that browser's own storage (focusflow.onboardingComplete in localStorage), not on the account — so a browser you have used before will skip straight to the workspace, no matter how fresh the account is. Use a private/incognito window for web runs, or clear the site's data first. Deleting on the desktop app cannot clear it either; they keep separate copies.

  1. Click Personalize this template — the page's main call to action.
    • A Sign in with Google option appears at that point
  2. Click Sign in with Google and complete sign-in.
    • You come back signed in, inside the web app
  3. Look at what you landed on, before clicking anything.
    • You are on that template's own screen — not a generic home screen
    • No copy has been created yet. Check the sidebar: the template is not in your documents
    • You were not asked the onboarding questions
  4. Refresh the page.
    • Still no copy in the sidebar
    • No "reconnect Google Calendar" prompt appears — you have never connected a calendar, so there is nothing to reconnect
  5. Click Use this template.
    • The trial offer appears at this point — this is the moment it asks, not earlier
    • Close it with the X: your copy opens anyway, and is editable
    • Exactly one copy is in the sidebar
  6. Refresh the page again.
    • Still exactly one copy — no duplicate

Run B — starting on the web app's own address, ending in the desktop app

A different address from run A. This one belongs to the web app, not the Fabulous site, and the page it shows only appears when you are signed out — sign out of the web app first, or use a private window.

Reset the account again, then open app-staging.habitatzero.ai/templates/morning-pages while signed out.

  1. Read the page that appears.
    • It is a landing page for that template, not a generic one
    • Its main button reads Download the desktop app
    • Below the sign-in option there is a small link: Already have the app? Open it
  2. Click Already have the app? Open it.
    • The installed staging app comes to the front
  3. The app opens signed out, because the reset deleted the account. Sign in and complete onboarding.
  4. Once the workspace paints, look at where you are.
    • You are on that template's own screen, with no copy created yet — check the sidebar
  5. Click Use this template in the app.
    • The trial offer appears, and your copy opens whichever way you answer it
    • Exactly one copy in the sidebar

Do not use that page's Download button to get the app. It points at habitatzero.ai/download, which is the production build. Install staging from the link in "Before you start".


Run B on a phone browser

Same address as Run B, opened in a mobile browser instead of a desktop one. This run ends in the web app in that browser, not the desktop app. Before the fix, a phone briefly showed the desktop's "download the app" step before sign-in — this confirms it no longer does.

Reset the account again, then open app-staging.habitatzero.ai/templates/morning-pages in a phone browser, signed out.

  1. Read the page that appears.
    • There is no "Download the desktop app" button and no "Already have the app? Open it" link
    • Sign in is the primary action offered
  2. Sign in and complete onboarding.
    • You land on that template's own screen in the web app, with no copy created yet — check the sidebar

Reporting

Note pass, fail or skipped per box, and say which run you were on — the two journeys fail in different ways, so "the template flow is broken" is not enough to act on.

The deeper versions, including two links opened at once and paying in the browser, are in Free-first trial & claim section B and Onboarding paths case 11.