Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix custom highlighting of field values in the message details of the message table widget. 6.1 #21005

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

linuspahl
Copy link
Contributor

Please note: this PR is a backport of #20921 for 6.1.

Description

Motivation and Context

Before this change the highlighting of field values in the message details of the message table widget was broken.

This happened because the whole field row (dt) was wrapped with CustomHighlight. As a result the font color got applied for both the field name and value. The background color also got applied for the whole row, but was not visible because of the related DOM structure.

For dark highlight colors a light font color will be generated and the row looked empty.
image

This PR is fixing the issue by only wrapping the field value with CustomHighlight.

I tested this change with decorators and extended our e2e tests.

Fixes: #18388

@linuspahl linuspahl marked this pull request as ready for review November 20, 2024 09:49
@dennisoelkers dennisoelkers merged commit b5c0dcc into 6.1 Nov 20, 2024
5 of 6 checks passed
@dennisoelkers dennisoelkers deleted the issue-18388-6.1 branch November 20, 2024 12:23
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.

2 participants