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

Add some sentry to better understand message display improvements that still leave some overscroll #2086

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

LunarX
Copy link
Contributor

@LunarX LunarX commented Oct 29, 2024

When resizing the mail with js, after zooming, it can still scroll. Sometimes, the issue is caused because the target width in which we want to the fit all of the html is 0. In this case, no amount of processing will ever let us fit the content in a width of 0 obviously.

This PR adds a new clarifying sentry captureMessage to try and understand how we could possibly end up with a target width of 0 in the first place. This PR also adds a tag to the already existing captureMessage to understand in what proportion the issue is caused by zero-width webviews

@LunarX LunarX added bug Something isn't working enhancement Improve or expand upon an existing feature quick A pull request consisting of a few lines labels Oct 29, 2024
@LunarX LunarX requested a review from a team October 29, 2024 08:42
@LunarX LunarX self-assigned this Oct 29, 2024
Copy link
Contributor

@FabianDevel FabianDevel left a comment

Choose a reason for hiding this comment

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

You have a 132 characters long line

@LunarX LunarX requested a review from FabianDevel October 29, 2024 11:43
Copy link

sonarqubecloud bot commented Oct 29, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@LunarX LunarX merged commit afd9dbb into master Oct 29, 2024
4 checks passed
@LunarX LunarX deleted the display-message-zero-width-sentry branch October 29, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement Improve or expand upon an existing feature quick A pull request consisting of a few lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants