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

Improve css for userid in realtime widget #20076

Merged
merged 1 commit into from Dec 12, 2022
Merged

Improve css for userid in realtime widget #20076

merged 1 commit into from Dec 12, 2022

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Dec 5, 2022

Description:

fixes #20072

Review

@sgiehl sgiehl added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Dec 5, 2022
@sgiehl sgiehl added this to the 5.0.0 milestone Dec 5, 2022
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.

This fixes the issue as described 👍

Might be useful to have a UI test which sends a long user ID to prevent any regression if we adjust the CSS styling in the future.

@bx80 bx80 removed the Needs Review PRs that need a code review label Dec 11, 2022
@sgiehl
Copy link
Member Author

sgiehl commented Dec 12, 2022

@bx80 adding a ui test would have been too much effort. As we do not yet have separate UI tests for the UserId feature I would have to adjust the OmniFixture or add a complete new set of tests.
In general I guess we would need to add more tests for edge cases, e.g. minimum and maximum length, special chars, XSS values,... Might be something for a new issue maybe.

@sgiehl sgiehl merged commit 049fae9 into 5.x-dev Dec 12, 2022
@sgiehl sgiehl deleted the m20072 branch December 12, 2022 09:28
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants