-
Notifications
You must be signed in to change notification settings - Fork 121
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
Fix a rendering issue when a message starts with a list (#1915) #2152
Conversation
Generated by 🚫 Danger Swift against 86eb724 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2152 +/- ##
===========================================
- Coverage 71.39% 71.33% -0.07%
===========================================
Files 515 515
Lines 35185 35232 +47
Branches 16945 16946 +1
===========================================
+ Hits 25122 25131 +9
- Misses 9443 9480 +37
- Partials 620 621 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
cfac8e3
to
b73d8cd
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.
Looks sensible to me but I would like mauro's oppinion on it 👍
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.
Can you add a test for a list containing all RTL language?
ElementX/Sources/Screens/RoomScreen/View/Timeline/FormattedBodyText.swift
Show resolved
Hide resolved
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.
I think that fixing the issue for LTR is enough, we can revisit RTL later when we have translation that support it
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.
I think that fixing the issue for LTR is enough, we can revisit RTL later when we have translation that support it
265a85c
to
b4eb7aa
Compare
b4eb7aa
to
86eb724
Compare
Kudos, SonarCloud Quality Gate passed!
|
This PR fixes an issue with the display of messages when they begin with a list (#1915)
Before:
![Screenshot 2023-11-22 at 16 16 18](https://private-user-images.githubusercontent.com/4334885/284968214-4a34399a-4d6c-4fd4-9abd-e7786c28450b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTUyMDUsIm5iZiI6MTczOTI1NDkwNSwicGF0aCI6Ii80MzM0ODg1LzI4NDk2ODIxNC00YTM0Mzk5YS00ZDZjLTRmZDQtOWFiZC1lNzc4NmMyODQ1MGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMDYyMTQ1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjEwMGQyZjI2NmY3YzM4YzI3ZDY5NDA2MjdlM2Q1NzczMjY0MGIzMTBlNmMzZDhjM2EyMGRmNzExMDlmMGZmMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.VnFKC462OzmcU7oVhUZQW7TDB0u7N0Uon4xpCMzhggA)
After:
![Screenshot 2023-11-22 at 16 16 45](https://private-user-images.githubusercontent.com/4334885/284968291-b249cec5-2a0e-4094-b328-d9c0e8d6c495.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTUyMDUsIm5iZiI6MTczOTI1NDkwNSwicGF0aCI6Ii80MzM0ODg1LzI4NDk2ODI5MS1iMjQ5Y2VjNS0yYTBlLTQwOTQtYjMyOC1kOWMwZThkNmM0OTUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnV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