Skip to content

feat(actions-bar): add color property to ActionsBarButton#253

Merged
antobinary merged 1 commit intobigbluebutton:v0.0.xfrom
BrentBaccala:add-color-to-actions-bar-button
Apr 2, 2026
Merged

feat(actions-bar): add color property to ActionsBarButton#253
antobinary merged 1 commit intobigbluebutton:v0.0.xfrom
BrentBaccala:add-color-to-actions-bar-button

Conversation

@BrentBaccala
Copy link
Copy Markdown

Summary

  • Add optional color property to ActionsBarButtonProps and ActionsBarButton
  • Defaults to 'primary' for backward compatibility
  • Follows the same pattern as textColor in UserListDropdownInformation and backgroundColor in FloatingWindow

Motivation

Companion change to bigbluebutton/bigbluebutton#24719, which reads plugin.color in the HTML5 client's actions bar rendering. Without this SDK change, plugins must cast to any to set the color property.

Use case: a remote desktop plugin uses button color to indicate lock/unlock state — blue ('primary') when unlocked, neutral ('default') when locked.

Test plan

  • Existing plugins that don't set color should be unaffected (defaults to 'primary')
  • A plugin setting color: 'default' should pass the value through to the HTML5 client

This PR was researched and written by an AI assistant (Claude) on behalf of Brent Baccala (cosine@freesoft.org), based on a review request from @GuiLeme on bigbluebutton/bigbluebutton#24719.

Add an optional `color` property to `ActionsBarButtonProps` and
`ActionsBarButton`, defaulting to 'primary'. This allows plugins to
specify button color variants (e.g., 'default' for a neutral button).

Companion change to bigbluebutton/bigbluebutton#24719, which reads
`plugin.color` in the HTML5 client's actions bar rendering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@welcome
Copy link
Copy Markdown

welcome bot commented Apr 2, 2026

Thank you for this contribution! Could you please confirm if you already sent in the signed Contributor License Agreement? See https://docs.bigbluebutton.org/support/faq.html#why-do-i-need-to-sign-a-contributor-license-agreement-to-contribute-source-code Thanks in advance!

Copy link
Copy Markdown
Collaborator

@GuiLeme GuiLeme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

demo-actions-bar-color-change.mp4

Reviewed the code tested it locally, it looks good. Now we wait for the merge of this PR and after this is merged we update the SDK version so we can use it in the PR from the core. Thanks for the contribution, @BrentBaccala.

@antobinary antobinary merged commit 76f951b into bigbluebutton:v0.0.x Apr 2, 2026
4 checks passed
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.

3 participants