Skip to content

fix(whiteboard): keep the yellow fill colors in the palette override - #26400

Merged
antobinary merged 1 commit into
bigbluebutton:v4.0.x-developfrom
germanocaumo:fix-whiteboard-yellow-fill
Nov 5, 2026
Merged

antobinary merged 1 commit into
bigbluebutton:v4.0.x-developfrom
germanocaumo:fix-whiteboard-yellow-fill

Conversation

@germanocaumo

Copy link
Copy Markdown
Contributor

What does this PR do?

Keeps the tldraw yellow fill colors when the whiteboard palette is overridden. setupColorThemePaletteOverrides now sets only the yellow solid and highlight colors, as it already does for the black highlight, instead of replacing the whole yellow entry.

Closes Issue(s)

None.

Motivation

The palette override from #24165 replaces the whole yellow entry, which drops its semi and pattern colors. Yellow shapes with a solid or pattern fill are then drawn black.

How to test

  1. Draw a rectangle with the yellow color and the solid fill, and another with the pattern fill.
  2. Before: both fills are black. After: they use the tldraw yellow fill colors (#f9f0e6 and #fecb92).
  3. Yellow outlines, notes and highlights stay #FFFF00 in both.
Before After
yellow solid and pattern fills drawn black yellow solid and pattern fills with the tldraw yellow colors

More

Changelog

Technical — setupColorThemePaletteOverrides sets only the yellow solid and highlight colors instead of replacing the yellow palette entry.
User-facing — Yellow shapes with a solid or pattern fill are no longer drawn black on the whiteboard.

setupColorThemePaletteOverrides replaces the whole yellow palette entry,
which drops its semi and pattern colors. Yellow shapes with a solid or
pattern fill are drawn black.

Those shapes get the tldraw yellow fill colors back, while strokes,
notes and highlights keep the more vibrant yellow.

Set only the yellow solid and highlight colors, as is done for the
black highlight.
@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

setupColorThemePaletteOverrides now updates the solid and highlight properties on the existing yellow palette entries for light and dark modes. The assigned values remain unchanged. Other properties on those entries are retained.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix

Suggested reviewers: ramonlsouza

Merge Risk: Minimal · up to 6575a

The change preserves yellow fill colors while retaining the existing outline and highlight overrides. No merge-blocking issue is identified; merge after normal checks pass.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly identifies the whiteboard palette fix and matches the main change.
Description check Passed The description explains the palette issue, the code change, the user impact, and the test procedure.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.

Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1169809c-750d-4aa3-bb92-eb37ae591e5e
Commits

Reviewing files that changed from the base of the PR and between d491dd3 and 6575a08.

Files selected for processing: 1
  • bigbluebutton-html5/imports/ui/components/whiteboard/service.js

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

✅ Automated tests have passed!

@antobinary antobinary added this to the Release 4.0 milestone Nov 4, 2026
@antobinary
antobinary merged commit 699669a into bigbluebutton:v4.0.x-develop Nov 5, 2026
34 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