-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Reenable menu shadow for reporting menu #21689
Conversation
19c8a58
to
73ec693
Compare
The CSS tweaks I've added should help a lot around UI tests regarding the menu shadow being visible and also around the free space visible on some screens, when the menu is higher than the reports. @matomo-org/core-reviewers @AltamashShaikh @snake14 Would you mind taking a quick look at the changes and share your opinion? |
The changes in general look ok. As commented above, we can do I'm not a big fan of having values like 9px or 18px (not on 4, or even better, 8px grid), but that's a discussion for another time. |
d2b2e5c
to
16dc6b8
Compare
962a811
to
7c33493
Compare
bb91b0e
to
1ecd276
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code change looks good. Some more UI test screenshots need updating.
I've now created PRs for the submodules where the UI tests were failing. Guess we should merge them and update the submodules in this PR before merging. The remaining failing UI tests are unrelated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good for me but would be good to get another 👀 from @matomo-org/core-reviewers
…overlap in UI tests
…elements is fully visible in tests
Co-authored-by: Marc Neudert <marc@innocraft.com>
@AltamashShaikh @snake14 I'm going to merge this PR now. It will most likely cause a lot of failures in UI tests of plugins. All tests taking a screenshot of the pageWrap element will get (a bit) smaller. But the changes in this PR will also prevent that parts of the menu shadow will be visible on such screenshots (so any hacks around that will no longer be needed). Also the height of the pageWarp element isn't impacted by the menu height anymore. This should make those UI tests a bit more stable and more independent from changes in core. |
Thank you @sgiehl . That's great news. I've been hoping this would be merged soon. I'll start updating the plugins. |
Oh. @sgiehl Are these changes going to be back-ported to 4.x? We currently have several plugins with failing builds due to the navigation shadow. |
@snake14 We will most likely only backport security fixes to 4.x-dev. So this won't be backported. |
Description:
I've also included some css tweaks . Instead of a padding the pagewarp now only uses a margin. That way that space won't be included in UI tests of the pagewrap anymore. This will require an update of a lot screenshots (as the free space will be removed), but we will no longer have problems with the menu shadow on screenshots.
Review