Skip to content

[DO NOT MERGE] Org project view: dev branch for Theo and Marcus - #8454

Closed
mzxchandra wants to merge 14 commits into
feat/org-project-viewfrom
demo/org-project-live
Closed

mzxchandra wants to merge 14 commits into
feat/org-project-viewfrom
demo/org-project-live

Conversation

@mzxchandra

Copy link
Copy Markdown
Contributor

Do not merge. Not for review. This draft exists only so Theo and Marcus can share and test the org project view prototype while it is in development. Anything that graduates will be rebuilt in its own PRs.

Stacked on #8433 (feat/org-project-view).

What is here

  • The /playground/org prototype wired to real workspaces: projects are workspace fork lineages, with real chats, resources, dashboards and Sim Chat.
  • Project main view: Dashboard, Changelog (per environment), Issues (shared by the lineage), and an Environments tab that manages forks and shows resource mappings per environment.
  • Behind the org-project-view flag (ORG_PROJECT_VIEW=true locally), /workspace/<id>/... swaps its sidebar for the project Build sidebar, and /workspace/<id>/w becomes a foldered Workflows index page.
  • Issues and Changelog are still mock data, behind a ProjectSources interface with fixtures.

Running it locally

Set NEXT_PUBLIC_ENABLE_PLAYGROUND=true and ORG_PROJECT_VIEW=true, plus FORKING_ENABLED=true and NEXT_PUBLIC_FORKING_ENABLED=true for the Environments tab. Then open /playground/org.

🤖 Generated with Claude Code

mzxchandra and others added 12 commits September 29, 2026 17:12
Projects are the logged-in user's real workspaces; chats, workflows,
files, tables, knowledge bases, logs and integrations come from the
workspace's own React Query hooks and open the real pages. The side
chat and new-chat home run the real Sim Chat over useChat, with a
syncChatUrl option so the panel keeps its own URL. Dashboards render
real dashboard files live plus a built-in Runs dashboard from the logs
stats route. Issues and Changelog stay mock through per-project overlay
packs matched by workspace name, and issue resource chips resolve to
the real resource with the same name.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… into next release

A pack now matches on the workspace's workflow names before its name, so
the demo project picks up its pack whatever the workspace is called. The
next-release card received the project id it was already using.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…t description

The message handed from the home composer is sent one tick after the
side chat mounts, with cleanup, so a simulated remount no longer
withdraws it. The settings General page uses the same description line
as the project header.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The pack is chosen from the workspace's workflow names, which load
after the workspace list, so an issue route now shows a loading state
until the list arrives instead of calling notFound on the fallback
pack. The needs-you badge waits the same way, and the draft chart's
release index points at its last value.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…rg integrations page

Packs no real workspace claims stay in the sidebar as mock projects
with their prototype chats, rows and sample dashboards; real hooks stay
off for them. A real workspace nothing claims shows only its real
resources. Connectors renders the organization integrations component
the way the org route does.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
A fork lineage is one project: the sidebar lists its root, the project
header shows the current environment (Prod, Staging, Sandbox, from a
trailing word on the workspace name or the fork depth) beside "Open
full view", and a dropdown switches to another environment on the same
section. Connectors resolves the organization the way the app entry
does.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ents section

Moves the fork-lineage resolution the playground computed into lib/projects so the
workspace sidebar and the organization surface can share it. Registers the
org-project-view feature flag (fallback ORG_PROJECT_VIEW) and passes it through every
FeatureFlagsProvider. Adds the Environments chip to the project main view with a
placeholder tab.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… and mappings

One card per environment with the real fork, sync and disconnect actions, resource sub-tabs
in the sync view's kind order (exported from use-fork-sync so the order cannot drift), and a
grid with one row per resource and one column per environment that joins the per-edge pull
mappings by resource id. Cells edit through the real mapping route. Mock projects show an
example grid.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…e, Changelog per environment

Real projects' Build links and "Open full view" go to /workspace/<id>/... and the prototype's
build/* rendering only remains for mock projects. The overlay pack is resolved once per lineage
root so every environment shares its issues; the changelog shows shipped releases on Prod, the
draft next release on Staging and running work on Sandbox. The mock entities now sit behind a
ProjectSources interface with the packs moved to fixtures/ and an empty implementation for the
graduated surface.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…d org-project-view

The real sidebar's hidden services (search data, global commands, chat events, search and
help modals) move into a shared hook and modals component so both sidebars mount them. With
the flag on, the workspace layout mounts the project Build sidebar (back chip to the project,
environment chip that switches lineages, flat Project and Build links, chats, footer) and
/workspace/<id>/w renders a foldered Workflows list with search, New workflow and the row
actions the old tree offered, instead of redirecting to the first canvas.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…s, env chip everywhere, credential marks

Project rows get hover actions, a context menu (open, copy link, rename, pin, delete), inline
rename across the lineage, drag reorder (a per-browser order until it moves server-side) and
pinned-first sorting. New chat uses a compose icon (SquarePen, new in the icon set). The Build
sidebar's environment chip always opens its dropdown and ends with Manage environments. The
Environments grid leads credential rows with the provider mark of the youngest environment
that still holds the credential.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The org view's footer is now the shared account and help footer: clicking your name opens
Settings (the organization's settings) and Sign out, and help offers docs, Slack and
support. The fork modal takes an optional list of sources; the Environments tab passes the
lineage, so Create fork can start from Prod, Staging or Sandbox, with the default name and
resource list following the chosen source.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Sep 30, 2026 8:31am UTC

Request Review

…icker; Search matches the org surface

New chat now renders the organization Home from the product, with its Build, Plan and
Search switch, suggestions and org chats. The only addition is the project picker: with
a project picked, a Build message opens that project's chat. The org Home gains three
optional props for this (a per-mode heading and accessory, a before-send hook, and the
existing flag that keeps chat URLs in place); its default behavior is unchanged.

Search renders the organization Search page, as the org surface does. The separate
Assistant page and nav item are removed: the product has no such destination, search is
a mode of Home.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…view

With org-project-view on, the canvas gets a breadcrumb bar (Workflows, its folders, the
workflow) whose crumbs return to the Workflows index at that folder, plus a Search
resources action that opens the search modal. Replaces the sidebar tree's job of showing
where the open workflow lives. Flag off: unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@mzxchandra

Copy link
Copy Markdown
Contributor Author

Superseded by #8464, which moves the project view onto the org routes (behind the org-project-view flag). Closing this and deleting demo/org-project-live.

@mzxchandra mzxchandra closed this Sep 30, 2026
@mzxchandra
mzxchandra deleted the demo/org-project-live branch September 30, 2026 15:14

This branch was previously deployed

1 inactive deployment
Preview — bc5bf6ea Deployed Sep 30, 2026 by vercel[bot]
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.

1 participant