Skip to content

[stable34] fix(cards): keep card color on clone and use contrasting text color - #8733

Merged
mejo- merged 1 commit into
stable34from
backport/8731/stable34
Nov 11, 2026
Merged

mejo- merged 1 commit into
stable34from
backport/8731/stable34

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Backport of #8731

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Pass the card color through when duplicating a card so the copy keeps it.

On cards with a custom background color, pick black or white text based
on the background's lightness, as is already done for tags, and apply it
to muted text and badges on the card as well.

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: ClaudeCode:claude-opus-5-5
@mejo-
mejo- force-pushed the backport/8731/stable34 branch from 513c97b to b997905 Compare November 11, 2026 10:55
@mejo- mejo- changed the title [stable34] [stable35] fix(cards): keep card color on clone and use contrasting text color [stable34] fix(cards): keep card color on clone and use contrasting text color Nov 11, 2026
@mejo-
mejo- marked this pull request as ready for review November 11, 2026 10:55
@mejo-
mejo- enabled auto-merge November 11, 2026 10:56
@github-actions

Copy link
Copy Markdown
Contributor

🐢 Performance warning.
It looks like the query count of the integration tests increased with this PR.
Database query count is now 97671 was 93102 (+4.9%)
Please check your code again. If you added a new test this can be expected and the base value in tests/integration/base-query-count.txt can be increased.

@mejo-
mejo- merged commit 514b72a into stable34 Nov 11, 2026
46 checks passed
@mejo-
mejo- deleted the backport/8731/stable34 branch November 11, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant