Commit Graph

1555 Commits

Author SHA1 Message Date
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
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
Doug
7134361876 Fix some snapshots. (#2749) 2024-04-26 14:07:20 +01:00
Doug
d2e04e34b7 Update the SDK and enable event permalinks. (#2748) 2024-04-26 09:59:01 +01:00
ElementRobot
146ddda431 Translations update (#2747) 2024-04-25 18:37:13 +01:00
Doug
0b2bb7f056 Prepare for event focus and forward pagination (#2745)
Neither are available yet.
2024-04-25 18:32:33 +01:00
Stefan Ceriu
cf13236319 Fixes #2706 - Use disambiguated display names for timeline item senders and state event bodies. (#2739) 2024-04-25 14:53:18 +03:00
Doug
0478fe3052 Add Event Routes to the flows (#2743) 2024-04-25 12:50:06 +01:00
Stefan Ceriu
18081fbe48 Remove join room screen graphic and align platforms 2024-04-24 17:26:10 +03:00
Stefan Ceriu
4e52940fe6 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
e5538255cb dd support for deeplinking/navigating into the same room multiple times
- fix bugs around the view <-> view models going out of sync
- unwind the stack if the room is already presented
2024-04-24 11:29:54 +03:00
Stefan Ceriu
34989a9275 Attempted fix for #2653 - Reset the TextView delegates on every update call 2024-04-23 13:23:11 +03:00
Stefan Ceriu
6d466435f3 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
Stefan Ceriu
e0a40caeaf Fix broken iPhone room push animation after disabling root fading for the iPad 2024-04-23 10:36:52 +03:00
Stefan Ceriu
b531ec0f91 Handle alias room permalinks 2024-04-23 08:01:30 +03:00
Stefan Ceriu
66a36a76bf Cleanup following the AppMediator introduction (#2723)
- stop using multiple background task, the appCoordinator sync one is enough for the whole app
- move the AppMeditor to the MainActor
- expose the WindowManager through the AppMediator
- hide sensitive WindowManager API behind a different protocol
- remove the now unnecessary `BackgroundTaskService`
2024-04-22 18:10:24 +03:00
ElementRobot
fc8ad227bd Translations update (#2726) 2024-04-22 11:03:39 +01:00
Doug
b0db1f67e1 Update strings with API breaks. (#2720) 2024-04-22 10:52:29 +01:00
Stefan Ceriu
0217a37ba8 Setup animations for navigation root and split detail and sidebar module changes. 2024-04-22 10:17:13 +03:00
Stefan Ceriu
ca0597252f Fixes #2707 - Prevent the app from locking while recording a voice message 2024-04-20 15:38:58 +03:00
Stefan Ceriu
018d1b0e19 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
f3d9219a39 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
15b4cbf65d 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
1d0b1856bc Guard against rooms prematurely unsubscribing from sliding sync:
- with the advent of permalinks the same room can be now pushed multiple times onto the stack which means multiple calls to `subscribeForUpdates`
- the reverse doesn't hold and one call to `unsubscribeFromUpdates` will unsubscribe all the rooms at the same time
- we guard against that by tracking the number of subscriptions and calling the underlying `roomListItem.unsubscribe()` when the count goes back to zero
2024-04-19 11:14:48 +03:00
Stefan Ceriu
19b0e09899 Bump the RustSDK to v1.1.59, regenerated the SDK mocks 2024-04-18 15:01:31 +03:00
Stefan Ceriu
cb506ac970 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
b7d98a1415 With date separators not longer duplicated switch back to using their timestamps (formatted even) as stable identifiers 2024-04-16 19:27:45 +03:00
Stefan Ceriu
3214106909 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
ae76bf8eca 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
cb52eb90bc Handle external links to a user. (#2690) 2024-04-15 11:08:00 +01:00
ElementRobot
90513e5612 Translations update (#2693)
Co-authored-by: Velin92 <Velin92@users.noreply.github.com>
2024-04-15 09:36:33 +01:00
Doug
a62d1d6e48 Always encrypt the db for new users. (#2692) 2024-04-12 18:00:49 +01:00