Skip to content

fix(video-provider): show raised hand indicator on audio-only tiles - #25280

Merged
ramonlsouza merged 4 commits into
bigbluebutton:v3.0.x-developfrom
ramonlsouza:bp-25220
Jun 18, 2026
Merged

ramonlsouza merged 4 commits into
bigbluebutton:v3.0.x-developfrom
ramonlsouza:bp-25220

Conversation

@ramonlsouza

Copy link
Copy Markdown
Member

What does this PR do?

ports #25220 changes to BBB 3.0:

Raising your hand draws the ✋ indicator (with queue position) on your video tile, but it was missing on audio-only tiles — the placeholder tiles shown for users who joined with audio only (when showAudioOnlyOnFirstPage is enabled). The hand still appeared in the participants list, just never on the tile itself.

The raiseHand flag was only computed for GRID and STREAM tiles; the AUDIO_ONLY case was missing, so the indicator was suppressed.

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 bigbluebutton#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: bigbluebutton#25169
@ramonlsouza ramonlsouza added this to the Release 3.0 milestone Jun 16, 2026
@coderabbitai

coderabbitai Bot commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 8a57eb92-a122-4ae4-b467-66bd5ff1c625

📥 Commits

Reviewing files that changed from the base of the PR and between 818339f and a33e4cb.

📒 Files selected for processing (1)
  • bigbluebutton-tests/playwright/core/setup/browsersConfig.ts
💤 Files with no reviewable changes (1)
  • bigbluebutton-tests/playwright/core/setup/browsersConfig.ts

Walkthrough

The video list item component's raiseHand boolean detection is extended to cover VIDEO_TYPES.AUDIO_ONLY streams by reading stream.user?.raiseHand. The Styled.RaiseHand element receives a new data-test="webcamItemRaisedHand" attribute for test selection. On the test side, two new selector entries (webcamItem, webcamItemRaisedHand) are added to the elements map; Settings gains an optional showAudioOnlyOnFirstPage flag populated from kurento.cameraSortingModes; the Chromium browser config adds fake audio capture support; and a new MultiUsers.raiseHandIndicatorOnAudioOnlyTile() Playwright test method verifies the raised-hand indicator appears on exactly one audio-only tile after an attendee joins audio, speaks, and raises their hand.

Sequence Diagram

sequenceDiagram
  participant Spec as user.spec.ts
  participant MultiUsers as MultiUsers
  participant modPage as Moderator Page
  participant attPage as Attendee Page

  Spec->>MultiUsers: raiseHandIndicatorOnAudioOnlyTile()
  MultiUsers->>modPage: read settings.showAudioOnlyOnFirstPage
  alt disabled
    MultiUsers-->>Spec: test.skip()
  end
  MultiUsers->>attPage: join audio, unmute, speak
  MultiUsers->>attPage: raise hand
  MultiUsers->>modPage: assert webcamItemRaisedHand count === 1
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • Arthurk12
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'fix(video-provider): show raised hand indicator on audio-only tiles' accurately summarizes the main change—adding support for displaying the raised hand indicator on audio-only tiles.
Description check ✅ Passed The description clearly explains the problem (raised hand indicator missing on audio-only tiles) and solution (extending raiseHand detection to VIDEO_TYPES.AUDIO_ONLY), directly relating to the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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 unit tests (beta)
  • Create PR with unit tests

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.

@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@ramonlsouza
ramonlsouza merged commit c3c33c5 into bigbluebutton:v3.0.x-develop Jun 18, 2026
60 of 61 checks passed
@sonarqubecloud

Copy link
Copy Markdown

@ramonlsouza ramonlsouza mentioned this pull request Jun 19, 2026
3 tasks done
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