Commit Graph

958 Commits

Author SHA1 Message Date
Mauro 783eab2a8a UX Update for user profile screen and room member details (#2822) 2024-05-09 15:41:09 +00:00
Stefan Ceriu 905b21e0a8 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
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
Doug 9282088891 Remove OTLP support. 2024-05-08 11:33:37 +01:00
Stefan Ceriu 8c22d080e1 Provide the room context as an environment object too, prevent reply … (#2804) 2024-05-07 23:51:10 +02:00
Doug 37001cb711 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
Stefan Ceriu a08b4842d1 Fixes #2790 - Reorder available composer menu actions 2024-05-07 17:52:45 +03:00
Valere bd4fae6086 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 e829a3ded6 Move message forwarding out of the flow coordinator. (#2738) 2024-05-07 15:04:11 +01: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 4d0d150f2b Fix line length warning 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
Mauro 7b42c75ff9 Updated settings screen (#2791) 2024-05-07 12:53:46 +02:00
Mauro 6ca92c272a Allow emotes in the menu to scroll if their size overflows the container (#2780) 2024-05-07 11:04:03 +02:00
ElementRobot c398338335 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 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
Doug e9d690450e Fix permalink crash. (#2777) 2024-05-03 14:58:06 +01:00
Doug 8734f94df0 Update back button label. (#2775) 2024-05-03 14:39:14 +01: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
Doug d067e844da 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
Mauro 18dc9cd20f Account URL is now fetched async (#2769) 2024-04-30 19:08:32 +02:00
Doug f688d2eda4 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 7c94ed98a5 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 aaa8af2996 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 7b2168a540 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
Valere bd9a171c7c 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
Doug 1b8d895e98 Fix some snapshots. (#2749) 2024-04-26 14:07:20 +01:00
Doug df6cf25524 Update the SDK and enable event permalinks. (#2748) 2024-04-26 09:59:01 +01:00
Doug 76e7de40b5 Prepare for event focus and forward pagination (#2745)
Neither are available yet.
2024-04-25 18:32:33 +01:00
Stefan Ceriu 8d66572cc9 Fixes #2706 - Use disambiguated display names for timeline item senders and state event bodies. (#2739) 2024-04-25 14:53:18 +03:00
Doug 6661c16154 Add Event Routes to the flows (#2743) 2024-04-25 12:50:06 +01:00
Stefan Ceriu 8581355372 Remove join room screen graphic and align platforms 2024-04-24 17:26:10 +03:00
Stefan Ceriu 2378bb6466 Revert "Attempted fix for #2653 - Reset the TextView delegates on every update call"
This reverts commit 9b9deb7dcd7c28c4171912ebb68375c1ecec9a11.
2024-04-24 11:29:54 +03:00
Stefan Ceriu a9708f7616 Attempted fix for #2653 - Reset the TextView delegates on every update call 2024-04-23 13:23:11 +03:00
Stefan Ceriu 89927f1357 Fix #2652 - Room list looping and fighting scrolling after filtering
- also fixes filtering empty state vertical centering
2024-04-23 12:18:00 +03:00
Doug 5f98fdba44 Update strings with API breaks. (#2720) 2024-04-22 10:52:29 +01:00
Stefan Ceriu 1e810f91ff Fixes #2707 - Prevent the app from locking while recording a voice message 2024-04-20 15:38:58 +03:00
Stefan Ceriu effe3b6a9b Membership aware room routes (#2709)
* Remove the invites button when room list invites are enabled

* element-hq/element-x-ios/issues/2632 - Handle room permalinks based on their membership state and show the according room joining screens:
- modify the room flow coordinator to only take a roomID and be able to decide its own room flows (especially for unjoined rooms)
- add support for the new room preview API
- have RoomDirectorySearch go through the same paths
2024-04-19 17:04:18 +03:00
Stefan Ceriu 9a172df7fd Introduce an AppMediator which will:
- combine multiple services to handle app wide requests
- remove direct UIApplication access from everywhere
- fix #2703 by combining UIApplication.applicationState with the WindowManager's main window appearance
- leave the door open for more app control in the future (especiall for the mac)
2024-04-19 15:43:56 +03:00
Doug b5f1d5947b Add missing image provider to RoomChangeRolesScreenViewModel. (#2715)
* Add an assertion for a missing image provider.

* Pass an image provider to RoomChangeRolesScreenViewModel.

* Update snapshots.
2024-04-19 11:56:41 +01:00
Stefan Ceriu 195a7c0e5f Fix broken cancel button on the enter recovery key screen
- regressed in https://github.com/element-hq/element-x-ios/pull/2648/files#diff-4420a80fe4e4d99cac174f0dcf86413535a34bd6dc303670d11bca25105d1ae6L55
2024-04-17 16:28:24 +03:00
Stefan Ceriu 83c620d685 element-hq/element-x-ios/issues/2636 - Expose paths for focusing replied-to timeline items by tapping on an in-reply-to message bubble 2024-04-16 15:01:48 +03:00
Stefan Ceriu 43c132720d Bring back the original native MessageComposerTextField, use it whe… (#2696)
* Bring back the original native `MessageComposerTextField`, use it when the Rich Text Editor one is disabled (advanced settings)
- this basically reverts parts of https://github.com/element-hq/element-x-ios/pull/1703
2024-04-15 15:41:34 +00:00
Doug e7af7fb59c Handle external links to a user. (#2690) 2024-04-15 11:08:00 +01:00
Stefan Ceriu 4d513f9ed1 Stop relying on the NotificationCenter for removing delivered push notifications:
- this will improve the architecture but more importantly will remove some very flakey unit tests
2024-04-12 19:18:00 +03:00
Stefan Ceriu fcc25dd441 Adop the new SDK permalink detector and user builder 2024-04-12 18:04:41 +03:00
Doug f8920d4d11 Initial implementation of the JoinRoomScreen. (#2684)
* Update Compound and use super button for room directory.
2024-04-12 13:13:22 +01:00
Mauro fc1310d7ad QR Code, verification code views (#2685) 2024-04-12 09:29:14 +00:00