Commit Graph

1958 Commits

Author SHA1 Message Date
Stefan Ceriu
cc4bc179af Fixes #2805 - Fixes animation artifacts when focusing on in-reply-to messages 2024-05-10 16:28:46 +03:00
Stefan Ceriu
434a6428ee Update FormattedBodyText snapshots: cover more cases and use sizeThatFits layout 2024-05-10 14:07:43 +03:00
Stefan Ceriu
62e1ec0464 Prevent links from showing up in color within code blocks, simplify foreground color stripping 2024-05-10 14:07:43 +03:00
Stefan Ceriu
0548450b6b Enable room list invites by default and remove old code paths 2024-05-09 19:01:57 +03:00
Stefan Ceriu
4e670d1502 Reorder AttributedStringBuilder methods based on the order they're called in. 2024-05-09 18:48:51 +03:00
Stefan Ceriu
3bab870e5b Fixes #2807 - Stop inserting string attributes to code blocks. 2024-05-09 18:48:51 +03:00
Stefan Ceriu
f5ef7a0682 Fix keyboard escape key not working for cancelling edits and replies on the Mac 2024-05-09 18:48:51 +03:00
Mauro
f52ccd6f4d UX Update for user profile screen and room member details (#2822) 2024-05-09 15:41:09 +00:00
Element CI
dd33b60aac Prepare next release 2024-05-09 04:59:35 -07:00
Stefan Ceriu
83163012f6 Fixes #2808 - Switch the message sending failure options from a dialog to an alert
* Fixes #2808 - Switch the message sending failure options from a dialog to an alert
- this prevents it from showing up as a popup on the room list on an iPad
- it used to be set on the timeline and not on the timeline item because of our use of a UITableView
* Cleanup room screen action names
2024-05-09 14:35:47 +03:00
Doug
5874013c43 Only register for notifications when the setting is enabled. (#2819) 2024-05-08 16:10:35 +01:00
Stefan Ceriu
1eb0b569d0 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
stefanceriu
d2a4c3a7a5 Translations update 2024-05-08 15:50:09 +03:00
Doug
9ebf68f276 Remove OTLP support. 2024-05-08 11:33:37 +01:00
Doug
722a4f6882 Update the SDK. 2024-05-08 11:33:37 +01:00
Stefan Ceriu
b18be3a069 Provide the room context as an environment object too, prevent reply … (#2804) 2024-05-07 23:51:10 +02:00
Doug
749485d55d Add reaction toggles to macOS timeline context menu. (#2801)
Highlight reactions that have already been sent.

Share the default reactions.
2024-05-07 16:50:54 +01:00
Doug
2c77654440 Add matrix.to site association (#2797) 2024-05-07 16:00:17 +01:00
Stefan Ceriu
dd811550c5 Fixes #2790 - Reorder available composer menu actions 2024-05-07 17:52:45 +03:00
Valere
2d12c097d5 Posthog: report SessionSecurityState (#2795)
* Posthog: report SessionSecurityState

* Review quick change

---------

Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
2024-05-07 14:31:12 +00:00
Doug
a122c30ce4 Move message forwarding out of the flow coordinator. (#2738) 2024-05-07 15:04:11 +01:00
Stefan Ceriu
721fa2b021 Fix timeline item highlighting UI test 2024-05-07 16:55:39 +03:00
Stefan Ceriu
25d4486292 Fix integration tests
- remove the invites flow as the button visibility depends on the number of invites and invites are moving to the room list anyway
2024-05-07 16:55:39 +03:00
Element CI
41b639d570 Prepare next release 2024-05-07 04:53:22 -07:00
Stefan Ceriu
95ead95411 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
a8166d5391 Fixes #2792 - Use the right room context in the plain composer 2024-05-07 14:38:37 +03:00
Stefan Ceriu
706eddb4ec Fix line length warning 2024-05-07 14:38:37 +03:00
Stefan Ceriu
d6e6866df4 Prevent the textView from inheriting attributes from mention pills 2024-05-07 14:38:37 +03:00
Stefan Ceriu
3447a0664d Remove unused isMultiline binding 2024-05-07 14:38:37 +03:00
Mauro
e0358878bd Updated settings screen (#2791) 2024-05-07 12:53:46 +02:00
Valere
e2d016d883 Posthog: use correct API for user properties (#2793) 2024-05-07 12:08:56 +02:00
Mauro
e61ab07133 Allow emotes in the menu to scroll if their size overflows the container (#2780) 2024-05-07 11:04:03 +02:00
Valere
6d2c4d87ed Bump posthog SDK version to 3.2.0 (#2788)
Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
2024-05-06 15:07:05 +00:00
ElementRobot
1aa1174e9d Translations update (#2786)
Co-authored-by: Velin92 <Velin92@users.noreply.github.com>
Co-authored-by: Mauro Romito <mauro.romito@element.io>
2024-05-06 13:18:48 +02:00
Doug
11b4c00fab 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
Mauro
662324b2d4 Fix for extra newline in emotes (#2778) 2024-05-03 20:44:57 +02:00
Doug
96bf27f49a Fix permalink crash. (#2777) 2024-05-03 14:58:06 +01:00
Doug
c220ccd5df Update back button label. (#2775) 2024-05-03 14:39:14 +01:00
Doug
5a493d74fc Update the SDK. (#2776)
Handle async FFI changes.

Fix flakey unit test.
2024-05-03 12:00:05 +01:00
Stefan Ceriu
addd5827ea 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
Doug
452a4c12b8 Permalink polish (#2771)
* Fix unbalanced padding.

* Animate the scroll to an event when it is already loaded.

* Perform the timeline clearance immediately before replacing the items.
Hides the empty timeline that was briefly shown.

* Make switching timeline more resilient.
2024-05-02 17:51:38 +01:00
Valere
65c7713f5b Support for posthog super properties (#2774)
* Support for posthog super properties

* Use typed SuperProperties and add tests

* update superProperty in AppCoordinator
2024-05-02 16:21:09 +01:00
Doug
69c6e25f37 Update SwiftOGG to fix bug with case-sensitive file systems. (#2770) 2024-05-01 12:06:36 +01:00
Mauro
8d0cd9f5bd Account URL is now fetched async (#2769) 2024-04-30 19:08:32 +02:00
Doug
335b61abab Permalink Tweaks (#2768)
* Revert back to creating a new flow when re-selecting the same room.

Fix the composer bug by adding IDs to the all of the module AnyViews.

* Don't show the live timeline when starting with a focussed event.
2024-04-30 17:25:32 +01:00
Doug
e90fcd4b4e Permalink Tweaks 2 (#2766)
* Missing changelog.

* Parse bare room aliases as permalinks.

Update the SDK.

* Fix tapping the same permalink twice.

Add a test.

Don't clear the focussed item when reaching the bottom of the timeline.

* Make sure sending a message returns to live.
2024-04-29 17:32:16 +01:00
Doug
9af6274d60 Public room search tweaks (#2750)
- Remove the "Join" button.
- Hide the extra bottom separator.
- Show an empty search result.
- Fix a bug where we would paginate and search simultaneously.
2024-04-29 10:01:48 +01:00
Doug
51b8785fa0 Event Permalink Tweaks (#2754)
* Handle errors focussing the timeline.

* Add a test for focussing on an existing timeline item.
2024-04-29 10:00:41 +01:00
ElementRobot
af842c6a47 Translations update (#2761) 2024-04-29 08:42:15 +01:00
Valere
07e4bb5ca0 Add specific UX for Expected UTDs due to membership (#2740)
* Add specific UX for Expected UTDs due to membership

* Update analytics package and snapshots.

* Add changelog
2024-04-26 17:22:01 +01:00