Skip to content

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

Merged
mejo- merged 1 commit into
stable35from
backport/8726/stable35
Nov 11, 2026
Merged

mejo- merged 1 commit into
stable35from
backport/8726/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Backport of #8726

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/8726/stable35 branch from ae375dc to 1baa862 Compare November 11, 2026 10:50
@mejo-
mejo- marked this pull request as ready for review November 11, 2026 10:52
@mejo-

mejo- commented Nov 11, 2026

Copy link
Copy Markdown
Member

/backport! to stable34

@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 199355 was 198420 (+0.47%)
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- disabled auto-merge November 11, 2026 13:09
@mejo-
mejo- merged commit 351fe17 into stable35 Nov 11, 2026
46 of 48 checks passed
@mejo-
mejo- deleted the backport/8726/stable35 branch November 11, 2026 13:09
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