docs(enterprise): add Custom Blocks page#5515
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryLow Risk Overview The new The Settings → Enterprise → Custom blocks nav item now includes a Reviewed by Cursor Bugbot for commit 63f29ce. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryAdds a new Enterprise docs page for Custom Blocks — a Fumadocs MDX page with a six-step publishing walkthrough, four UI screenshots, FAQ, and self-hosted setup instructions — plus a matching
Confidence Score: 4/5The docs content and navigation changes are safe to merge; the xlsx dependency change is unrelated and needs a separate review. The documentation page, screenshots, sidebar registration, and settings nav link are all correct and consistent with the rest of the enterprise docs. The only substantive concern is the xlsx package swap bundled into this PR: it switches from the official SheetJS CDN tarball to a community-maintained npm mirror published by a single GitHub user, which is a supply-chain change that deserves its own PR and explicit sign-off from the team. apps/sim/package.json and bun.lock — the xlsx → @e965/xlsx swap is unrelated to the docs work and should be reviewed independently. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Deploy source workflow] --> B[Settings → Enterprise → Custom blocks]
B --> C[Create block]
C --> D[Select Workspace & Workflow]
D --> E[Name / Icon / Description]
E --> F[Configure input placeholders]
F --> G[Choose outputs to expose]
G --> H[Save — block published org-wide]
H --> I[Workflow Editor toolbar]
I --> J[Custom Blocks section]
J --> K[Drag block onto canvas]
K --> L[Fill inputs & wire outputs]
H --> M[Manage in Settings]
M --> N{Action}
N -- Edit --> O[Update presentation only]
N -- Redeploy source --> P[Block picks up new behavior automatically]
N -- Delete --> Q[Permanent — removed from all workflows]
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A[Deploy source workflow] --> B[Settings → Enterprise → Custom blocks]
B --> C[Create block]
C --> D[Select Workspace & Workflow]
D --> E[Name / Icon / Description]
E --> F[Configure input placeholders]
F --> G[Choose outputs to expose]
G --> H[Save — block published org-wide]
H --> I[Workflow Editor toolbar]
I --> J[Custom Blocks section]
J --> K[Drag block onto canvas]
K --> L[Fill inputs & wire outputs]
H --> M[Manage in Settings]
M --> N{Action}
N -- Edit --> O[Update presentation only]
N -- Redeploy source --> P[Block picks up new behavior automatically]
N -- Delete --> Q[Permanent — removed from all workflows]
Reviews (1): Last reviewed commit: "docs(enterprise): add Custom Blocks page" | Re-trigger Greptile |
Document publishing a deployed workflow as a reusable org-wide block: publishing flow, common uses, using a block, managing, and self-hosted setup, with UI screenshots. Register in the enterprise sidebar and wire the settings docsLink. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NvLuS5o1eFjBBhEC4PytcA
cc0f66f to
6b985c4
Compare
The page's Enterprise placement is implicit, so remove the "Enterprise feature" callout and plan mentions. Add that custom blocks can be allowlisted per permission group via Access Control. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NvLuS5o1eFjBBhEC4PytcA
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NvLuS5o1eFjBBhEC4PytcA
Summary
Adds an Enterprise docs page for Custom Blocks — publishing a deployed workflow as a reusable, org-wide block.
The page is publishing-first and grounded in the real Settings → Enterprise → Custom blocks UI:
DEPLOY_AS_BLOCK+NEXT_PUBLIC_CUSTOM_BLOCKS_ENABLED)Four UI screenshots included (list page, filled-in form, editor toolbar, block on canvas).
Changes
apps/docs/content/docs/en/platform/enterprise/custom-blocks.mdx+ screenshots underapps/docs/public/static/enterprise/meta.json)docsLinkto the Custom blocks settings nav item so the settings page links to the doc, like the other Enterprise pagesNotes
en/); translation tooling regenerates other localesdeploy-as-blockmechanics (registry overlay, invocation-boundary authz) are intentionally omitted from the body; the onlyDEPLOY_AS_BLOCKreference is the self-hosted env var🤖 Generated with Claude Code
https://claude.ai/code/session_01NvLuS5o1eFjBBhEC4PytcA