109 Commits

Author SHA1 Message Date
Stefan Ceriu 45ac47ce16 Fix keyboard escape key not working for cancelling edits and replies on the Mac 2024-05-09 18:48:51 +03:00
Stefan Ceriu 636274df74 Seamlessly switch for the RichTextEditor based message composer to the… (#2753)
* Seemlesly switch for the RichTextEditor based message composer to the plain one depending on whether formatting options are enabled or not.

* Address PR comments

* Fixes #2803 - Add extra padding at the bottom of the composer suggestions list

* Update preview test snapshots

* Update UI test snapshots
2024-05-08 17:57:32 +03:00
Stefan Ceriu a08b4842d1 Fixes #2790 - Reorder available composer menu actions 2024-05-07 17:52:45 +03:00
Stefan Ceriu e05e664f6d Fixes #2765 - Use the keyboard up arrow to edit the last message, use escape to cancel editing or replying. 2024-05-07 14:38:37 +03:00
Stefan Ceriu 3017100e5e Fixes #2792 - Use the right room context in the plain composer 2024-05-07 14:38:37 +03:00
Stefan Ceriu 5a28532e90 Prevent the textView from inheriting attributes from mention pills 2024-05-07 14:38:37 +03:00
Stefan Ceriu 17b79c1e80 Remove unused isMultiline binding 2024-05-07 14:38:37 +03:00
Doug 57fffa7fc7 Fix the font when editing a message with RTE off. (#2779)
Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
2024-05-03 20:45:28 +02:00
Stefan Ceriu 38416dbb5c Plain composer suggestions and pills (#2751)
* Move ComposerToolbar files to withing the RoomScreen folder (as it's not a screen on its own)

* Switch the plain composer to NSAttributedStrings

* Enable suggestions on the plain composer

* Introduce a new `MatrixUserDisplayName` attributed string attributed and use it for mention building

* Implement mention pill rendering and sending on the plain message composer

* Fix plain composer snapshot tests

* Fix broken formatting options layout

* Add clarifying comment.
2024-05-03 10:06:16 +01:00