Repository navigation
Merge new design into v3.1.x-release - #22004
Conversation
…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.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
…e user list button
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.
Automated tests Summary⏳ Tests are running... |
|
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
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.




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:
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