-
Notifications
You must be signed in to change notification settings - Fork 25
fix: remove underline for mentions of own messages in chat bubbles - WPB-20367 #4149
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
base: develop
Are you sure you want to change the base?
fix: remove underline for mentions of own messages in chat bubbles - WPB-20367 #4149
Conversation
…and add underline for links of other messages in chat bubbles
Test Results1 867 tests 1 840 ✅ 2m 3s ⏱️ Results for commit cae13d5. |
netbe
left a comment
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 good left a todo
| accentColor: (selfUser.zmAccentColor ?? .default).accentColor | ||
| ) | ||
|
|
||
| let detector = try! NSDataDetector(types: NSTextCheckingResult.CheckingType.link.rawValue | |
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.
todo: what happen if it fails? can we be more flexible here, to not crash
samwyndham
left a comment
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.
Nice work. Apologies for the late review.
|
@SyamalaHari I think you can target 4.15 too here release/cycle-4.15 |
…and add underline for links of other messages in chat bubbles
Issue
Fixing two issues:
Solution: Removed globally applying link attributes and applying individually to links and mentions
Testing
Optional: attachments like images, videos, etc.
Checklist
[WPB-XXX].UI accessibility checklist
If your PR includes UI changes, please utilize this checklist: