1920 Commits

Author SHA1 Message Date
Doug
11557e4879
Update the SDK. (#2776)
Handle async FFI changes.

Fix flakey unit test.
2024-05-03 12:00:05 +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.
nightly/1.6.4.590
2024-05-02 17:51:38 +01:00
Valere
ec19b5a0c4
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
e511ac3cb2
Update SwiftOGG to fix bug with case-sensitive file systems. (#2770) nightly/1.6.4.589 2024-05-01 12:06:36 +01:00
Mauro
18dc9cd20f
Account URL is now fetched async (#2769) nightly/1.6.4.587 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.
nightly/1.6.4.586
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
ElementRobot
231fc6defb
Translations update (#2761) 2024-04-29 08:42:15 +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
nightly/1.6.4.585
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) nightly/1.6.4.584 2024-04-26 09:59:01 +01:00
ElementRobot
008088ab06
Translations update (#2747) nightly/1.6.4.583 2024-04-25 18:37:13 +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 nightly/1.6.4.582 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
d949b17448 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
Doug
f9163094ba
Update compound. (#2733) nightly/1.6.4.581 2024-04-23 12:34:54 +01: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
Stefan Ceriu
23d5089287 Fix broken iPhone room push animation after disabling root fading for the iPad 2024-04-23 10:36:52 +03:00
Stefan Ceriu
69ffd3be46 Handle alias room permalinks 2024-04-23 08:01:30 +03:00
Stefan Ceriu
8ba544bc44
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`
nightly/1.6.4.580
2024-04-22 18:10:24 +03:00
manuroe
a3ec0b8505
Codecov: Add token for codecov-action@v3 to fix coverage report (#2727)
Moving to v4 is blocked because of a fundamental issue with https://github.com/codecov/codecov-action/issues/1279 on our mac runners and because the reported coverage is [decreasing with v4](https://app.codecov.io/gh/element-hq/element-x-ios/pull/2719/flags)
2024-04-22 14:59:51 +02:00
ElementRobot
c1161f0592
Translations update (#2726) 2024-04-22 11:03:39 +01:00
Doug
5f98fdba44
Update strings with API breaks. (#2720) 2024-04-22 10:52:29 +01:00
Stefan Ceriu
c738d57af1 Setup animations for navigation root and split detail and sidebar module changes. 2024-04-22 10:17:13 +03: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
nightly/1.6.4.579
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
Stefan Ceriu
bdacea10a2 Bump the RustSDK to v.1.1.60 nightly/1.6.4.578 2024-04-19 14:40:31 +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
8ef6fee95f 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
20d57e4998 Bump the RustSDK to v1.1.59, regenerated the SDK mocks nightly/1.6.4.577 2024-04-18 15:01:31 +03:00
Doug
4075c4486c
Update compound (#2704)
Makes the _bgBubbleHighlighted colour available.
nightly/1.6.4.576
2024-04-17 14:28: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
ee7b1de1c8 With date separators not longer duplicated switch back to using their timestamps (formatted even) as stable identifiers nightly/1.6.4.575 2024-04-16 19:27:45 +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
nightly/1.6.4.574
2024-04-15 15:41:34 +00:00
Stefan Ceriu
00908073d2 Print out the current process identifier on NSE runs 2024-04-15 16:23:59 +03:00
Stefan Ceriu
5faa4910b1 Avoid potential app side NSE UserSession races and let the SDK handle them instead 2024-04-15 15:27:08 +03:00
Element CI
493763b17e Prepare next release 2024-04-15 04:06:42 -07:00
Doug
e7af7fb59c
Handle external links to a user. (#2690) 1.6.3 2024-04-15 11:08:00 +01:00
ElementRobot
e0138eeb35
Translations update (#2693)
Co-authored-by: Velin92 <Velin92@users.noreply.github.com>
2024-04-15 09:36:33 +01:00
Stefan Ceriu
48b06519f9 Replace deprecated danger-swift-with-swiftlint docker image 2024-04-15 10:43:17 +03:00
Doug
d6b5c07ee6
Always encrypt the db for new users. (#2692) nightly/1.6.3.573 2024-04-12 18:00:49 +01:00