Commit Graph

695 Commits

Author SHA1 Message Date
Doug 441f5ae975 Tweaks discovered when using Compound overrides. (#4456)
- Fixes a bug where gradients wouldn't use the latest tokens after first use.
- Makes the bloom aware of colour overrides (and discovers a bug with dark mode).
- Decouples HomeScreenCell from the HomeScreenViewModel.Context (so it can be previewed with colour overrides).
2025-09-02 09:40:03 +01:00
Doug 049bb7b740 Use the SDK's SpaceService, SpaceRoom and SpaceRoomList. (#4455) 2025-09-01 15:22:37 +01:00
Doug 696e916e75 Update Element Call to 0.15.0. (#4446) 2025-08-26 18:20:06 +01:00
Doug 1e2cb3d380 Update the SDK. (#4445) 2025-08-26 17:53:24 +01:00
Doug ed8f446735 Update the SDK, handle API breaks. (#4418) 2025-08-15 17:25:51 +01:00
Doug b3a395acb6 Update the SDK. (#4405) 2025-08-12 16:20:09 +00:00
Mauro Romito da7b41c442 update the SDK 2025-08-05 13:22:44 +02:00
Mauro Romito e89dc6ccab update EC 0.14.1 2025-08-05 13:22:44 +02:00
Doug bf0adfcb25 Implement tab bar badges, visibility and selection. (#4373) 2025-08-05 09:23:45 +01:00
Doug e182940844 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 514c7808e2 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 1ca84c8c94 Re-introduce a basic UserSessionFlowCoordinator using the NavigationTabCoordinator. 2025-07-31 14:09:26 +01:00
Mauro e70e1f36b2 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 43d3282d90 Bump the RustSDK to v25.07.23 2025-07-24 14:55:34 +03:00
Doug 247c7a4617 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 74952659e8 Update the SDK to fix a sync performance regression. (#4324) 2025-07-15 10:51:59 +00:00
Doug de4f05f338 Update the SDK and build a client before logging in with a QR code. (#4320) 2025-07-14 13:31:06 +00:00
Doug bd423daf1b Fix the contrast on mention pills. (#4313) 2025-07-14 08:57:49 +01:00
Mauro d86d90c15a added a feature flag for share pos + updated the SDK (#4312) 2025-07-10 15:03:03 +02:00
Doug 5065ed6735 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 030a9bfbef 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 52cdd29fe1 Bump the RustSDK to v25.07.04 2025-07-04 16:04:46 +03:00
Doug aebc224de1 Update the SDK. (#4286) 2025-07-03 16:49:13 +00:00
Doug deb7e95fd9 Update Element Call to 0.13.1. (#4285) 2025-07-03 16:15:30 +00:00
Doug 9cafc7a109 Update the SDK. 2025-07-02 17:51:52 +03:00
Doug c7b562250b 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 db3c9f4382 Update Element Call to the actual release of 0.13.0. (#4279) 2025-07-02 10:04:53 +01:00
Mauro Romito c37748265b Updated SDK to 25.07.01 2025-07-01 15:26:35 +02:00
Mauro Romito 37cbf733d4 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 11c7d07e76 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 46f49af930 Bump the SDK to v25.06.25; adopt the new optional RoomInfo joinRule and isPublic. 2025-06-25 17:23:22 +03:00
Doug 374fb722c6 Fix media previews in private room notifications and pagination on upgraded rooms. 2025-06-24 20:12:20 +03:00
Stefan Ceriu 5ac6ec28d5 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 f522e15dac 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 daf4aa9239 Move all Introspect VersionPredicates into Compound to have them all in the same place. 2025-06-19 15:06:16 +03:00
Stefan Ceriu 7ed806535a Bump Version to v2.2.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu 5c320e02e6 Bump Posthog to v3.27.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu eedccef50e Bump Kingfisher to v8.3.2 2025-06-18 19:50:06 +03:00
Stefan Ceriu 133fb4c4fb Bump DeviceKit to v5.6.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu da11755f3d Bump Swift Algorithms to v1.2.1 and Collections to 1.2.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu 0eb8b1ecae Bump AnalyticsEvents to v0.29.2 2025-06-18 19:50:06 +03:00
Stefan Ceriu effd805901 Bump Sentry to v8.52.1 2025-06-18 19:50:06 +03:00
Doug 6d2fdb81e4 Update the SDK. (#4220)
* Update the SDK.

* Remove unnecessary function from the AppHooks protocol.
2025-06-18 12:01:23 +01:00
Stefan Ceriu b605717cfc Bump Compound and prevent Introspect from breaking on newer OS versions. 2025-06-16 12:56:29 +03:00
Stefan Ceriu eaf14eaaac Bump the SDK to v25.06.13 and add thread support to the ComposerDraftService 2025-06-13 16:56:13 +03:00
Stefan Ceriu 5315f962c6 Render the number of thread replies on the thread summary timeline view. 2025-06-12 16:54:53 +03:00
Stefan Ceriu f66d654820 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 2863466755 update SDK to 25.06.11 2025-06-11 11:33:08 +02:00
Stefan Ceriu 09779a4e12 Bump the RustSDK to v25.06.10 2025-06-10 15:09:20 +03:00
Mauro Romito cc8f6bb44c updated EC to 0.12.2 2025-06-06 10:50:16 +02:00