docs: Academy learning surface#5213
Conversation
|
@ouiliame is attempting to deploy a commit to the Sim Team on Vercel. A member of the Team first needs to authorize it. |
PR SummaryLow Risk Overview Lesson UI introduces Docs shell treats Reviewed by Cursor Bugbot for commit 7470b77. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryThis PR adds the Sim Academy to the docs site — a video-first learning surface with lessons organized into Workflows, Agents, Tables, Files, Knowledge Bases, and Use Cases, each linking back to the reference docs.
Confidence Score: 5/5Documentation-only change adding new content pages and UI components with no runtime, auth, or data-path changes. All changed files are scoped to the docs app — new MDX content, new React display components, and minor layout adjustments to the page shell. There are no database calls, auth paths, or API routes touched. The new components are self-contained and the window event bus for video-chapter coordination is a reasonable approach for a single-video-per-page surface. No files require special attention. Important Files Changed
Sequence Diagram%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant MDX as Academy MDX Page
participant VP as VideoPlaceholder
participant VC as VideoChapters
participant W as window event bus
MDX->>VP: render with src prop
MDX->>VC: render with chapters prop
Note over VP,VC: useEffect fires after DOM paint
VP->>W: listen academy:seek and academy:video-query
VP->>W: dispatch academy:video-ready (pre-emptive)
VC->>W: listen academy:video-ready
VC->>W: dispatch academy:video-query
W-->>VP: academy:video-query triggers announce
VP->>W: dispatch academy:video-ready
W-->>VC: "academy:video-ready sets hasVideo=true"
Note over VC: Chapter buttons become enabled
VC->>W: dispatch academy:seek with time seconds
W-->>VP: onSeek handler fires
VP->>VP: seek video or set pendingSeek and show player
%%{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"}}}%%
sequenceDiagram
participant MDX as Academy MDX Page
participant VP as VideoPlaceholder
participant VC as VideoChapters
participant W as window event bus
MDX->>VP: render with src prop
MDX->>VC: render with chapters prop
Note over VP,VC: useEffect fires after DOM paint
VP->>W: listen academy:seek and academy:video-query
VP->>W: dispatch academy:video-ready (pre-emptive)
VC->>W: listen academy:video-ready
VC->>W: dispatch academy:video-query
W-->>VP: academy:video-query triggers announce
VP->>W: dispatch academy:video-ready
W-->>VC: "academy:video-ready sets hasVideo=true"
Note over VC: Chapter buttons become enabled
VC->>W: dispatch academy:seek with time seconds
W-->>VP: onSeek handler fires
VP->>VP: seek video or set pendingSeek and show player
Reviews (3): Last reviewed commit: "docs: add Academy learning surface" | Re-trigger Greptile |
|
@greptile review |
|
@cursor review |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 17c0654. Configure here.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 17c0654. Configure here.
Adds the Academy section to the docs: video-first lessons (self-hosted MP4 on Vercel Blob), organized into Workflows, Agents, Tables, Files, and Knowledge Bases, each linking back to the reference docs. Lessons use a course layout (hero video with chapter seek, "what you'll learn", block diagrams). Docs only — no runtime or auth changes. The content may move to a separate CMS or its own site (academy.sim.ai) later; the docs are a starting point. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
@cursor review |

Adds the Academy section to the docs: video-first lessons (self-hosted MP4 on Vercel Blob), organized into Workflows, Agents, Tables, Files, and Knowledge Bases, each linking back to the reference docs.
Docs only — no runtime or auth changes. The content may move to a separate CMS or its own site (academy.sim.ai) later; the docs are a starting point.
Replaces #5170 with a clean single-commit history (drops the committed preview MP4s and draft MDX).