Skip to content

fix(den): align cloud onboarding surfaces#1292

Closed
benjaminshafii wants to merge 11 commits intodevfrom
task/den-auth-checkout-refresh
Closed

fix(den): align cloud onboarding surfaces#1292
benjaminshafii wants to merge 11 commits intodevfrom
task/den-auth-checkout-refresh

Conversation

@benjaminshafii
Copy link
Copy Markdown
Member

Summary

  • restyle the Den auth panel and invite flow to use the existing den-* primitives instead of bespoke gray utility styling
  • tighten the auth, invite, and checkout copy so each screen leads with the action/value instead of describing the underlying flow
  • simplify checkout by removing the billing-status sidebar and leaning on a cleaner hero plus supporting value cards

Testing

  • pnpm install --frozen-lockfile
  • pnpm --dir ee/apps/den-web exec tsc --noEmit
  • pnpm --filter @openwork-ee/den-web build

Notes

  • I did not run the Docker + Chrome MCP end-to-end flow or capture screenshots/video in this pass.
  • What I verified instead: the updated Den web surfaces type-check and build cleanly from the fresh worktree branch above.
  • Reviewer repro for the full UI gate:
    1. cd _repos/openwork
    2. ./packaging/docker/den-dev-up.sh
    3. open the printed Den web URL
    4. verify the refreshed / auth copy, /join-org invite experience, and /checkout layout/copy in the browser
    5. capture screenshots or a short video for merge evidence if needed

benjaminshafii and others added 11 commits April 1, 2026 15:37
Remove legacy user-level Polar fallbacks, sync the session org from the routed dashboard context, and distinguish worker add-on checkout from the base plan.
* feat(den): separate team billing from worker capacity

* fix(den-web): keep checkout page open for billing

* fix(den): bill cloud access at the org level

* fix(den): keep billing scoped to the active org

Remove legacy user-level Polar fallbacks, sync the session org from the routed dashboard context, and distinguish worker add-on checkout from the base plan.
Require worker Polar config before selling or launching paid worker capacity so missing env vars block launches instead of silently allowing unpaid workers.
* feat(ui): add shared seeded paper gradients

Centralize the Paper mesh and grain wrappers so React and Solid apps can reuse the same deterministic seed-based visuals without repeating shader config. Add a standalone demo surface and update existing consumers so the shared package is easier to validate and evolve.

* fix(ui): resolve shared package from source

Point the shared UI package exports at source files so Next builds do not depend on a prebuilt dist directory. Add Next transpilation for @openwork/ui in Landing and Den Web so monorepo and Vercel builds resolve the package consistently.

---------

Co-authored-by: src-opn <src-opn@users.noreply.github.com>
Only send auth and checkout-return flows to /checkout when billing explicitly says the base plan is required. If billing is still loading or temporarily unavailable, fall back to the org dashboard instead of forcing a  checkout screen.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-app Ready Ready Preview, Comment Apr 2, 2026 1:12am
openwork-den Ready Ready Preview, Comment Apr 2, 2026 1:12am
openwork-den-worker-proxy Ready Ready Preview, Comment Apr 2, 2026 1:12am
openwork-landing Ready Ready Preview, Comment, Open in v0 Apr 2, 2026 1:12am
openwork-share Ready Ready Preview, Comment Apr 2, 2026 1:12am

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

The following comment was made by an LLM, it may be inaccurate:

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.

2 participants