matomo icon indicating copy to clipboard operation
matomo copied to clipboard

[Bug] Header background color affects Cohorts report

Open goochj03 opened this issue 1 year ago • 2 comments

What happened?

Setting a custom color for the header background in the White Label section, also adjusts the text/columns of the Cohorts report. Administration(cog icon) > System > General Settings > White Label.

If you have a white header background set, the text of that report is not viewable unless you highlight the text.

For example:

image image

What should happen?

Only the color of the theme/dashboard header should change.

How can this be reproduced?

Try changing the color of the header in Administration(cog icon) > System > General Settings > White Label then check the Cohorts report. This could only be reproduced in Matomo cloud.

Matomo version

5.0.2

PHP version

No response

Server operating system

No response

What browsers are you seeing the problem on?

Firefox, Chrome, Microsoft Edge

Computer operating system

No response

Relevant log output

No response

Validations

goochj03 avatar Feb 08 '24 23:02 goochj03

@goochj03 Does that only happen for Cohort reports or any other report as well? If it only affect Cohorts, please create an internal issue instead, as it only involves Premium plugins.

sgiehl avatar Feb 09 '24 09:02 sgiehl

Good catch @goochj03 , we'll have to look into this. Great edge case. As Stefan asked, kindly confirm if it's only for Cohorts or whether this happens on other places as well. I'm aware we recently changed this for Cohorts so we'll adjust that, but I imagine there could be other reports that use theme based color coding as well.

Stan-vw avatar Feb 16 '24 06:02 Stan-vw

This is fixed in https://github.com/innocraft/plugin-Cohorts/pull/81

Stan-vw avatar Mar 11 '24 08:03 Stan-vw