Skip to content

Live visitor log panel change padding for search referrer #20293

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

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

JackySw
Copy link
Contributor

@JackySw JackySw commented Jan 31, 2023

The padding should be on the bottom not on top. The search engine referrer looks that way if it is part of the next row. By adding the padding on the bottom instead on top, it is in line with the other properties of that visit, then a white space and then the next row as it should.

Padding should be on the bottom not on top.
@JackySw JackySw changed the title Update live.less Live visitor log panel change padding for search referrer Jan 31, 2023
@sgiehl sgiehl added the Needs Review PRs that need a code review label Jan 31, 2023
@JackySw
Copy link
Contributor Author

JackySw commented Jan 31, 2023

I realize this is only an issue when there are multiple single page visits after each other. Because when multiple pages are visited, that already makes the row high enough. But with single pages, the search referrer (in this case all Google) looks to be part of the next row:

padding

Copy link
Contributor

@bx80 bx80 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @JackySw, it definitely improves readability 👍

@bx80 bx80 merged commit 30e8d83 into matomo-org:4.x-dev Feb 1, 2023
@sgiehl
Copy link
Member

sgiehl commented Feb 2, 2023

I'll revert this one. It actually causes regression in some places where the padding is expected.

@bx80 Didn't you have a look at the UI test results before merging. There are actually a lot regressions/changes there: https://builds-artifacts.matomo.org/matomo-org/matomo/4.x-dev/4073665712/

@JackySw Feel free to recreate the PR. I guess instead of changing the existing CSS, we might need to add another more specific selector, which only changes it in the widget where it looks incorrect. If you can't find a proper selector feel free to open a bug report instead, so we will have a look at it at some point.

sgiehl added a commit that referenced this pull request Feb 2, 2023
sgiehl added a commit that referenced this pull request Feb 2, 2023
@sgiehl sgiehl added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. and removed Needs Review PRs that need a code review labels Feb 2, 2023
@JackySw
Copy link
Contributor Author

JackySw commented Feb 2, 2023

Ok I understand, maybe it was a too easy fix. I will dive in deeper to understand the relation to other parts of these rows. I still think it has to change, because it's not correct that the search referrer is visually part of the row/visit below it.

@bx80
Copy link
Contributor

bx80 commented Feb 2, 2023

@sgiehl Sorry about that, I definitely did check the UI test results and there were no failed UI tests shown (which in hindsight should have been suspicious). Could there be some caching / latency issue with the build artifacts server?

@sgiehl
Copy link
Member

sgiehl commented Feb 3, 2023

@bx80 Looks like for some reason the screenshots for the commits in the PR where not uploaded at all. See https://github.com/matomo-org/matomo/actions/runs/4055589262/jobs/6990587437#step:3:1517
Might be a problem with PRs coming from other repos. We need to check if that occurs again and then look for a possible solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Development

Successfully merging this pull request may close these issues.

3 participants