Skip to content

Merge new design into v3.1.x-release - #22004

Merged
antobinary merged 74 commits into
bigbluebutton:v3.1.x-releasefrom
lfzawacki:v3.1.x-release
Jan 29, 2025
Merged

antobinary merged 74 commits into
bigbluebutton:v3.1.x-releasefrom
lfzawacki:v3.1.x-release

Conversation

@lfzawacki

@lfzawacki lfzawacki commented Jan 15, 2025 •

Copy link
Copy Markdown
Contributor

This is all the design changes that Mconf has been working on in the last few months.

The commits implement these design featues, in order:

  • New chat design
  • New icons
  • New navigation sidebar
  • Widget/App gallery
  • Profile panel
  • New settings panel
  • New learning dashboard button
  • New guest management panel
  • New user list
  • Media area button
  • New navigation bar
  • Remove action bar button

The design is not 100% decided and there are a lot of things we still need to correct, but in the next few days we'll work on consolidating it and fixing the tests and checks so that this branch gets up to par with the quality in v3.0.x

lfzawacki and others added 30 commits January 15, 2025 16:21
…debar

- Removes layout context actions related to resizing and embedding
panels in the sidebar, as the new sidebar navigation no longer
supports these features.
- Removes some of the layout context actions related to the sidebar
navigation, since the new sidebar navigation does not support resizing nor
embedding panels.
- Adapts the sidebar navigation basic functions(i.e. height, width and
bounds calculation) to align with the new design.
- Adds new default values for sidebar navigation width, height and horizontal
margin, including versions for mobile endpoints.
Removes unused and removed in the previous commit, reference to the
sidebar navigation panel.
port components to Typescript

- Refactors the sidebar navigation component, removing the resizer
  wrapper component (no longer supports resizing).
- Moves components rendered in the user list content to the sidebar
  navigation component.
- Ports those components to Typescript and fixed some type erros.
- Centralizes the styles for sidebar navigation buttons.
- Adds placeholder buttons for panels that are not yet implemented.
Introduces two new actions in the layout context, enabling widgets to be
pinned to the navigation sidebar. For a widget to be pinned, it must first
be registered in the layout context, which maps the widget name to the
component rendered in the navigation sidebar when pinned.

By default, three widgets are registered: polls, breakouts and timer.
Polls and breakouts start pinned.
Ports timer button components to Typescript and transform to functional
components. Define interfaces for props, cleanup of unused ones and
change the component ui to match the new sidebar navigation style.
Enhance the spacing between the navigation sidebar buttons using gap css
property. Adds a common notification indicator to the sidebar button
component and properly adjusts shared notes and chat to use it.
Adds new design icons to the font files and adjusts the icon colors to
match the one from the new design mocks.
Extracts the styles of the new design sidebar content panel from the
chat into a shared class in sidebar content. Additionally, migrates
sidebar content files to typescript, fix some type errors, add types and
remove unused props.
Refactors the layout context widgets handling code so that plugins can
just be pulgged into this mechanism and to handle correctly the
localization of widgets.
Adds the widgets gallery panel content, where the registered widgets are
displayed as items, which can be pinned and unpined from the sidebar.
Additionally, also implements a warning modal that shows up when the
user has reached the maximum number of pinned widgets.
Adds icon for questions and updates icons for timer and pin/unpin.
Renames all occurrences of 'widgets' to 'apps' to align with the design mocks,
where 'widgets' are refere to as 'apps'.
New setting in settings.yml:

audioCaptions.terms: a link can be set for each language and it will be shown in a label when enabling transcription in the profile settings.
Adds header and correct padding to panels' content.
Automatically activates timer feature when its panel is opened.
Opens the breakout rooms creation modal when the breakout rooms panel is
opened end there is no breakouts currently going on. Additionally,
adjusts the conditions to register/unregister the breakout rooms app to
correctly reflect this new behavior for moderators and viewers.
Opens the learning dashboard page in another tab when the sidebar button
is clicked.
@coderabbitai

coderabbitai Bot commented Jan 15, 2025 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

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

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.

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


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Arthurk12 and others added 8 commits January 17, 2025 18:58
Fixes the color of the outline from public and private chat buttons.
Removes some unused directories from components that were replaced with
the new design such as the old chat user messages and the old user-list.
Additionally moved the components that were still in use from the user
messages to a more meaningful folder.
Prevents from listing private chats while the information about last
message and last timestamp is not fetched. This way the private chats
are not listed with 'error' or 'invalid date' in those fields.
Show in the private chats list only chats with at least one message.
Correctly set the chat id selected from the private chats list and also
update the parent component to update chat list.
Remove the media button from the conditionals of the presentation
button.
A missing prop caused the shared notes to be rendered in two places when
pinned; shared notes panel and in the presentation area. The effect is
that it prompted users to reconnect every time the sidebar panel was
toggled.
@lfzawacki
lfzawacki marked this pull request as ready for review January 21, 2025 17:39
AtilaU19 and others added 4 commits January 21, 2025 18:50
Closing the user profile via the `X` button currently causes the
selected camera to be shared. This has been a source of friction.

Disable camera share when closing the modal until the UI/UX for it is
fully figured out.
@github-actions

Copy link
Copy Markdown

Automated tests Summary

⏳ Tests are running...

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
3.4% Duplication on New Code (required ≤ 3%)
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@antobinary antobinary added this to the Release 3.1 milestone Jan 22, 2025
@antobinary
antobinary merged commit 587fb05 into bigbluebutton:v3.1.x-release Jan 29, 2025
ramonlsouza pushed a commit that referenced this pull request Sep 3, 2026
The 4.0 user-list rewrite (c15af69, #22004) replaced the old
user-actions menu with list-item/service.ts and dropped the
`lockChat` entry. Everything behind it survived: the
`userSetUserLockSettings` Hasura action, the graphql-actions handler,
`ChangeUserLockSettingsInMeetingCmdMsg` in akka-apps, the
user_lockSettings table, the SET_USER_CHAT_LOCKED client mutation,
the intl strings and the "Locked" badge. Only the menu item that
called it was gone, so moderators lost the ability to silence a
single spamming viewer without locking public chat for everyone.

Wire the existing mutation back into the participants list item:

- expose `setUserChatLocked` from useUserOperations
- add `allowedToLockPublicChat` with the 3.0 gate (chat enabled,
  moderator acting on a non-moderator, not dial-in or bot), which
  does not require a meeting-wide lock setting to be active
- add the `lockChat` toolbar option toggling
  `userLockSettings.disablePublicChat`, data-test `togglePublicChat`

Add a Playwright regression test (moderator locks and unlocks one
viewer's public chat, viewer input disables/enables, row shows the
locked label) and the matching release-testing catalog entry.

Closes #25738
antobinary added a commit that referenced this pull request Nov 3, 2026
public.app.dynamicGuestPolicy, public.app.guestPolicyExtraAllowOptions
and public.app.alwaysShowWaitingRoomUI still ship in settings.yml and
are mirrored in Types/meetingClientSettings.ts and
core/initial-values/meetingClientSettings.ts, but no code on this branch
reads any of them. All three lost their last reader when the guest
management panel was redesigned for 3.1/4.0:

- dynamicGuestPolicy (b4e609f, 2021) gated the "Remember choice"
  checkbox of the waiting-users panel and the "Guest policy" entry of
  the user-list menu. The checkbox gate went with the old panel
  (4dbe3f1) and the menu gate with the user-list cleanup
  (2e0b519), both in #22004. The new panel always offers the
  checkbox, and the guest-policy chooser, now in the lock-viewers
  modal, does not consult the key.

- guestPolicyExtraAllowOptions (#17034; default false since
  1e08c28 for 2.7.0-beta.3) hid the "Allow all authenticated users"
  and "Allow all guests" buttons of the old panel. Its reader went with
  4dbe3f1. The replacement panel (c82d40a) shows the per-group
  Allow all / Deny all buttons unconditionally, so the shipped
  behaviour has matched `true` since then. The old button's other
  effect, setting ALWAYS_ACCEPT_AUTH when "Remember choice" was ticked,
  no longer exists in the client either.

- alwaysShowWaitingRoomUI (d4a424c, 2022) hid the waiting-users
  opener while nobody was waiting. Its reader went with d27b0c7
  (#22125). The new panel shows the waiting section whenever the
  policy is ASK_MODERATOR or someone is waiting.

Behaviour does not change; only the client-settings catalog does. An
/etc/bigbluebutton/bbb-html5.yml that still carries one of these keys
is reported as an unknown key by the client-settings validator: a
warning by default, a refused bbb-apps-akka start only with
clientSettingsOverrideStrictValidation=true.

v3.0.x-develop still reads all three keys through the old panel and is
left as is.
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.

7 participants