Skip to content

Workspace desktop: folders, auto-saved analyses, read-only sequence studio#7

Merged
shashank03-dev merged 1 commit into
mainfrom
feat/workspace-desktop
Jul 2, 2026
Merged

Workspace desktop: folders, auto-saved analyses, read-only sequence studio#7
shashank03-dev merged 1 commit into
mainfrom
feat/workspace-desktop

Conversation

@shashank03-dev

Copy link
Copy Markdown
Owner

What this does

Makes the workspace the single organizing unit, presented as a desktop of folders, and makes saved analyses actually exist.

  • Analyses are now saved (paid tiers). Finishing a run auto-creates a project + version ("sequence") via the existing REST APIs. Destination: ?project= appends a sequence, ?ws= creates a project in that workspace, otherwise most-recent workspace (or an auto-created "My Workspace"). Save state shows as a Saving… / Saved · Open / Not saved pill in the studio header; failures never block the studio.
  • /workspaces is a desktop. Folder grid with analysis counts and recent items; opening a folder shows its saved analyses as files with sequence counts, plus a New analysis button that carries the workspace as the save destination.
  • Opening a saved analysis shows the actual result. project_versions.motion_spec now stores the full AnalysisResult; project/version pages render it in a read-only studio (live preview + generated code). Legacy spec-only versions fall back to the JSON view. Nothing auto-starts a new analysis — "New sequence" navigates to the analyzer explicitly.
  • Projects are no longer a top-level thing. /projects index redirects to /workspaces; Projects removed from both shells' nav; Workspaces added to the workbench rail. /app moved into the (workbench) group so signed-in users get the explorer shell (with PlanSync); anonymous visitors keep the standalone shell.
  • Removed the paste-JSON version form and the manual project create form.

Verification

  • npm run typechecknpm run lintnpm test ✅ 223/223 (12 new tests for the saved-analysis parser and save flow) npm run build
  • Playwright e2e not run here (suite is pre-existing red on main); specs were scanned — none assert removed routes/copy.

🤖 Generated with Claude Code

… studio

Workspaces become the single organizing unit, presented as a desktop of
folders. Opening a folder shows its saved analyses as files; opening a
file renders the actual saved result in a read-only studio. New analyses
start only from explicit New analysis / New sequence actions, which carry
the workspace/project save destination to the analyzer.

- Paid analyses now auto-save: project + version (sequence) created via
  the existing APIs, falling back to the most recent workspace or a new
  "My Workspace"; save state surfaces as a pill in the studio header
- /app moves into the (workbench) group (explorer + rail, PlanSync);
  anonymous visitors keep the standalone shell
- /projects index removed (redirects to /workspaces); Projects dropped
  from both shells' nav; Workspaces added to the workbench rail
- project_versions.motion_spec stores the full AnalysisResult; new
  client-safe parser in lib/contracts/savedAnalysis with legacy
  spec-only fallback rendering
- removed paste-JSON version form and manual project create form

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
motion-code Ready Ready Preview, Comment Jul 2, 2026 4:08am

@shashank03-dev
shashank03-dev merged commit 5913e1b into main Jul 2, 2026
2 of 3 checks passed
@shashank03-dev
shashank03-dev deleted the feat/workspace-desktop branch July 2, 2026 04:10
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