Repository navigation
[4.0]docs: replace architecture PNG with inline Mermaid diagram; update for 4.0 - #25475
antobinary merged 2 commits into
Conversation
Convert the high-level architecture diagram in docs/development/architecture.md from a raster drawio PNG export (BBB30arch.drawio.png) to an inline ```mermaid flowchart, transcribed 1:1 from the BBB30arch.drawio source (26 nodes, 36 edges). The diagram is now diffable in review, follows the site's light/dark theme, and is editable in place without a diagrams.net round-trip. Also document the diagram conventions in docs/README.md: inline Mermaid preferred, exported image (source + PNG under one basename) for complex hand-placed diagrams. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Refresh the (now inline) Mermaid architecture diagram to match 4.0: - Remove MongoDB (fully decommissioned; bbb-html5 is a static client fed by GraphQL/Hasura/PostgreSQL). - Add LiveKit server + LiveKit SIP as the default media path (audio/video/screenshare + dial-in); relabel bbb-webrtc-sfu as the media controller and mark mediasoup/FreeSWITCH/akka-fsesl as the alternative bridge. - Add BlockNote shared notes (new bbb-shared-notes-server, Hocuspocus/Yjs and its blocknote_app store) as the default; mark bbb-pads/Etherpad as the alternative editor. Blue = new/default in 4.0; grey-dashed = alternative/opt-in path. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
WalkthroughDocumentation now explains how to add inline Mermaid diagrams or exported image assets, including file conventions and missing-image behavior. The architecture documentation replaces its static image with an inline Mermaid flowchart covering proxies, application and data flows, media and notes backends, presentation conversion, recording, Redis consumers, and diagram styling. Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/docs/development/architecture.md`:
- Line 86: Update the blocknotedb diagram node label to explicitly identify
PostgreSQL alongside Yjs docs, preserving the existing blocknote_app label and
formatting.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: c6322e7d-ec7a-4a12-a461-73d5ee0d6b2a
📒 Files selected for processing (2)
docs/README.mddocs/docs/development/architecture.md
|
|
||
| %% ── Shared notes: BlockNote (default) ──────────────── | ||
| sharednotes["bbb-shared-notes-server<br/>(Hocuspocus / Yjs)"]:::neo | ||
| blocknotedb[("blocknote_app<br/>(Yjs docs)")]:::neo |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Identify the BlockNote datastore as PostgreSQL.
The diagram labels this node only as blocknote_app (Yjs docs), so it does not communicate the separate PostgreSQL store described by the PR objective. Update the label to include PostgreSQL, for example blocknote_app<br/>(PostgreSQL / Yjs docs).
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@docs/docs/development/architecture.md` at line 86, Update the blocknotedb
diagram node label to explicitly identify PostgreSQL alongside Yjs docs,
preserving the existing blocknote_app label and formatting.
What
Replaces the high-level architecture diagram on the Architecture page
(
docs/development/architecture.md) — previously a raster PNG exported fromdiagrams.net — with an inline
mermaidflowchart, then refreshes the topologyto reflect BigBlueButton 4.0 (the old PNG still depicted the earlier
"3.1"/3.x layout).
Also adds a short Diagrams section to
docs/README.mddocumenting theconvention: inline Mermaid preferred; exported image (editable source + PNG
under one basename) for complex/hand-placed diagrams.
Reviewable in two commits:
docs: replace architecture PNG with inline Mermaid diagram— the faithful1:1 PNG→Mermaid conversion (plus the README Diagrams note).
docs: update architecture diagram for BigBlueButton 4.0— the 4.0topology changes to that diagram.
4.0 topology updates (commit 2)
bbb-html5is now astatic client fed by GraphQL → Hasura → PostgreSQL.
LiveKit server(audio/video/screenshare) and
LiveKit SIP(dial-in);bbb-webrtc-sfuisrelabelled as the media controller (LiveKit token/webhook handling).
bridge (opt-in via bridge config).
bbb-shared-notes-server(Hocuspocus/Yjs) and its separateblocknote_appPostgres store; Etherpad + bbb-pads kept but marked alternative.
Legend: blue = new/default in 4.0; grey-dashed = alternative/opt-in path.
Why
not an opaque ~195 KB binary.
markdown.mermaid+@docusaurus/theme-mermaid), and diagrams already ship indocs/plugins.md.Notes
BBB30arch.drawio+BBB30arch.drawio.pngare intentionally left in place:the 3.0 docs version still references the PNG, and the deployed multi-version
site serves it from
develop's globalstatic/. The file can be removedlater, once every built version that references it has been converted.
html5 bridge config, akka handlers, the in-tree
bbb-shared-notes-server,bbb-livekitpackaging). A few edge-level details forbbb-webrtc-sfu/bbb-webrtc-recorder(fetched at build time, not in-tree) were deliberatelykept out of the diagram to avoid overstating.
How to verify
cd docs && npm ci && npx docusaurus start, then open/development/architecture.