Skip to content

fix: a series of UI adjustments and adaptations in the interaction between userdata and UI commands with the new UI. - #22204

Merged
prlanzarin merged 10 commits into
bigbluebutton:v3.1.x-releasefrom
Arthurk12:design-corrections-1
Feb 12, 2025
Merged

prlanzarin merged 10 commits into
bigbluebutton:v3.1.x-releasefrom
Arthurk12:design-corrections-1

Conversation

@Arthurk12

@Arthurk12 Arthurk12 commented Feb 6, 2025 •

Copy link
Copy Markdown
Member

What does this PR do?

This PR is a compilation of UI enhancements:

  • Joins the user list and the guests management into one scroll section to improve the UX in the panel

  • Adjusts the label of the crowd actions button, limit its size and add tooltip for more detailed description

  • Changes border colors to increase contrast in the UI, allowing for better accessibility

  • Changes a bunch of styles for dark theme to ensure that the color scheme has good contrast and looks good

  • Adds missing tooltip to the pin/unpin button in the apps gallery

Also this PR fixes some inconsistencies that might happen due to the interaction between the new UI and userdata or ui commands from plugins:

  • fix(navigation-sidebar): prevent plugins from changing its state
    Since the navigation sidebar is not colapsable anymore, it can't be closed or opened by other sources. Otherwise it can't be reopened.

  • fix(sidebar): update 'bbb_show_participants_on_login' behavior
    The userdata 'bbb_show_participants_on_login' was used to open the navigation
    sidebar in versions <=3.0, where the participants list was located. In version
    3.1, the participants list was moved to a separate panel, and the navigation
    sidebar is no longer collapsible. Now, 'bbb_show_participants_on_login'
    controls whether the user list panel opens on login.

    Additionally, the userdata 'bbb_show_public_chat_on_login' determines
    whether the chat panel opens first and now it takes precedence over
    'bbb_show_participants_on_login'. If both are true, the chat panel will
    be opened by default. To mimic the previous behavior when
    'bbb_show_participants_on_login' was set to true(where no panel is
    opened on login), set both 'bbb_show_participants_on_login' and
    'bbb_show_public_chat_on_login' to false (or their analogous flags in
    the settings.yml file).

    The ideal solution would be to consolidate these userdatas into one
    that defines the initial open panel(where sending nothing means closed).

    Changes the default settings flag
    'public.layout.showParticipantsOnLogin' to false, so the default panel
    is opening the chat.

Additionally, adds a commit that went missing from previous PRs:

@Arthurk12
Arthurk12 requested a review from lfzawacki February 6, 2025 01:02
@coderabbitai

coderabbitai Bot commented Feb 6, 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.

@antobinary antobinary added this to the Release 3.1 milestone Feb 6, 2025
@Arthurk12
Arthurk12 force-pushed the design-corrections-1 branch from 3e51e79 to 3f2e706 Compare February 6, 2025 19:31
@Arthurk12
Arthurk12 requested a review from lfzawacki February 6, 2025 19:32
@github-actions

Copy link
Copy Markdown

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

Joins the user list and the guest management into one scrollable section
to enhance the panel UX.
Changes the style of the label of the buttons in the bottom of the user
list panel to match the correct size and color.
Adds maximum height to those buttons, text overflow to its labels and
tooltip with more detailed description in case the label is not entirely
shown.
Changes mute all except presenter locale to something shorter.
Changes border colors to new color defined by the design team.
Since the navigation sidebar is not colapsable anymore, it can't be
closed or opened by other sources. Otherwise it can't be reopened.
The userdata 'bbb_show_participants_on_login' was used to open the navigation
sidebar in versions <=3.0, where the participants list was located. In version
3.1, the participants list was moved to a separate panel, and the navigation
sidebar is no longer collapsible. Now, 'bbb_show_participants_on_login'
controls whether the user list panel opens on login.

Additionally, the userdata 'bbb_show_public_chat_on_login' determines
whether the chat panel opens first and now it takes precedence over
'bbb_show_participants_on_login'. If both are true, the chat panel will
be opened by default. To mimic the previous behavior when
'bbb_show_participants_on_login' was set to true(where no panel is
opened on login), set both 'bbb_show_participants_on_login' and
'bbb_show_public_chat_on_login' to false (or their analogous flags in
the settings.yml file).

The ideal solution would be to consolidate these userdatas into one
that defines the initial open panel(where sending nothing means closed).

Changes the default settings flag
'public.layout.showParticipantsOnLogin' to false, so the default panel
is opening the chat.
Adds a backdrop to the sidebar navigation and sidebar panel so that they
hide the things behind. This started as a fix for the warning banner but
turned out to be a bigger thing as it also adds a minimum margin between
the sidebar panel and the media area. Additionaly it enhances the
sidebar navigation for mobile by putting a little shadow box so that the
floating effect is more realistic and also fixes the toggle button to
hide only the navigation sidebar.
Adds '!important' to the dark reader css variables, so that the library
doesn't mess up the color scheme.
Additionally, fixes the color of the increase and decrease font size in
the settings pannel, that were not being correctly inverted.
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Automated tests Summary

✅ All the CI tests have passed!

@prlanzarin
prlanzarin merged commit add75c1 into bigbluebutton:v3.1.x-release Feb 12, 2025
lfzawacki pushed a commit to lfzawacki/bigbluebutton that referenced this pull request Feb 21, 2025
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.

4 participants