Commit Graph

539 Commits

Author SHA1 Message Date
Mauro Romito
de0c7cfbcd update the SDK 2025-08-05 13:22:44 +02:00
Mauro Romito
ae84e180d5 update EC 0.14.1 2025-08-05 13:22:44 +02:00
Doug
3adf8b0610 Implement tab bar badges, visibility and selection. (#4373) 2025-08-05 09:23:45 +01:00
Doug
974a3ad74f Handle TimelineDiff as an enum with associated values. (#4379)
* Handle TimelineDiff as a true enum.

* Update the SDK.

* Silence some warnings.
2025-08-05 09:23:22 +01:00
Robin
37506cc4c1 Delegate the sending of call notifications to Element Call (#4370)
* Stop sending call notifications manually

The Element Call widget can now assume responsibility for sending them when you start a call.

* Bump Element Call embedded package to v0.14.0

* Delegate the sending of call notifications to Element Call

* Update the SDK.

* Use 'is' prefix for boolean

---------

Co-authored-by: Doug <douglase@element.io>
2025-08-01 18:47:48 +02:00
Doug
a18fc8ff5b Re-introduce a basic UserSessionFlowCoordinator using the NavigationTabCoordinator. 2025-07-31 14:09:26 +01:00
Mauro
3b8ad24d10 SDK Update + PowerLevels API update (#4366)
* update the sdk, and updated the power levels APIs

Revert "update the sdk, and updated the power levels APIs"

This reverts commit d3b291003d2b6fd6346ef7e445af4970fda62348.

x

* pr suggestions
2025-07-30 14:42:45 +00:00
Stefan Ceriu
b8a6763d11 Bump the RustSDK to v25.07.23 2025-07-24 14:55:34 +03:00
Doug
913e286f09 Fix the flakey preview tests. (#4329)
* Try fix the flakey preview tests with a low priority task…

* Try RunLoop.current.perform

* Revert #4321: Use a dispatch queue again. Also fixes the concurrency warning with a Mutex.

The Mutex package is only required for iOS 17, we can remove it when we set the minimum deployment target to iOS 18.
2025-07-17 12:45:33 +01:00
Doug
b0dd6ddf46 Update the SDK to fix a sync performance regression. (#4324) 2025-07-15 10:51:59 +00:00
Doug
755e4bf7a4 Update the SDK and build a client before logging in with a QR code. (#4320) 2025-07-14 13:31:06 +00:00
Doug
7ee8ec9ef2 Fix the contrast on mention pills. (#4313) 2025-07-14 08:57:49 +01:00
Mauro
5837ebdca3 added a feature flag for share pos + updated the SDK (#4312) 2025-07-10 15:03:03 +02:00
Doug
0a008601e3 Update Compound and add some new snapshot tests. (#4311)
* Update Compound.

* Add some snapshot tests for PillView on a bubble background.

Version 5.0.0 of compound-design-tokens changed the pill colour but all our snapshots are on white so we didn't notice the difference in contrast. This doesn't fix anything, it purely adds the snapshots.
2025-07-09 11:24:14 +01:00
Doug
3862929356 Update and enable the new bloom style on the home screen. (#4291)
* Update Compound

* Adopt the new accent colour (and gradient) tokens.
2025-07-07 11:23:03 +01:00
Stefan Ceriu
d2933df2d0 Bump the RustSDK to v25.07.04 2025-07-04 16:04:46 +03:00
Doug
cf681aca14 Update the SDK. (#4286) 2025-07-03 16:49:13 +00:00
Doug
6f728607ed Update Element Call to 0.13.1. (#4285) 2025-07-03 16:15:30 +00:00
Doug
db92607cd7 Update the SDK. 2025-07-02 17:51:52 +03:00
Doug
84ff9ee2e2 Adopt StateStoreViewModelV2 in more screens. (#4275)
* Use StateStoreViewModelV2 in AnalyticsPromptScreen.

* Use StateStoreViewModelV2 in UserProfileScreen.

* Use StateStoreViewModelV2 in MediaUploadPreviewScreen.

* Use StateStoreViewModelV2 in the Roles & Permissions screens.

* Add the asyncStream variant of deferFailure.

* Use StateStoreViewModelV2 in BlockedUsersScreen.

* Use StateStoreViewModelV2 in ManageRoomMemberSheet.

* Use StateStoreViewModelV2 in ResolveVerifiedUserSendFailureScreen.

* Use StateStoreViewModelV2 in ReportContentScreen.

* Use StateStoreViewModelV2 in ReportRoomScreen.

* Use StateStoreViewModelV2 in StaticLocationScreen.

* Use StateStoreViewModelV2 in EmojiPickerScreen.

* Use StateStoreViewModelV2 in PollFormScreen.

* Use StateStoreViewModelV2 in DeclineAndBlockScreen.

* Use StateStoreViewModelV2 in RoomDetailsScreen.

* Fix a random compilation error that just popped up 🤷‍♂️

* Fix expectation message.
2025-07-02 15:13:42 +01:00
Doug
63728a1781 Update Element Call to the actual release of 0.13.0. (#4279) 2025-07-02 10:04:53 +01:00
Mauro Romito
466490e0d6 Updated SDK to 25.07.01 2025-07-01 15:26:35 +02:00
Mauro Romito
f8d1ca54dd EC: handle back navigation from the webview
EC: remove native header

updated element call to 0.13.0-rc1
2025-06-26 16:05:26 +02:00
Stefan Ceriu
009da42b08 Bump the SDK to v25.06.25-2 which enables (re)storing the sliding sync position in between app runs. 2025-06-25 17:23:22 +03:00
Stefan Ceriu
7e30902ee1 Bump the SDK to v25.06.25; adopt the new optional RoomInfo joinRule and isPublic. 2025-06-25 17:23:22 +03:00
Doug
71fca18a7c Fix media previews in private room notifications and pagination on upgraded rooms. 2025-06-24 20:12:20 +03:00
Stefan Ceriu
e5a49c568f Adopt room info power levels (#4245)
* Use the newly RoomInfo published PowerLevels; update permissions at the same time as the room info and avoid unnecessary async calls.

* Introduce a RoomInfoProxyProtocol and associated mock and move away from mocked SDK RoomInfos

* Bump the SDK to v25.06.23

* Expose new non-throwing methods for checking one's own user permissions

* Fix the unit and preview tests (except the TimelineMediaPreviewDetails for which simplified snapshots were generated)

* Converge on one single implementation for computing a room's avatar.

* Fix more unit tests

* Fix the TimelineMediaPreviewDetailsView snapshot tests

This reverts commit 9b6c819e611ad2fa3de2c34a4a7aa556fc9faadd.

---------

Co-authored-by: Doug <douglase@element.io>
2025-06-24 17:48:00 +01:00
Stefan Ceriu
60f4228162 Adopt the lastest SDK APIs and refactor how we deal with user permissions.
This patch introduces a new RoomPowerLevelsProxy and its associated mock and adopts newer Rust APIs to make working with user power levels and permissions easier.
2025-06-20 18:10:45 +03:00
Stefan Ceriu
c56940e5a8 Move all Introspect VersionPredicates into Compound to have them all in the same place. 2025-06-19 15:06:16 +03:00
Stefan Ceriu
6604276bea Bump Version to v2.2.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu
f9421756dc Bump Posthog to v3.27.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu
92f840b731 Bump Kingfisher to v8.3.2 2025-06-18 19:50:06 +03:00
Stefan Ceriu
211d423557 Bump DeviceKit to v5.6.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu
8c69477d6b Bump Swift Algorithms to v1.2.1 and Collections to 1.2.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu
7c0e2343b5 Bump AnalyticsEvents to v0.29.2 2025-06-18 19:50:06 +03:00
Stefan Ceriu
840b750037 Bump Sentry to v8.52.1 2025-06-18 19:50:06 +03:00
Doug
0a66099a26 Update the SDK. (#4220)
* Update the SDK.

* Remove unnecessary function from the AppHooks protocol.
2025-06-18 12:01:23 +01:00
Stefan Ceriu
baf76835b6 Bump Compound and prevent Introspect from breaking on newer OS versions. 2025-06-16 12:56:29 +03:00
Stefan Ceriu
1204edc772 Bump the SDK to v25.06.13 and add thread support to the ComposerDraftService 2025-06-13 16:56:13 +03:00
Stefan Ceriu
9309b543b8 Render the number of thread replies on the thread summary timeline view. 2025-06-12 16:54:53 +03:00
Stefan Ceriu
264a68d3e2 Allow sending locations within threads
This patch implements support for sending locations within threads by following a similar behavior to the other screens: pass the thread root between the various state machine states until the action is finally invoked.
2025-06-12 16:54:53 +03:00
Mauro Romito
d2da2ed5d4 update SDK to 25.06.11 2025-06-11 11:33:08 +02:00
Stefan Ceriu
fb67a366e0 Bump the RustSDK to v25.06.10 2025-06-10 15:09:20 +03:00
Mauro Romito
f9cd6e3935 updated EC to 0.12.2 2025-06-06 10:50:16 +02:00
Stefan Ceriu
fadc3a1a1b Adopt the new deduplicate room versions room list filter. 2025-05-30 16:40:15 +03:00
Mauro
c1dfce4935 Handle media previews and invite avatars through the account data (#4142)
* added account data media display policy handling to NSE

* pr suggestions

* update compound

* code improvement
2025-05-28 19:51:34 +02:00
Mauro Romito
e71d21cc8c updated ec and sentry 2025-05-28 17:08:23 +02:00
Mauro Romito
f0d136f6c8 update SDK to 25.05.27 2025-05-27 18:35:19 +02:00
Stefan Ceriu
47cdb15b9d Bump the SDK to v25.05.26-2 and update the breaking changes following the RoomListItem removal 2025-05-26 18:11:24 +03:00
Stefan Ceriu
e590035fea Bump the RustSDK to v25.05.26 and handle breaking changes
- the new sentry integration will be handled in #4145
2025-05-26 13:22:57 +03:00