Repository navigation
build: default shared notes to BlockNote - #25124
Conversation
WalkthroughThe default Shared Notes editor changes from Etherpad to BlockNote. Package options now enable Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related issues
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.
Pull request overview
This PR switches BigBlueButton 4.0’s default Shared Notes implementation from Etherpad (bbb-etherpad/bbb-pads) to BlockNote (bbb-shared-notes-server), updating both runtime defaults and packaging dependencies for Ubuntu Noble.
Changes:
- Set
sharedNotesEditor=blockNoteas the default inbigbluebutton-webconfiguration. - Update Noble packaging dependencies to install
bbb-shared-notes-serverby default (and addpostgresql-16for the shared-notes server). - Document the new default and how to opt back into Etherpad.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/docs/new-features.md | Adds release-note style documentation explaining BlockNote as the new default and how to use Etherpad instead. |
| build/packages-template/bbb-shared-notes-server/opts-noble.sh | Adds postgresql-16 dependency needed for local DB initialization during install. |
| build/packages-template/bbb-html5/opts-noble.sh | Swaps default dependency from bbb-pads to bbb-shared-notes-server so new installs pull BlockNote. |
| bigbluebutton-web/grails-app/conf/bigbluebutton.properties | Changes the default shared notes editor from etherpad to blockNote. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
The tests right now require Etherpad I've opened #25125 to add BlockNotes tests. Until then likely I'll disable the tests touching on shared notes. |
|
This pull request has conflicts ☹ |
|
This pull request has conflicts ☹ |
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 `@build/packages-template/bbb-html5/opts-noble.sh`:
- Line 5: Remove bbb-shared-notes-server from the package list in OPTS so
upgrades do not invoke its destructive after-install.sh database-drop path;
preserve all other package entries unchanged.
🪄 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: b9bc6841-4591-4801-89cc-27b7f16c3842
📒 Files selected for processing (5)
bigbluebutton-web/grails-app/conf/bigbluebutton.propertiesbuild/packages-template/bbb-html5/opts-noble.shbuild/packages-template/bbb-shared-notes-server/opts-noble.shdocs/docs/data/create.tsxdocs/docs/new-features.md
| @@ -2,4 +2,4 @@ | |||
|
|
|||
| . ./opts-global.sh | |||
|
|
|||
| OPTS="$OPTS -d bc,bbb-pads,bbb-webrtc-sfu,bbb-export-annotations,bbb-web,bbb-graphql-middleware,bbb-graphql-actions,bbb-yq-go,nginx,unzip -t deb" | |||
| OPTS="$OPTS -d bc,bbb-shared-notes-server,bbb-webrtc-sfu,bbb-export-annotations,bbb-web,bbb-graphql-middleware,bbb-graphql-actions,yq,nginx,unzip -t deb" | |||
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🔴 Critical | 🏗️ Heavy lift
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Locate relevant packaging files
fd -a 'after-install.sh' .
fd -a 'bbb-shared-notes-server' build packages . || true
# Search for shared notes database references
rg -n --hidden --no-ignore-vcs 'blocknote_app|bbb-shared-notes-server|DROP DATABASE|CREATE DATABASE|configure\|upgrade|after-install' build packages . || trueRepository: bigbluebutton/bigbluebutton
Length of output: 29985
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "ROOT: $(pwd)"
git ls-files | rg 'bbb-shared-notes-server|opts-noble.sh|after-install.sh|install.sh|postinst|preinst|debian'Repository: bigbluebutton/bigbluebutton
Length of output: 6731
🏁 Script executed:
#!/bin/bash
set -euo pipefail
fd -a 'opts-noble.sh' .Repository: bigbluebutton/bigbluebutton
Length of output: 2259
Avoid a destructive shared-notes upgrade path. Adding bbb-shared-notes-server here pulls in build/packages-template/bbb-shared-notes-server/after-install.sh, which runs DROP DATABASE IF EXISTS blocknote_app WITH (FORCE) on configure|upgrade. That can wipe existing BlockNote data during upgrades; keep the database and make migrations idempotent instead.
🤖 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 `@build/packages-template/bbb-html5/opts-noble.sh` at line 5, Remove
bbb-shared-notes-server from the package list in OPTS so upgrades do not invoke
its destructive after-install.sh database-drop path; preserve all other package
entries unchanged.
Shared notes now default to BlockNote, so the Etherpad iframe the test typed into never renders and it timed out waiting for iframe[title="pad"]. Swap getNotesLocator (Etherpad) for getBlockNoteEditorLocator and click the editor to focus it before typing (BlockNote needs focus; the iframe locator did not).
Pin sharedNotesEditor=blockNote on the meeting create so the breakout "Export breakout room shared notes" test is deterministic regardless of the server's default editor — breakout rooms inherit the parent meeting's editor — matching how the etherpad and blockNote shared-notes suites already pin theirs.
|
🚨 Automated tests failed |
3240775
into
bigbluebutton:v4.0.x-develop




What does this PR do?
Changes the default Shared Notes component for BigBlueButton 4.0 from Etherpad to BlockNote.
Closes Issue(s)
Closes # none
Ports #25117 to BBB 4.0
Motivation
Based on recent experience with BBB 3.0.26 and 3.0.27 we are happy with the usability and performance of BlockNote (introduced a few months prior in 3.0.x)
How to test
On a new BBB installation when you join a session, you should be seeing BlockNote's UI in the Shared Notes panel.
On upgraded servers, the packages
bbb-padsandbbb-etherpadshould be marked as not needed anymore.