You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ecddcdf
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/sim/platform/AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ Build every organization path with `surfaceHref(scope, path)` (`lib/data/organiz
119
119
120
120
## Workspace chrome
121
121
122
-
Opening a workspace never changes the sidebar. A workspace row, a command-search result or a workspace in the chat panel opens that workspace in the right pane, as the Integrations row opens Integrations, and the open workspace's row is current: Dashboard on example data, Workflows on live data. Every workspace page sits on one tab frame, listed with the data modes that serve it in `WORKSPACE_TABS`: Dashboard, Issues, Changelog and Logs from Paper, with one shared split for a record's details; Tables, Files, Knowledge bases and Workflows, live-only ports of the legacy pages with breadcrumbs as the only folder traversal; and Settings, the legacy workspace settings sections beside their own navigation in the organization Settings navigation's pattern. `hidden` keeps Dashboard, Issues, Changelog and Tests out of the live tab bar, and out of chat and mentions, until Emir's pass; each page still answers when its flag is on and is not found when it is off (Issues, with no backend, always on live data). See [workspace UI](docs/workspace-ui.md). Chats belong to the organization, and the composer's slash offers Skills.
122
+
Opening a workspace never changes the sidebar. A workspace row, a command-search result or a workspace in the chat panel opens that workspace in the right pane, as the Integrations row opens Integrations, and the open workspace's row is current: Dashboard on example data, Workflows on live data. Every workspace page sits on one tab frame, listed with the data modes that serve it in `WORKSPACE_TABS`: Dashboard, Issues, Changelog and Logs from Paper, with one shared split for a record's details; Tables, Files, Knowledge bases and Workflows, live-only ports of the legacy pages with breadcrumbs as the only folder traversal; and Settings, the legacy workspace settings sections beside their own navigation in the organization Settings navigation's pattern. The `platform-preview` feature flag (off by default) holds what waits for Emir's pass: `preview` tabs in `WORKSPACE_TABS` (Dashboard, Issues, Changelog and Tests) and Home's Needs your attention and Workspaces. While it is off, live data lists none of those tabs, chat and mentions offer no way in, each page answers not found, and Home reads and renders neither section; while it is on, each tab still needs its own flag (Issues, with no backend, is never served on live data). Hold new design-pending UI behind the same flag rather than a code switch. See [workspace UI](docs/workspace-ui.md). Chats belong to the organization, and the composer's slash offers Skills.
123
123
124
124
The Workflows canvas is the one surface that keeps legacy pixels: the user required blocks, handles, edges, loops and parallels to look exactly as they do in the legacy editor. Its folder copies the legacy canvas views and is exempt from the styling rules it cannot meet; the chrome around it follows this contract. Its seam folders are the only ones that may bundle the blocks and tools registry. See the [ownership map](docs/component-ownership.md).
Copy file name to clipboardExpand all lines: apps/sim/platform/docs/org-parity.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,7 @@ Status is one of:
206
206
-**Unverified**: built on live data, and no check exercises it. Reason says what is proved so far and what stands in the way. Never read this as working.
207
207
-**Legacy**: stays on a page outside the Platform, and the Platform links out. Reason names that page.
208
208
-**Done, not copied**: works on live data where legacy's behavior was a defect the Platform fixed rather than copied. Proof as for Done.
209
-
-**Hidden**: Platform UI with no backend, hidden on live data, or held back by design. Reason names what a backend would need, or the switch that holds it (such as `hidden` in `WORKSPACE_TABS`).
209
+
-**Hidden**: Platform UI with no backend, hidden on live data, or held back by design. Reason names what a backend would need, or the switch that holds it (such as the `platform-preview` feature flag).
210
210
-**Open**: not built yet. Reason names the owner.
211
211
-**Declined**: a legacy capability the Platform design deliberately leaves out. Reason quotes or cites the design decision.
212
212
@@ -396,10 +396,10 @@ The shell lane's rows, one per row of its audit. `shell.spec` is `checks/live/sh
396
396
| Home | Activity chart: Searches | None; Platform only | Hidden | No truthful source: `organization_search_history` keeps 20 rolling entries per person, assistant chats count conversations rather than searches, and `organization_search_mcp_invocation` covers MCP alone. Needs a search event or counter table. Search mode shows no chart and drops it from Customize |
397
397
| Home | Recents | None; Platform only | Done | "Recents list the viewer’s real history" |
398
398
| Home | Recents the panel shows for files and workspaces | None; Platform only | Hidden | A per-user recent destinations store |
399
-
| Home | Needs your attention | None; Platform only | Hidden |Hidden by design until Emir's pass: `HOME_HIDDEN_SECTIONS` in Home's `_components/model.ts` renders no attention list and skips its reads (the chats list and, for admins, access requests); "Home paints no attention list" pins it. `AttentionList`, `toAttentionItems` and `useHomeAttention` stay for his pass|
399
+
| Home | Needs your attention | None; Platform only | Hidden |Held for Emir's pass behind the `platform-preview` feature flag (off by default): while it is off `useLiveHome` reads nothing for it (the chats list and, for admins, access requests) and leaves `attention` out of Home's view, so no list renders; "Home paints no attention list" pins it. Example data always shows it|
400
400
| Home | Cross-chat approvals in Needs your attention | None; Platform only | Hidden | Pending tool permissions and assistant reviews are listed per chat. Needs a member-scoped list across chats |
401
401
| Home | Customize Home |`stores/organization-home/store.ts`| Unverified | No live check yet. Hide and Undo persist in this browser per viewer and organization under legacy's `organization-home:v1` key, cleared on sign-out (`useHiddenHomeWidgets` in `lib/data/home.ts`). Live Home renders its heading, composer and Recents at once; only the widgets a viewer can hide wait for the session to name the viewer, so a hidden widget never reads. Fixture sessions keep the choice for the session |
402
-
| Home | Workspaces widget: rows with status and last run, See more, its own read |`platform/embedded/.../home-workspaces.tsx`, `/home/workspace-activity`|Declined|Emir Karabeg removed it from the Platform's Home in `2f1bf5ac21`, leaving Customize Home to Activity, Email and Calendar; the sidebar lists the workspaces. A stored `Workspaces` choice under `organization-home:v1` is ignored. The `/home/workspace-activity` route, contract and use case remain with no Platform reader|
402
+
| Home | Workspaces widget: rows with status and last run, See more, its own read |`platform/embedded/.../home-workspaces.tsx`, `/home/workspace-activity`|Hidden|Held for Emir's pass behind the `platform-preview` feature flag (off by default), on his direction to hide it rather than remove it: while it is off `useLiveHome` reads no activity for it and leaves `workspaces` out of Home's view, so neither the widget nor its Customize Home entry renders. Example data always shows it|
403
403
| Home | Get started checklist |`app/o/[id]/home/components/get-started/get-started.tsx`| Done | "Search mode on Home offers Get started". Completing each step has no live check |
404
404
| Home | Suggested action rows and Connect from a suggestion |`suggested-actions.tsx`| Declined | Emir Karabeg removed it from the Platform's Home: "you added back things like suggested actions which I removed … things like the suggested actions will pollute the styling for the rest of the files. It was different font, spacing, etc." Its catalog route, contract and use case went with it |
405
405
| Home | Plan toggle, composer handoff and server chat id |`organization-conversation.tsx`| Open | Chat lane owns `home-composer`|
@@ -461,10 +461,10 @@ The workspace's Dashboard, Issues, Changelog and Logs are Platform pages. Fixtur
461
461
| Workspace | Run snapshot: the frozen workflow a run executed, executed blocks marked by outcome, choose a block to inspect its step |`components/log-details/components/execution-snapshot/`| Unverified |`workflows/runs/[executionId]` renders the Workflows tab's `WorkflowPreview` over `useRunSnapshot` (`useExecutionSnapshot`), so the block registry loads only in the Workflows tab. Not yet run against a live stack |
462
462
| Workspace | Snapshot drill-down into a child workflow's snapshot, the dashboard's segment selection (click, Cmd and Shift), arrow-key navigation between runs |`w/components/preview/`, `components/dashboard/`, `logs.tsx`| Unverified | No live check yet. `run-snapshot.tsx` opens a workflow block's child snapshot (`?child=` path, Breadcrumbs) from `useRunSnapshot`'s `childWorkflowSnapshots`; `run-dashboard.tsx` picks segments through `shared/run-segments.ts` to narrow the totals and charts; `live-run.tsx` steps runs with ArrowUp/ArrowDown and Previous/Next through `useRunNeighbors`; returning to the list (Back or the Back link) scrolls it to the run stepped to, nearest edge, via the workspace session's scroll restore (`useRevealOnReturn`/`useRevealRow`) |
463
463
| Workspace | The snapshot's block configuration panel | `w/components/preview/components/preview-editor/` | Unverified | No live check yet. `workflows/_components/snapshot-block/` fills the run-snapshot and deployed-version rails: the editor's SubBlock renderers in preview mode read the frozen `blocks[id].subBlocks` inside PreviewScope, with legacy's visibility filter, read-only loop/parallel settings, the run's step or "Not run", and Connections (recorded block outputs, variables, redacted secrets). Legacy's extras: right-click Copy on a field (not secrets or accounts) and on a connection value, right-click Copy and Search on the run's step, whose find bar marks matches in its input and output (`SpanInspector`'s `search`); a Workflow block's child shown frozen as the run ran it (`FrozenWorkflowBlockPreview`, expanding into the child's snapshot; "Not run" when the run never reached it), the live child on a deployed version; Connections docked at the rail's foot with their own scroll, a height dragged from the top edge (30 to 300px, from 150) and a collapse toggle |
464
-
| Workspace | Dashboard tab in live navigation |`components/dashboards/dashboard-resource.tsx`| Hidden |Hidden by design until Emir's pass: `hidden` in `WORKSPACE_TABS`leaves it out of the live tab list whatever the `dashboards` flag says. The route, `live-dashboard`and the fixture view stay. While it is hidden (`isWorkspaceTabHidden`), the chat panel's + picker and `@` mentions offer no dashboards and a dashboard the chat opens as a resource has no Open link |
465
-
| Workspace | Changelog tab in live navigation |`app/workspace/[workspaceId]/changelog/`| Hidden |Hidden by design until Emir's pass: `hidden` in `WORKSPACE_TABS`leaves it out of the live tab list whatever the `changelog` flag says. The routes and the fixture views stay |
466
-
| Workspace | Issues tab in live navigation | None; Platform only | Hidden |Hidden by design until Emir's pass, as well as having no backend: `hidden` in `WORKSPACE_TABS`. The fixture views stay |
467
-
| Workspace | Tests tab in live navigation |`app/workspace/[workspaceId]/tests/`| Hidden |Hidden by design until Emir's pass: `hidden` in `WORKSPACE_TABS`leaves it out of the live tab list whatever the `workflow-tests` flag says. The routes stay; while it is hidden (`isWorkspaceTabHidden`) a run or version snapshot opened with a test return goes back to its run or workflow instead |
464
+
| Workspace | Dashboard tab in live navigation |`components/dashboards/dashboard-resource.tsx`| Hidden |Held for Emir's pass: `preview` in `WORKSPACE_TABS`lists it on live data only while the `platform-preview` feature flag and the `dashboards` flag are both on, and the page answers not found otherwise. While it is not shown (`isWorkspaceTabShown`), the chat panel's + picker and `@` mentions offer no dashboards and a dashboard the chat opens as a resource has no Open link |
465
+
| Workspace | Changelog tab in live navigation |`app/workspace/[workspaceId]/changelog/`| Hidden |Held for Emir's pass: `preview` in `WORKSPACE_TABS`lists it on live data only while the `platform-preview` feature flag and the `changelog` flag are both on, and its pages answer not found otherwise. The fixture views stay |
466
+
| Workspace | Issues tab in live navigation | None; Platform only | Hidden |Held for Emir's pass (`preview` in `WORKSPACE_TABS`), as well as having no backend, so live data never lists it. The fixture views stay |
467
+
| Workspace | Tests tab in live navigation |`app/workspace/[workspaceId]/tests/`| Hidden |Held for Emir's pass: `preview` in `WORKSPACE_TABS`lists it on live data only while the `platform-preview` feature flag and the `workflow-tests` flag are both on, and its pages answer not found otherwise. While it is not shown (`isWorkspaceTabShown`) a run or version snapshot opened with a test return goes back to its run or workflow instead |
468
468
| Workspace | Logs search language |`logs.tsx` (`SearchSuggestions`, `query-parser`) | Declined | Removed from the Platform's Logs by product direction |
469
469
| Workspace | Issues: list, details, decisions | None; Platform only | Hidden | No backend exists. Its live routes answer 404, and live workspaces hide its tab, so no live page links to it |
470
470
| Workspace | Breadcrumb folder traversal, collapsed past four crumbs, drop onto an ancestor to move | Legacy folder sidebar and resource headers | Unverified | Checked by hand on Tables, Files, Knowledge bases and Workflows. `@sim/emcn/breadcrumbs`|
Copy file name to clipboardExpand all lines: apps/sim/platform/docs/workspace-ui.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Open [a workspace](http://localhost:3000/workspace/it/dashboards?state=full) on
22
22
23
23
The bare `/workspace` opens the viewer's last active workspace, or a workflow `redirect_workflow` names, honoring `redirect=upgrade|settings`; a viewer with no workspace goes to the organization's landing, sees why one cannot be created, or gets a first workspace created (`lib/data/workspace-entry.ts`). A workspace page that fails or is missing renders the workspace's own `error.tsx` and `not-found.tsx`, which do not say whether an inaccessible workspace exists.
24
24
25
-
`WORKSPACE_TABS` (`lib/workspace-navigation.ts`) lists each tab with the data modes that serve it and, for Dashboard, Changelog and Tests, the runtime flag it needs on live data; the tab bar shows only the tabs the server's mode and the organization's flags serve (the layout passes the flags from `readWorkspaceTabFlags`). `hidden` keeps Dashboard, Issues, Changelog and Tests out of the live tab bar, and out of chat and mentions, until Emir's pass; on live data each still answers when its flag is on and is not found when it is off (Issues, with no backend, always). Dashboard, Issues, Changelog and Logs follow Paper; Tables, Files, Knowledge bases and Workflows are code-first ports of the legacy pages, exactly feature compatible apart from the removals below. A workspace has no chat or skills page here: chats belong to the organization, and the composer's slash offers skills. Skills are authored, per workspace as legacy scopes them, in Integrations › Skills (`/integrations?tab=skills&workspace=<id>`).
25
+
`WORKSPACE_TABS` (`lib/workspace-navigation.ts`) lists each tab with the data modes that serve it and, for Dashboard, Changelog and Tests, the runtime flag it needs on live data; the tab bar shows only the tabs the server's mode and the organization's flags serve (the layout passes the flags from `readWorkspaceTabFlags`). `preview` marks Dashboard, Issues, Changelog and Tests, held for Emir's pass behind the `platform-preview` feature flag: while it is off, live data lists none of them, chat and mentions offer no way in, and each page answers not found; while it is on, each still needs its own flag (Issues, with no backend, is never served on live data). `isWorkspaceTabShown` is the one answer every entry point reads. Dashboard, Issues, Changelog and Logs follow Paper; Tables, Files, Knowledge bases and Workflows are code-first ports of the legacy pages, exactly feature compatible apart from the removals below. A workspace has no chat or skills page here: chats belong to the organization, and the composer's slash offers skills. Skills are authored, per workspace as legacy scopes them, in Integrations › Skills (`/integrations?tab=skills&workspace=<id>`).
0 commit comments