Skip to content

chore: Merge v4.0.x develop into v4.1.x develop - #26198

Merged
antobinary merged 349 commits into
bigbluebutton:v4.1.x-developfrom
antobinary:merge-v4.0.x-develop-into-v4.1.x-develop
Oct 26, 2026
Merged

antobinary merged 349 commits into
bigbluebutton:v4.1.x-developfrom
antobinary:merge-v4.0.x-develop-into-v4.1.x-develop

Conversation

@antobinary

@antobinary antobinary commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Merge v4.0.x-develop into v4.1.x-develop

Forward-merge of v4.0.x-develop at 16b4b9a (2026-10-22) into v4.1.x-develop at aba8828. Merge base cae0957 (2026-10-07): 340 commits, 87 merged PRs, 397 files. Main content: Grails 8.0.0 / Spring Boot 4.1 / Groovy 5.1.3 for bbb-web, the GenericModal migration of the client modals (BBBModal from bbb-ui-components-react 0.9.0), LiveKit client 2.22.3, the 4.0.0 GA and 4.0.1 fixes, external component bumps (bbb-webrtc-sfu v2.25.0-beta.3, bbb-webrtc-recorder v0.17.0, bbb-transcription-controller v0.4.0, bbb-playback v5.4.8) and the October test-suite work.

One merge commit with only the mechanical resolutions, then three adaptation commits:

Commit What
9cd8fc5 Merge branch 'v4.0.x-develop' into v4.1.x-develop
7fb7114 refactor(html5): render the shared media consent modal with ModalSimple (4.0's change to the unmute modal, applied to 4.1's shared mic/camera consent modal)
8b24fc7 fix(html5): give library modals the dark surface again
f492602 fix(html5): keep the GenericModal overlay colour off other dialogs

Conflicts (30) and resolutions

Area Files Resolution
Version/build markers .gitlab-ci.yml, bigbluebutton-release, publiccode.yml, docusaurus.config.js 4.1 values: the 4.1 bbb-build image, 4.1.0-alpha.1, 4.1 publiccode fields, the v4.1.x-release docs link; 4.0's search-box fix in docusaurus.config.js auto-merged
Deleted on 4.0, modified on 4.1 common/modal/base/styles.js, common/modal/simple/styles.js deleted: 4.0 removed the modal primitives they styled, 4.1 had only re-tokenised them, nothing imports them in the merged tree
Modal and style files: 4.0's GenericModal migration vs 4.1's native dark theme settings/styles.js, scrollable.js, request-presenter/styles.js, connection-status/modal/styles.js, audio-settings/styles.js, generic-content/styles.ts, media-sharing/styles.ts 4.0's removals where the code has no users left (settings footer and modal wrappers, ModalScrollboxVertical, RequestModal in request-presenter); 4.1's role tokens (-surface/-text/-border) kept in everything that stays; imports trimmed to what is used
Settings modal settings/component.jsx 4.0's GenericModal footer with BBButtons; its Save button calls 4.1's handleSave, which also applies the device-test audio selection (4.0's inline callback referenced variables the merged render() no longer defines, so Save would have thrown)
Unmute request request-unmute-modal/component.jsx, common/media-consent-modal/styles.js 4.1's shared MediaConsentModal (unmute and camera request); 4.0's switch to plain ModalSimple is ported to it in 7fb7114
Client settings meetingClientSettings.ts 4.0's LIVEKIT_AUDIO_PUBLISH_OPTIONS (same values as 4.1's literal); unpublishOnMute stays true, matching settings.yml
Lockfile html5 package.json, package-lock.json bbb-ui-components-react ^0.9.0 (4.0); lock regenerated from 4.1's, then npm update for follow-redirects and the postcss-modules / postcss-selector-parser bumps; behind neither parent, package.json untouched by npm
Locales et, ja, sv_SE 4.1's content (translated files are left to Transifex, as in #26011); en.json merged, none of the 10 keys 4.0 removed is used by the merged client
Tests elements.ts, helpers.ts, constants.ts both sides' selectors; 4.1's join URL encoding (fullName and meetingID); 4.0's local default.pdf fixture
Docs new-features.md 4.1's file unchanged, auto-merged hunks included
Docs install.md, release-testing.md, configuration-files.md 4.1 had converted them to LF, so git saw whole-file conflicts; merged with line endings normalised. install.md keeps 4.1's banner and upgrade wording; release-testing.md takes 4.0's updated plan plus 4.1's camera-request and pre-flight sections, all spec links on v4.1.x-develop
Docs customize.md 4.0 moved the userdata-bbb_* tables to the API page; 4.1's userdata-bbb_pre_flight row moved with them into api.md

57 files touched by both lines auto-merged. The ones where the two sides' hunks sit next to each other were read in the combined diff (video-preview, useVideoPreview, settings audio submenu, profile settings, audio modal styles, globalStyles, sidebar navigation button, chat message styles, chat.spec.ts, multiusers.ts) and combine cleanly. CI files keep the v4.1.x codename mapping; settings.yml and bigbluebutton.properties have no duplicate keys.

Dark theme after the merge

After the merge every ModalSimple renders 4.0's GenericModal, i.e. the library's BBBModal, which paints its surface with var(--color-white, …). The 4.1 dark theme keeps --color-white white because the client uses it as a text colour, so in dark mode every modal (settings, connection status, audio, webcam settings, confirmations, session details) became white with white text. 8b24fc7 sets the modal surface in theme-dark.css to --color-white-surface, the value the 4.1 modals used before. Measured in Chromium on the merged build: settings modal surface #FFFFFF before the fix, #2D2F38 after, the same as on v4.1.x-develop; light-theme screenshots of seven modal views identical with and without the rule, apart from the live webcam preview. The dark mode reload test now asserts the settings modal is not white (fails without the fix, passes with it).

Settings modal in dark mode, same server and meeting setup:

01-dark-settings-modal-v4.1.x-develop.png:

01-dark-settings-modal-v4 1 x-develop

02-dark-settings-modal-merged-before-fix.png:

02-dark-settings-modal-merged-before-fix

03-dark-settings-modal-merged-with-fix.png:

03-dark-settings-modal-merged-with-fix

f492602 scopes the !important overlay colour GenericModal brought in modals.css to GenericModal's portals, so the 4.1 pre-flight error dialog keeps its own scrim (checked in code, not on a phone viewport).

Verification

Check Result
Conflict markers, duplicate top-level symbols none
Translated locales and new-features.md vs v4.1.x-develop identical
tsc bigbluebutton-html5 PASS (0 errors, as on 4.1)
tsc bigbluebutton-tests/playwright 1 error, also on v4.0.x-develop (see notes)
tsc bbb-graphql-actions PASS
eslint, non-fixable errors in the files the merge changed 19 merged vs 26 on 4.1 and 19 on 4.0 for the same files; no file worse than both parents
playwright --list 707 tests in 57 files (573 / 49 on 4.1, 679 / 55 on 4.0)
Package builds with build/setup.sh in the 4.1 bbb-build image all 21 changed packages PASS (bbb-web, bbb-apps-akka, bbb-fsesl-akka, bbb-html5, graphql server and middleware, export-annotations, learning dashboard, shared notes, bbb-config, record-core and playback formats, livekit, webrtc sfu/recorder, transcription controller)

Deployed on a 4.1 dev server whose noble-41-dev packages were built from exactly aba8828 (the pre-merge baseline). The 21 changed packages were then built from this branch with build/setup.sh and installed with an equivs bigbluebutton meta-package pinning them, as CI does. bbb-freeswitch-core was not rebuilt: its only change is rtp-port-usage-robustness in switch.conf.xml, applied by hand. On the merged stack bbb-web runs Grails 8.0.0 / Groovy 5.1.3 / Spring Boot 4.1.1 / Tomcat 11.0.26, and the served client bundleHash matches the built package.

Playwright chromium, CI selection (@ci minus flaky/need-update/only-headed/setting-required/known-issue), 2 workers:

Run Tests Passed Failed Skipped
v4.1.x-develop aba8828 (pre-merge baseline) 505 481 3 21
this branch at f492602 672 645 6 21
this branch, @ci @media with MEDIA_BRIDGE=bbb-webrtc-sfu (CI's SFU job) 131 117 1 13

All failures attributed, none to the merge:

Test Attribution
Presentation › Hide Presentation Toolbar screenshot mismatch; fails identically on the baseline
Whiteboard › Shape Options › Duplicate screenshot; fails on the baseline too, passes in a re-run of the whiteboard spec
Whiteboard › Fit-to-width position survives a slide-change remount; Slide position restoration is independent of decode timing pass 3/3 alone and in a full whiteboard spec re-run (45/45). Under load the test reads the presenter's camera before its 25 wheel events have settled, while the viewer ends at the real bottom
Whiteboard › Touch pinch zoom › Viewer touch gestures move no camera and keep the two-finger undo (new from 4.0) passes 3/3 alone and in the whiteboard spec re-run
Custom Parameters › Presentation › Force restore presentation on new events passes 3/3 alone. It fails when it runs next to the heavy-presentation test: its default.pdf conversion queues behind the heavy upload (33.8 s in bbb-web's conversion log against the test's 10 s wait). The baseline run shows the same queueing (78 s behind GeoTopo.pdf); conversion speed itself is unchanged (default.pdf median 0.88 s merged vs 0.95 s baseline)
Screenshare › Hidden presentation stays hidden after screenshare ends when the slide has annotations (SFU job only) fails on the baseline with MEDIA_BRIDGE=bbb-webrtc-sfu too (3/3 alone on aba8828, 2/3 on the branch), at the viewer's eraser step; passes with LiveKit on both

The full run used the client from 7fb7114 with the two stylesheets of f492602 swapped in. The final package built at f492602 then ran the options, camera-request, unmute-request (audio), pre-flight and create-parameter specs: 55 passed, 1 skipped, 0 failed.

Recording with microphone audio failed on the baseline and passed on the branch (known: the test reads the first playback format). bbb-transcription-controller no longer crashes under Node 24 (v0.2.10 died at startup with Utils.isRegExp is not a function; v0.4.0 starts and connects to FreeSWITCH, where this server's FSESL login fails the same way it did on its 4.0.1 install).

Notes and follow-ups (not part of this merge)

  • The 4.1 package build image still has Grails 7.0.12, Gradle 8.14.3, Go 1.27.0 and Node 24.20.0 (bbb-docker-build-packages v4.1.x-release); the 4.0 image moved to 8.0.0 / 9.8.1 / 1.27.3 / 24.22.1. All packages build with the 4.1 image (bbb-web uses its Gradle wrapper, go.mod asks for 1.27.0), so .gitlab-ci.yml keeps the 4.1 image here; the image bump is a separate change.
  • Two test bugs that come over from v4.0.x-develop unchanged: presentation/exportedAnnotationsOverlap.ts uses e.userListToggleBtn, which elements.ts does not define (the only tsc error in the test project, in a fallback branch); and elements.ts defines pollQuestion twice, so the poll test types the CSS selector div#chat div.poll-question as its question. Both should be fixed on 4.0 first.
  • Translated locales on 4.1 still trail 4.0 (17 files differ), since 4.1 has no Transifex resource of its own yet.
  • Since 16b4b9a, v4.0.x-develop has gained fix(livekit): accept constraint objects in camera profiles #26169 (LiveKit camera profiles); it is left for the next forward-merge. The 4 commits v4.1.x-develop gained since aba8828 merge cleanly with this branch.
  • Not run here: the Firefox project and the plugin SDK tests.

antobinary and others added 30 commits October 8, 2026 10:40
Add bbbWebSecurityHeaders (@ci). It requests three kinds of bbb-web
response - a document (GET /api), the join redirect, and an error (404
for an unmapped URL) - and expects each to carry
  X-Frame-Options: SAMEORIGIN
  X-Content-Type-Options: nosniff
  Referrer-Policy: strict-origin-when-cross-origin
  X-XSS-Protection: 0

Since 8.0.0-RC2 Grails adds these browser-hardening headers to every
response by default (apache/grails-core#15967); bbb-web on Grails 7 sent
none of them. We keep the Grails defaults, and this test pins that
decision: a later change in Grails, in bbb-web's packaged configuration
or a site opt-out leaking into the defaults shows up in CI instead of
going unnoticed.

On a 4.0.0-rc.5 server the test fails against the stock Grails 7 bbb-web
(no headers) and against this branch with
grails.security.headers.frame-options.enabled=false (no
X-Frame-Options), and passes against this branch as it is.
Add joinInsideCrossOriginFrame (@ci). A made-up LMS page on another
origin (https://lms.example.test, answered by page.route, so no extra
server is needed) frames the join URL and bbb-web's /api. The test
expects the client to load inside the frame and the /api XML to be
refused.

Of the headers Grails 8 now adds, X-Frame-Options: SAMEORIGIN is the
only one that could break a real deployment, because LMS integrations
embed BigBlueButton in frames. The test shows where it applies and where
it does not: join answers with a redirect, and the client it redirects
to is served by nginx without the header, so the meeting loads; only
documents bbb-web renders itself are refused inside a frame on another
site.

Run on a 4.0.0-rc.5 server: the client loads in the frame on the stock
Grails 7 bbb-web and on this branch; bbb-web's /api XML is displayed in
the frame on Grails 7 and on this branch with
grails.security.headers.frame-options.enabled=false, and refused on
this branch as it is.

The meeting is created with allowRequestsWithoutSession=true because the
browser does not send bbb-web's session cookie from a frame on another
site. Without it the framed client ends on "Session has ended" on
Grails 7 and Grails 8 alike, so that part is unrelated to the headers.
Grails 8 adds X-Frame-Options, X-Content-Type-Options, Referrer-Policy
and X-XSS-Protection to every bbb-web response, and we keep those
defaults. Administrators upgrading to 4.0 will see the new headers, and
anyone who embeds bbb-web's own pages (an API response, for example) in
a frame on another site will find them refused, so new-features.md now
says what changes, that joining from an LMS frame is not affected, and
how to turn a header off in /etc/bigbluebutton/bbb-web.properties.

The property names were checked on a Grails 8 bbb-web: each of the four
per-header enabled=false settings removes its header, and
grails.security.headers.enabled=false removes all four.
joinInsideCrossOriginFrame failed in CI on both attempts: neither frame
loaded, and the trace shows both subframe navigations (the join URL and
/api) failing with net::ERR_BLOCKED_BY_PRIVATE_NETWORK_ACCESS_CHECKS.
Chromium 141 (Playwright 1.56) applies its local network access checks
to subframe navigations. The LMS page answered by route.fulfill() has no
network address of its own, so the browser treats it as public, while
bbb-ci.test resolves to the CI runner's own, private address, and a
public page may not frame a server on a private address. On a server
with a public address the check does not apply, which is why the test
passed when it was written. This is browser policy, independent of
bbb-web and of the Grails version.

The route now continues the LMS URL to the server's front page and the
test then writes the two frames with page.setContent(). The document
keeps the made-up LMS origin, but it was fetched from the server, so it
shares the server's address space and the frames load wherever the test
runs. The commit message of be50b4a still says the page is answered
by page.route without a server; that is no longer the case.

The /api check is stronger as well (CodeRabbit pointed out that the old
"does not contain SUCCESS" check would pass for any document): the test
now asserts that bbb-web answers the framed /api request with 200 and
that the browser refuses to display it (net::ERR_BLOCKED_BY_RESPONSE).
bbbWebSecurityHeaders also checks that GET /api returns bbb-web's
answer before looking at its headers.

Checked against a stand-in HTTPS server on a private address (join
redirect with X-Frame-Options, a page with the audio modal, an XML /api
with X-Frame-Options): the old shape is refused exactly as in CI, the
new one loads the meeting frame and reports the /api frame as blocked,
and without X-Frame-Options (Grails 7) the /api assertion fails as it
should. tsc, eslint and prettier pass. Not run end to end against BBB
yet; the next CI run is the first.
The development steps changed into bigbluebutton/bbb-common-message,
bigbluebutton/bbb-common-web and bigbluebutton/bigbluebutton-web, paths
relative to the directory above the checkout (the first one used to be
absolute), so none of them worked from the repository root, where a
reader starts. They now run from the root; the two sbt deploy steps run
in a subshell so the next step still starts from the root. Raised by
CodeRabbit on bigbluebutton#25466.
…heck-time-overlap

[4.0] fix(chat): keep the read check clear of the message time on hover
Spring Boot 4.1 lowered the default of server.tomcat.max-parameter-count
from 10000 (Boot 3.5) to 1000. Tomcat 11 does not drop the extra
parameters the way Tomcat 10.1 did: a request with more than 1000
parameters (query string plus form body) fails with InvalidParameterException
and Tomcat's own HTML 500 page. After the Grails 8 upgrade an API call such
as a create with many meta_ parameters, or a join with many userdata-
parameters, would fail that way. Set the limit back to the value bbb-web
ran with on Spring Boot 3.5.

Measured with the same Spring Boot 4.1.1 / Tomcat 11.0.26 stack (3.0 port
of this upgrade on a 3.0.39 container; POST of N form parameters plus a
wrong checksum to /bigbluebutton/api/getMeetings): with the default, 990
parameters answer checksumError and 1200 answer HTTP 500; with this
setting, 1200 and 9900 answer checksumError again.
… does

Text annotations constrained to a width (autoSize=false) are re-wrapped by
the export using opentype.js glyph advance sums. The client wraps them with
the browser's text layout, which shapes the text with HarfBuzz and applies
the font's OpenType features. Shantell Sans, the "draw" font, carries
kerning in GPOS and contextual alternates in GSUB that opentype.js does not
apply, so the export measured long lines 2-3% wider than they rendered
live. The safety margin added for bigbluebutton#24566 (twice the narrowest glyph) is a
constant, while the error grows with line length: a line the browser laid
out at 1340.8 px measured 1364.1 px in the export, against a 14 px margin.

Reported on 3.0.39 with a 27-line German annotation: the export wrapped one
line's trailing period and the word "Dies" onto lines of their own, so the
shape grew by two lines and its last items fell below the page edge. The
orphaned period came from the tokenizer splitting at word boundaries (\b)
and then breaking the accumulated line at character granularity, which a
browser never does.

Measure with HarfBuzz instead (harfbuzzjs, WebAssembly, no native build).
Shaping with the font's default features reproduces Chrome's widths
exactly: 1340.8 px and 1239.1 px for the report's two critical lines in
both. Wrap where a browser wraps: at whitespace or after a hyphen, breaking
inside a word only when the word alone exceeds the line. Whitespace hangs
at the end of a line instead of forcing a wrap. Keep a tolerance of one
narrowest-glyph width in the "do not wrap" direction only, since that error
mode cannot interleave text. Fonts are parsed once per process and a single
scratch buffer serves every measurement; the previous code re-read and
re-parsed the woff2 font for every shape.

Verified on a 3.0.39 server with the reported annotation at its live
geometry: before the change the exported PDF had 29 lines with the last two
below the page edge; after it the 27 lines match the client and the last
line sits inside the page. The existing regression test
(exportedAnnotationsOverlap) still covers the overlap symptom.

opentype.js is no longer used and is dropped from the dependencies.
Regression coverage for the opentype.js wrap divergence fixed in the
previous commit. A 26-line synthetic German text annotation is typed
through the whiteboard, constrained to 2632 px at scale 0.5 on a blank
slide and exported in its current state. The rows of the exported page
are then compared with the client: every row between the annotation's
first and last line must be one of its 24 non-blank paragraphs, no row
may consist of punctuation alone, and the last row must be its last
line.

Two lines of the text are about 200 characters long on purpose. The
browser measures them at 2618 px and 2623 px, the old export at 2661 px
and 2666 px, so the fixture keeps 9 px of slack on the browser side
even where Chromium rounds glyph advances to whole pixels (this test
tree launches it without --font-render-hinting=none), while the old
export still wraps both lines. Verified red against the stock
bbb-export-annotations (26 rows instead of 24) and green with the fix,
on a 3.0.39 server.

The export step is shared with the overlap test and now opens the
public chat before waiting for the download link: the link arrives as
a chat message and is hidden when the sidebar is collapsed on login.
An unused constant is removed and the file is formatted with the
repository's eslint --fix.
…patch-5

build: Update bbb-transcription-controller to v0.4.0
…nt that carries it

The replays read a per-meeting hideUserList/hideViewersCursor state that only
LockSettingsInMeetingChangedEvtMsg could change once set: a voice state or
cursor event only filled it for a meeting with no entry. If that message was
lost, the replays kept the wrong lock for the rest of the meeting.

The state is now updated from every UserVoiceStateEvtMsg and
SendCursorPositionEvtMsg that carries the field, as well as from the lock
settings change, synchronously in the Redis read loop before the handler
goroutine starts. Updates follow publish order, so the latest message wins and
the remember-if-absent rule, which only guarded against goroutine reordering,
is gone. A message without the field still leaves the state unchanged.

Co-authored-by: Tainan Felipe <[email protected]>
Brings v4.0.x-develop at 16b4b9a (2026-10-22) into v4.1.x-develop at
aba8828. Merge base cae0957 (2026-10-07): 340 commits, 87 PRs and
397 files come in. 86 files changed on both lines; 30 of them conflicted.

Version and build markers keep the 4.1 values:
- .gitlab-ci.yml keeps the 4.1 bbb-build image. The incoming
  v4.0.x-release--2026-10-21-124037 image has Grails 8.0.0, Gradle 9.8.1,
  Go 1.27.3 and Node 24.22.1; the 4.1 image is still on Grails 7.0.12,
  Gradle 8.14.3, Go 1.27.0 and Node 24.20.0. The package builds do not
  need the newer image: bbb-web builds with its own Gradle wrapper (9.8.0
  after this merge) and go.mod asks for Go 1.27.0.
- bigbluebutton-release (4.1.0-alpha.1), publiccode.yml and the docs
  GitHub link in docusaurus.config.js. The search box fix in the same
  file merged in.

Translated locales (et, ja, sv_SE) stay as on 4.1, as in the previous
4.0 -> 4.1 merge. en.json merged normally; none of the ten keys 4.0
removed is used by the merged client.

docs/docs/new-features.md stays as on 4.1, auto-merged hunks included.

Other docs:
- install.md, release-testing.md and configuration-files.md were
  converted from CRLF to LF on 4.1, so git reported whole-file
  conflicts. They were merged with line endings normalised. install.md
  keeps the 4.1 draft banner and upgrade wording. release-testing.md
  takes 4.0's rewritten test plan plus the 4.1 camera request and
  pre-flight sections, with every spec link on v4.1.x-develop.
- customize.md: 4.0 moved the userdata-bbb_* tables to the API page, so
  the userdata-bbb_pre_flight row added on 4.1 moves into api.md.

html5:
- package.json takes @bigbluebutton/bbb-ui-components-react ^0.9.0 from
  4.0 over ^0.8.0. package-lock.json was regenerated from the 4.1 lock,
  then follow-redirects and postcss-modules-local-by-default,
  postcss-modules-scope and postcss-selector-parser were updated to the
  4.0 versions. No package is older than in either parent.
- The 4.1 native dark theme and the 4.0 GenericModal migration met in
  the style files. Where 4.0 removed code that has no users left (modal
  base/simple styles, ModalScrollboxVertical, the settings footer
  buttons, RequestModal in request-presenter), the removal is taken; the
  4.1 role tokens (-surface, -text, -border) stay in everything else.
- settings: 4.0's GenericModal footer with BBButtons. Its Save button
  calls handleSave, where 4.1 moved the save logic together with the
  audio device selection of the device test; 4.0's inline callback used
  variables the merged render() no longer defines.
- request-unmute-modal keeps the shared MediaConsentModal from 4.1, and
  the consent modal styles keep its RequestModal. 4.0's switch from
  RequestModal to plain ModalSimple is ported in a follow-up commit.
- meetingClientSettings.ts: LIVEKIT_AUDIO_PUBLISH_OPTIONS from 4.0 (the
  same values as the 4.1 literal); unpublishOnMute stays true, as 4.1
  aligned it with settings.yml.

Playwright:
- elements.ts: the new selectors from both sides.
- helpers.ts: the 4.1 join URL encoding (fullName and meetingID).
- constants.ts: preUploadedPresentation from the server's own default.pdf
  (4.0); preUploadedHeavyPresentation had no users left.
On 4.0 the unmute request modal stopped wrapping ModalSimple in a styled
RequestModal (2563b91), and the other wrappers that GenericModal no
longer styles were dropped in 22b39dd. ModalSimple now renders
GenericModal and ignores shouldShowCloseButton as a legacy prop.

On 4.1 that modal had already become the shared MediaConsentModal, used
by both the unmute request and the camera request, so the merge of
v4.0.x-develop kept RequestModal for it. This applies the 4.0 change to
the shared component: it renders ModalSimple directly, and RequestModal
and the imports only it used are removed from its styles.
Since the merge of v4.0.x-develop every ModalSimple renders GenericModal,
which renders the library's BBBModal. BBBModal paints its content box and
its sticky footer with the library's colorWhite,
var(--color-white, var(--color-neutral-white, #FFFFFF)). The 4.1 dark
theme keeps --color-white white because the client uses it as a text
colour, so in dark mode every modal turned white while its title and text
stayed white: settings, connection status, audio, webcam settings, end
meeting, session details and the rest. The light theme is not affected.
Before the merge the 4.1 modal wrappers painted these surfaces with
colorWhiteSurface; 4.0 removed those wrappers when it moved to
GenericModal.

A custom property cannot carry the surface, because the library also
reads --color-white as the label colour of primary and danger buttons.
The dark theme therefore sets the background on the modal elements, with
--color-white-surface (the value the 4.1 modals used), scoped to the
portal classes only GenericModal sets.

Measured on a merged build in Chromium: the settings modal surface was
#FFFFFF and is #2D2F38 again, as on v4.1.x-develop. Light-theme
screenshots of seven modal views are identical with and without the rule,
apart from the live webcam preview. The dark mode reload test now also
checks that the settings modal is not painted white, and two comments
that still described the library reading --color-neutral-white first are
updated for bbb-ui-components-react 0.9.0.
The overlay rule that came with GenericModal in modals.css set the
background colour with !important on every react-modal overlay. That also
replaced the scrim the 4.1 pre-flight error dialog sets inline
(colorScrim), in both themes. GenericModal is the only component that sets
the modal-low, modal-medium and modal-high portal classes, so the rule is
scoped to those; GenericModal overlays keep the same colour.
@antobinary antobinary added this to the Release 4.1 milestone Oct 23, 2026
@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review: 4
  • v3.0.x-release
  • v3.0.x-develop
  • v4.0.x-release
  • v4.0.x-develop

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b0339d12-c44f-4bd9-989e-c8f40c9dd32e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@antobinary

Copy link
Copy Markdown
Member Author

@TiagoJacobs marked as reviewer since we want to merge a small adjustment re placeholder.sh version matching first.

@github-actions

Copy link
Copy Markdown

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@TiagoJacobs

TiagoJacobs commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

@TiagoJacobs marked as reviewer since we want to merge a small adjustment re placeholder.sh version matching first.

thanks @antobinary - the adjustment is in place

…evelop

Brings in v4.1.x-develop at a8c015d: the nginx named upstreams (bigbluebutton#26175)
and the environment overrides for bbb-web, akka-apps, graphql-middleware,
shared-notes and export-annotations.

Conflicts:
- bigbluebutton-web/bbb-web.nginx: 4.0 removed the handler-less
  validatePad location (84feef4); 4.1 switched its proxy_pass to the
  bbb-web upstream. The location stays removed; every other location uses
  the upstream.
- bbb-export-annotations/shapes/Shape.js: 4.0 measures text with HarfBuzz
  (c2f9fae); 4.1 reads the settings through lib/utils/config.js so the
  override file applies (60faa68). Both are kept, and the font lookup
  uses the shared config instead of reading config/settings.json itself.
… class

The dark-theme rule from 8b24fc7 painted the modal surface on every
portal with the modal-low, modal-medium or modal-high class, on the
assumption that only GenericModal sets them. Two cases broke:

- Plugins render their own react-modal with those classes too. The
  pick-random-user plugin (v0.1.1) sets portalClassName="modal-low" and
  keeps a white card, so the rule painted its last content block
  #2D2F38 behind grey text.
- A GenericModal whose priority is none of the three gets no surface:
  the "Clear all annotations" confirmation passes priority="0", so its
  portal is modal-0 and it stayed white with white title and text in
  dark mode.

GenericModal now adds a generic-modal class to its portal and the rule
keys off that class only. The confirmation keeps priority="0": it is
always mounted, and react-modal keeps the empty portal of a closed modal
in the DOM, so as modal-low it would hide every later modal-low portal
through the FIFO rule in modals.css (a plugin modal, for one).

Checked on a merged build in Chromium against a 4.1 server. Dark theme:
the confirmation is #2D2F38, the plugin's content block is transparent
again, the settings modal content and footer stay #2D2F38. Light theme:
all three unchanged. The dark mode reload test now also checks the
settings modal footer.
The automated test cases link to specs on v4.1.x-develop since the merge of
v4.0.x-develop, but the introduction still named v4.0.x-develop.
… class (#30)

* fix(html5): scope the dark modal surface to GenericModal's own portal class

The dark-theme rule from 8b24fc7 painted the modal surface on every
portal with the modal-low, modal-medium or modal-high class, on the
assumption that only GenericModal sets them. Two cases broke:

- Plugins render their own react-modal with those classes too. The
  pick-random-user plugin (v0.1.1) sets portalClassName="modal-low" and
  keeps a white card, so the rule painted its last content block
  #2D2F38 behind grey text.
- A GenericModal whose priority is none of the three gets no surface:
  the "Clear all annotations" confirmation passes priority="0", so its
  portal is modal-0 and it stayed white with white title and text in
  dark mode.

GenericModal now adds a generic-modal class to its portal and the rule
keys off that class only. The confirmation keeps priority="0": it is
always mounted, and react-modal keeps the empty portal of a closed modal
in the DOM, so as modal-low it would hide every later modal-low portal
through the FIFO rule in modals.css (a plugin modal, for one).

Checked on a merged build in Chromium against a 4.1 server. Dark theme:
the confirmation is #2D2F38, the plugin's content block is transparent
again, the settings modal content and footer stay #2D2F38. Light theme:
all three unchanged. The dark mode reload test now also checks the
settings modal footer.

* docs(testing): point the release test plan intro at v4.1.x-develop

The automated test cases link to specs on v4.1.x-develop since the merge of
v4.0.x-develop, but the introduction still named v4.0.x-develop.
@github-actions

Copy link
Copy Markdown

⏳ Automated tests are running...

@antobinary
antobinary merged commit 7317117 into bigbluebutton:v4.1.x-develop Oct 26, 2026
49 of 51 checks passed
antobinary pushed a commit that referenced this pull request Nov 21, 2026
Forward-merge of v4.0.x-develop at 112214e into v4.1.x-develop at
1635133. Merge base 28d54de (#26257, merged in #26442).

Resolutions:
- profile-settings/component.tsx: combined. 4.1's PreviewStatus replaced
  the inline containerStyle, so it stays out; 4.0's isCamLocked return and
  "Enable webcam" placeholder (#26213) go before 4.1's CameraPreview.
- profile-settings/styles.ts: 4.1's palette imports plus colorOffWhite,
  which 4.0's placeholder uses.
- recording/styles.js: 4.1's colorTextEmphasis with 4.0's
  confirmationButtonFloor (#26314).
- request-unmute-modal/styles.js: stays deleted, as on 4.1. 4.1's shared
  media-consent-modal (f75c010) replaced the RequestModalContent row
  that 4.0's min-width and narrow-phone change (#26314) styles.
- settings/container.jsx: combined. 4.0's pagination source and
  useIsPaginationToggleAllowed (#26468) in 4.1's useSettingsProps, and
  paginationToggleLocked in its returned props, so the pre-flight
  settings modal gets it too.
- settings/submenus/application/styles.js: 4.0's. The language selector
  is now a BBBSelect (#26389), so the native select rule 4.1 recoloured
  has no target.
- video-preview/hooks/types.ts, useVideoPreview.ts: combined. Both sides'
  options (skipPreview, deferInitialization; waitForCameraPermission). 4.0
  moved the mount-time camera opening from the cameraDisabled effect into
  startPreview, called on mount, and the effect now reopens only a
  started preview. 4.1's deferInitialization check moves with it, from the
  effect into startPreview, so pre-flight still opens no camera until the
  user enables it.
- palette.js: combined. 4.0's colorWarning #FFC845 and btnWarningColor
  #393C48 (#26312) and its new status tokens; 4.1's notice, scrim and
  *ColorSurface tokens.
- locales de, eu, it_IT: 4.1's, as in #26011, #26198, #26346 and #26442.
  en.json: both sides' strings; a key-level three-way check matches.
- playwright core/helpers.ts: 4.0's override-aware create defaults
  (#26359) with 4.1's encoded name and meetingID.
- bigbluebutton.properties, docs/data/create.tsx: both disabledFeatures
  entries, layoutView (4.1) and lockSettings (4.0).
- docs configuration-files.md, release-testing.md: still CRLF on 4.0 and
  LF on 4.1; merged with line endings normalised. 4.1's
  bbb-export-annotations override row stays (4.1 ships the override);
  4.0's other override rows and nginx text, with the 4.1 source link; the
  new unmute case with its spec link on v4.1.x-develop.
- docs customize.md: 4.0's locale override steps, downloading from
  v4.1.x-release.
- docs new-features.md: 4.1's file, unchanged.
- bbb-shared-notes-server/run-in-systemd.sh: kept, as on 4.1. 4.0 deleted
  it (#26464), but 4.1's image (bbb-shared-notes-server/Dockerfile)
  still copies it. The follow-up "build(docker): stop copying the removed
  run-in-systemd.sh into the shared-notes image" removes both.

This merge does not pass the Playwright type check alone:
bigbluebutton-tests/playwright/core/elements.ts merged without a conflict
but declares layoutContainer twice, since both lines added it (4.1 in
c5c2c71, 4.0 in ad12223). The next commit, "test(playwright):
declare the layoutContainer selector once", drops 4.1's copy. The packages
build, and Playwright's own transpiler runs the suite as is.

# Conflicts:
#	bigbluebutton-html5/imports/ui/components/profile-settings/component.tsx
#	bigbluebutton-html5/imports/ui/components/profile-settings/styles.ts
#	bigbluebutton-html5/imports/ui/components/recording/styles.js
#	bigbluebutton-html5/imports/ui/components/request-unmute-modal/styles.js
#	bigbluebutton-html5/imports/ui/components/settings/container.jsx
#	bigbluebutton-html5/imports/ui/components/settings/submenus/application/styles.js
#	bigbluebutton-html5/imports/ui/components/video-preview/hooks/types.ts
#	bigbluebutton-html5/imports/ui/components/video-preview/hooks/useVideoPreview.ts
#	bigbluebutton-html5/imports/ui/stylesheets/styled-components/palette.js
#	bigbluebutton-html5/public/locales/de.json
#	bigbluebutton-html5/public/locales/en.json
#	bigbluebutton-html5/public/locales/eu.json
#	bigbluebutton-html5/public/locales/it_IT.json
#	bigbluebutton-tests/playwright/core/helpers.ts
#	bigbluebutton-web/grails-app/conf/bigbluebutton.properties
#	docs/docs/administration/configuration-files.md
#	docs/docs/administration/customize.md
#	docs/docs/data/create.tsx
#	docs/docs/new-features.md
#	docs/docs/testing/release-testing.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.