Skip to content

Clean up the Sync page's Atomic Place section - #1892

Closed
Polleps wants to merge 2 commits into
developfrom
claude/nice-rubin-82ayvd-sync-page
Closed

Polleps wants to merge 2 commits into
developfrom
claude/nice-rubin-82ayvd-sync-page

Conversation

@Polleps

@Polleps Polleps commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Related Issues

No issue. Follows feedback that the Sync page is confusing: the SaaS tiers were listed with different wording and no explanation.

Design note: the feedback mentioned a redesign image, but it never came through. This layout is based on the written description only: an Atomic Place heading with the account link inline, email recovery moved to the user page, and Vault and Cloud side by side with the current plan marked.

What changed

Sync page (SyncRoute.tsx)

  • Atomic Place is now a section heading. The account link sits inline on the right: Account settings → when signed in, Sign in → when signed out. One line under it says who you're signed in as.
  • Cloud Vault and Cloud Server are two plan cards side by side, stacking at narrow widths (new components/PlanCard.tsx). Each card has:
    • a price line: "Free with an account" / "Paid plan per workspace". No amount is shown; checkout still shows the price.
    • a one-line explanation
    • what you get, taken from the portal's sales copy and the existing @tomic/service-ui copy
    • this workspace's state and the next action below a divider
  • Current plan badge plus a highlighted border:
    • Cloud Server is current when the drive is hosted, or its subscription is active/trialing.
    • Otherwise Cloud Vault is current for any signed-in account (the free plan). The card says whether backup is on for this workspace yet.
    • Nothing is marked when signed out.
    • Cloud Vault shows Included when Cloud Server is current.
  • Cloud Server card actions: Set up / Finish setup / Use Cloud Server / Sync again (same logic as before), plus See pricing, or Manage plan once there is a plan.
  • The hosted Cloud Server node is back in Devices with the other always-on devices. Its "Manage this drive's plan" footer and billing note were removed from the device card. Billing now appears once, on the plan card.
  • Account linking: LinkProviderPanel moved into the Atomic Place section.
  • Removed: the old provider card, its subscription header strings and the leftover styled components.
  • Terminology: the page now consistently says "workspace". The Server plan note no longer uses CLOUD_SERVER_PLAN_DESCRIPTION, which says "drive".

User page (SettingsAgent.tsx)

  • New components/EmailRecoveryStatus.tsx: the email recovery row from the Sync page, with the same states (stored / passkey-only / device-only / none / unknown) and the same sign-in link. It sits under Account recovery, above AccountRecoveryCard, which already has the controls that close any gap. It renders nothing when no provider portal is known, so self-hosted installs don't see it.

VaultPanel

  • New hideHeading prop for hosts that already name the plan. It uses the hidden attribute instead of a && guard, because a guarded sibling made wuchale drop the on-state strings ("Restore", "Turn off", …).
  • Removed the unused offerUrl / "See plans" link.

Other

  • planning/sync-onboarding-ux.md: added a short section. The Flutter sync screen has no plan or recovery UI, so there is nothing to change there.
  • Translation catalogs re-extracted with wuchale without --clean. Only this change's strings moved, and no unrelated obsolete entries were pruned.

Screenshots

Taken locally with Playwright against the Vite dev server, but not attached here. The server binary couldn't be built (the shared disk ran out), so the control plane was mocked and no workspace was open. That's why the Vault card shows its "not available here" reason. Captured at desktop width signed in and signed out, and at 390px (cards stack). Screenshots still need to be added before review.

Open questions

  • Price wording: "Paid plan per workspace" and "Free with an account". The portal sales page lists €30/month per drive; I left the amount out so it can't go stale.
  • "Current plan" = Cloud Vault for any signed-in account, even if Vault backup is off for this workspace. Is that the intended meaning?
  • CLOUD_VAULT_DESCRIPTION, CLOUD_SERVER_DESCRIPTION and CLOUD_SERVER_PLAN_DESCRIPTION in @tomic/service-ui are no longer used by the Sync page (the portal may still use them). Should the shorter card copy move into service-ui so both hosts share it?

Checks

  • pnpm typecheck (data-browser): pass
  • oxlint + oxfmt, and the pre-commit pnpm run -r lint on both commits: pass
  • data-browser vitest: 1441/1442. One unrelated timeout in TableCell.test.tsx under heavy CPU load; it passes on rerun.
  • e2e sync-devices.spec.ts updated (plan badge, account link, and a new user-page recovery test). Not run locally, because there was no server binary.

Checklist

  • Add changelog entry linking to issue, describe API changes
  • Add or update tests if needed
  • Update docs if needed

🤖 Generated with Claude Code

https://claude.ai/code/session_01P648McUYrscNsheXY5Ya81

claude added 2 commits October 5, 2026 11:36
The Sync page listed email recovery, Cloud Vault and Cloud Server as three
rows in one card, each worded differently, with nothing saying which were
plans, which one the workspace was on, or how they differ.

- "Atomic Place" is now a section heading with the account settings link
  inline on the right.
- Cloud Vault and Cloud Server are two plan cards side by side (stacked when
  narrow), each with a price line, a one-line explanation and what you get,
  derived from the existing sales copy. The plan this workspace is on gets a
  "Current plan" badge and a highlighted border; Cloud Vault shows
  "Included" under Cloud Server. The other card carries the action (set up,
  manage plan, see pricing).
- A hosted Cloud Server node is listed under Devices like any always-on
  device; its billing link is only on the plan card.
- Email recovery moved to the user page (EmailRecoveryStatus, above the
  account recovery card).
- VaultPanel gains hideHeading for hosts that already name the plan, and
  drops its unused offer link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P648McUYrscNsheXY5Ya81
@joepio
joepio force-pushed the claude/nice-rubin-82ayvd-sync-page branch from d3cdb9b to babc9e7 Compare October 5, 2026 09:37
joepio added a commit that referenced this pull request Oct 5, 2026
…g points

Takes the good parts of #1892: the account header gets its icon back, a
"Your plan" label with See plans heads the tiers, and the tier the drive is
on carries a Current badge (Cloud Vault says Included once Cloud Server is
on). Cloud Vault reads "Encrypted backup of your data. Only you can read
it." with a status line like "Backed up 32 min ago · 75 objects". The step
up to Cloud Server lists its selling points as checks.

joepio commented Oct 13, 2026

Copy link
Copy Markdown
Member

Gesloten op verzoek van Joep (opruimen van drafts, 13 okt): al weken stil en met conflicten tegen develop. Heropenen kan altijd.


Generated by Claude Code

@joepio joepio closed this Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants