Skip to content

feat(lock-viewers): reorder tabs to show participant permissions first - #25317

Merged
ramonlsouza merged 1 commit into
bigbluebutton:v4.0.x-developfrom
germanocaumo:swap-order-permissions
Jun 25, 2026
Merged

ramonlsouza merged 1 commit into
bigbluebutton:v4.0.x-developfrom
germanocaumo:swap-order-permissions

Conversation

@germanocaumo

Copy link
Copy Markdown
Contributor

What does this PR do?

Reorders the tabs in the "Permissions and Policies" modal so that Participant Permissions appears first, followed by Guest Policy and Presentation Policy.

Closes Issue(s)

Closes #25290

Motivation

Participant Permissions is the most frequently accessed section in the modal. Placing it first reduces the number of clicks needed to reach it.

How to test

  1. Join a meeting as moderator
  2. Open the Permissions and Policies modal
  3. Verify the tab order is: Participant Permissions → Guest Policy → Presentation Policy
  4. Verify that Participant Permissions is selected by default when the modal opens
  5. Confirm all three tabs still work correctly

Move "Participant Permissions" to be the first tab in the Permissions
and Policies modal, followed by "Guest Policy" and "Presentation Policy".

Participant permissions is the most frequently accessed section, so
placing it first reduces the number of clicks needed to reach it.
@coderabbitai

coderabbitai Bot commented Jun 23, 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: fb8bdf11-9897-4411-b9a4-7ee4f7004cba

📥 Commits

Reviewing files that changed from the base of the PR and between 7ba2ac8 and 66c77f0.

📒 Files selected for processing (1)
  • bigbluebutton-html5/imports/ui/components/lock-viewers/component.jsx

Walkthrough

In LockViewersComponent's render() method, the order of two settings tabs is swapped: participantPermissionsTab is moved before guestPolicyTab in the tabs array. The corresponding Styled.SettingsTabPanel render order is updated in lockstep so the first panel renders renderParticipantPermissionsTab() and the second renders renderGuestPolicyTab().

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: reordering tabs to show participant permissions first in the lock-viewers component.
Description check ✅ Passed The description is directly related to the changeset, explaining what was reordered, why, and providing test steps to verify the changes.
Linked Issues check ✅ Passed The PR successfully implements the requirement from issue #25290 by reordering the tabs to display Participant Permissions first, followed by Guest Policy and Presentation Policy.
Out of Scope Changes check ✅ Passed All changes in the PR are in-scope, affecting only the tab order in the lock-viewers component as required by issue #25290.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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.

@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@ramonlsouza ramonlsouza added this to the Release 4.0 milestone Jun 25, 2026
@ramonlsouza
ramonlsouza merged commit 7324cd3 into bigbluebutton:v4.0.x-develop Jun 25, 2026
35 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