* Fix issue with span being the full length
* Making sure a mention with a username without a resolved name still displayed with the appropriate style with the truncated is
* Initial working push with debug comments
* Fixes#1522
* Cleanup, prevent multi-pointer recording, and don't show short msg toast if locked to record quickly
* Adjusted comment phrasing
* Fix comment phrasing
* Fixed inadvertant short voice message toast on exit conversation activity
* Comment adjustment
* Comment phrasing
* Adjusted AudioRecorder.startRecording to take a callback function rather than the InputBar
* Performed Thomas' PR feedback
* Move comment to more relevant place
* Removed unused / leftover callback definition
* Removed all redundant null checks after asserting binding is not null
* Removed remaining not-null assertions & added some logged feedback to fail states
* Addressed PR feedback
* Implemented additional PR feedback
* Adjusted InputBar property visibility as per PR feedback & adjusted Toast string following discussion with Lucy
* Minor adjustment to inform user if we see an obvious network issue when sending a voice message - also tweak the locked Cancel button size to prevent text entry when locked to voice recording
* Adjust comment phrasing following further testing
* Added TODO comments to replace hard-coded string in toasts
* Addressed Thomas PR feedback suggestion
* Addressed another feedback suggestion
* Adjustment to continue informing user of network / node path issues
* Improved & moved network check method
* Corrected ticket number into TODO comments
* Addressed Andy PR feedback
* Adjust network connectivity checks to just log issues rather than inform the user (as per Rebecca / Kee convo)
---------
Co-authored-by: alansley <aclansley@gmail.com>
* WIP
* Push before attempting some HTTPRequestFailedException rate limiting
* Functionality now works
* Merging dev resulted in some subproject commit change so pushing that
* Fixes#1525
* Addressed Andy PR feedback
* Addressed further PR feedback from Andy
---------
Co-authored-by: alansley <aclansley@gmail.com>
* Highlight @You mentions
* fix: resolve merge conflicts
* Setting the proper design rules for mentions
* New RoundedBackgroundSpan, applied to "you" mentions
The rounded background highlighter can take padding, so there is no need to add those extra spaces at the start and end.
* Better mention highlight logic
Some mention highlight should only format the text and not apply any styling.
Also making sure we cater for all cases properly
* Updated the text color logic based on design rules
* Fine tuning the color rules
* Removing usage of Resources.getSystem()
Only making the db call if there actually is a mention
* Moving color definition outside the loop to avoid repetitions
---------
Co-authored-by: charles <charles@oxen.io>
Co-authored-by: 0x330a <92654767+0x330a@users.noreply.github.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
* Add rounded corners to thumbnail in QuoteView
* Simplify ThumbnailView
* Cleanup ThumbnailView
* Removed include custom attributes
The custom attributes are not passed to the view.
I added the radius programatically instead.
* Clipping whole thumbnail view instead of just the image requests
---------
Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>