Skip to content

chore: BigBlueButton 3.0.31 iteration - #25299

Merged
ramonlsouza merged 10 commits into
v3.0.x-releasefrom
v3.0.x-develop
Jun 19, 2026
Merged

ramonlsouza merged 10 commits into
v3.0.x-releasefrom
v3.0.x-develop

Conversation

@ramonlsouza

Copy link
Copy Markdown
Member

Wishlist for this iteration (in no specific order unless specified otherwise)

Estimated release date: TBD

We welcome comments/suggestions, specifically looking for items that are high priority in your eyes.

imdt-claudiop and others added 10 commits June 16, 2026 10:04
The reply intention preview and the quote inside sent replies extract
the first visible line of the original message with
getFirstVisibleLineHtml. The function treated the inline tags <a> and
<code> as block-level, walked the root children in reverse order and
removed every node that precedes the last "block" found - so a message
like "Hello https://example.com" was previewed as just the link.

Rewrite the extraction to walk the DOM in document order and truncate
at the first visual line break (newline in a non-whitespace-only text
node, <br>, or the end of the first nested block element), keeping
inline content of the first line intact. Lists now preview their first
item instead of the last one.

Add an e2e scenario covering both previews when replying to a message
with text followed by a link.

Co-authored-by: Tainan Felipe <[email protected]>
The raised hand indicator was only computed for GRID and STREAM tile
types, so audio-only tiles never displayed it even though the user data
(raiseHand) and the render path were already in place. Include the
AUDIO_ONLY tile type in the raiseHand condition.

Add a data-test hook to the indicator and an end-to-end test covering an
audio-only tile raising its hand.

Closes #25169
Address review feedback (Arthurk12): the audio-only tile only appears when
public.kurento.cameraSortingModes.showAudioOnlyOnFirstPage is enabled. Expose
that setting in the playwright settings helper and skip the test (instead of
failing with an opaque "tile never appeared" error) when it is disabled,
mirroring the existing pattern already used for other client-setting-dependent
tests (e.g. emojiRainTest).

Ref: #25169
fix(video-provider): show raised hand indicator on audio-only tiles
fix(chat): preserve text before links in reply message preview
Add client setting to not display guest lobby position
@ramonlsouza ramonlsouza added this to the Release 3.0 milestone Jun 19, 2026
@coderabbitai

coderabbitai Bot commented Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

This PR introduces three independent changes. First, a new showGuestLobbyWaitingQueuePosition boolean setting (defaulting to true) is added across settings.yml, the Public TypeScript interface, initial values, and the GuestWait component, which now gates both the position state update and the position UI element behind this flag. Second, getFirstVisibleLineHtml in the chat service is rewritten to use a recursive DOM-mutating helper (truncateAtFirstLineBreak) instead of a whitelist/reverse-iteration approach, with a new Playwright test covering reply previews for messages containing text before a link. Third, raiseHand detection in VideoListItem is extended to the AUDIO_ONLY video type, a data-test attribute is added to the raise-hand element, and a Playwright regression test verifies the indicator on audio-only tiles in UNIFIED_LAYOUT.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Suggested reviewers

  • Tainan404
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore: BigBlueButton 3.0.31 iteration' accurately describes the pull request as an iteration/chore consolidation of three previously reviewed changes for the 3.0.x release branch.
Description check ✅ Passed The description is related to the changeset, providing context about the iteration, listing included PRs, and inviting community feedback on prioritization.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch v3.0.x-develop

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 and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 `@bigbluebutton-html5/imports/ui/components/chat/chat-graphql/service.ts`:
- Around line 10-13: The early return for whitespace-only text nodes occurs
before checking for newline characters, which prevents newline-only nodes from
being treated as line breaks. Reorder the checks so that the search for newline
characters using indexOf('\n') happens before the whitespace trimming check,
ensuring that text nodes containing only a newline character are correctly
identified as visual line breaks when white-space: pre-wrap is applied, rather
than being dismissed as non-visual formatting markup.
🪄 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: 3e45a056-14d6-453f-879e-3db8bd2daac1

📥 Commits

Reviewing files that changed from the base of the PR and between 036fd0b and 04df937.

⛔ Files ignored due to path filters (1)
  • bigbluebutton-tests/playwright/core/media/fakespeech.wav is excluded by !**/*.wav
📒 Files selected for processing (15)
  • bigbluebutton-html5/imports/ui/Types/meetingClientSettings.ts
  • bigbluebutton-html5/imports/ui/components/chat/chat-graphql/service.ts
  • bigbluebutton-html5/imports/ui/components/join-handler/guest-wait/component.tsx
  • bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/component.tsx
  • bigbluebutton-html5/imports/ui/core/initial-values/meetingClientSettings.ts
  • bigbluebutton-html5/private/config/settings.yml
  • bigbluebutton-tests/playwright/chat/chat.spec.ts
  • bigbluebutton-tests/playwright/chat/messageActions.ts
  • bigbluebutton-tests/playwright/core/elements.ts
  • bigbluebutton-tests/playwright/core/settings.ts
  • bigbluebutton-tests/playwright/core/setup/browsersConfig.ts
  • bigbluebutton-tests/playwright/user/multiusers.ts
  • bigbluebutton-tests/playwright/user/user.spec.ts
  • docs/docs/administration/customize.md
  • docs/docs/new-features.md

Comment on lines +10 to +13
// whitespace-only nodes are markup formatting between elements, not a visual break
if (!text.trim()) return false;
const newlineIndex = text.indexOf('\n');
if (newlineIndex === -1) return false;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Treat newline-only text nodes as line breaks.

Line 11 returns early for whitespace-only text before checking \n. With white-space: pre-wrap, a "\n"-only node is still a visual line break, so second-line content can remain in the preview.

Suggested fix
   if (node.nodeType === Node.TEXT_NODE) {
     const text = node.textContent || '';
-    // whitespace-only nodes are markup formatting between elements, not a visual break
-    if (!text.trim()) return false;
     const newlineIndex = text.indexOf('\n');
     if (newlineIndex === -1) return false;
     // eslint-disable-next-line no-param-reassign
     node.textContent = text.slice(0, newlineIndex);
     return true;
   }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
// whitespace-only nodes are markup formatting between elements, not a visual break
if (!text.trim()) return false;
const newlineIndex = text.indexOf('\n');
if (newlineIndex === -1) return false;
if (node.nodeType === Node.TEXT_NODE) {
const text = node.textContent || '';
const newlineIndex = text.indexOf('\n');
if (newlineIndex === -1) return false;
// eslint-disable-next-line no-param-reassign
node.textContent = text.slice(0, newlineIndex);
return true;
}
🤖 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 `@bigbluebutton-html5/imports/ui/components/chat/chat-graphql/service.ts`
around lines 10 - 13, The early return for whitespace-only text nodes occurs
before checking for newline characters, which prevents newline-only nodes from
being treated as line breaks. Reorder the checks so that the search for newline
characters using indexOf('\n') happens before the whitespace trimming check,
ensuring that text nodes containing only a newline character are correctly
identified as visual line breaks when white-space: pre-wrap is applied, rather
than being dismissed as non-visual formatting markup.

@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@ramonlsouza
ramonlsouza merged commit fe27b83 into v3.0.x-release Jun 19, 2026
71 of 72 checks passed
@sonarqubecloud

Copy link
Copy Markdown

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.

2 participants