Milton Moura
b4268e0a88
fix: remove unused Kingfisher import
...
Signed-off-by: Milton Moura <miltonmoura@gmail.com >
2025-12-13 10:11:57 +02:00
Stefan Ceriu
b71e667e73
Fix #4837 - Make sure changing the screen mode in the bindings also updates the activeTimelineContext
...
The original viewState mapping just stopped working properly for some reason. Updating it to `observe()` on `StateStoreViewModelV2` worked properly but I liked the viewAction based solution better, felt more streamlined.
2025-12-12 17:23:58 +02:00
Stefan Ceriu
0e33480928
Switch the MediaEventsTimelineScreen to second iteration of the StateStoreViewModel
2025-12-12 17:23:58 +02:00
Stefan Ceriu
0fad733479
Add AsyncAlgorithms to the main app target.
2025-12-12 17:23:58 +02:00
Doug
2eb02cdbaf
Revert "Add a banner to encrypted rooms with visible history. ( #4738 )" ( #4850 )
...
This reverts commit aa525a52b1 .
2025-12-12 11:44:13 +00:00
Mauro Romito
55e88245f5
handle the case where a non parent joined space is already available in the existing restricted join rule
2025-12-12 12:13:58 +01:00
Skye Elliot
aa525a52b1
Add a banner to encrypted rooms with visible history. ( #4738 )
...
* feat: Add history visible alert.
- Adds a dismissable alert that is displayed whenever the user
opens a room with `history_visibility` != `joined`. When cleared,
this is recorded in the app's data store.
- When opening a room with `history_visibility` = `joined`, this
flag is cleared.
Issue: element-hq/element-meta#2875
* tests: Add unit tests for history sharing in `RoomScreenFooterView`.
* feat: Rename flag to `hasSeenHistoryVisibleBannerRooms`, document.
* refactor: Merge enum variants, use function for banner description.
* feat: Use `AppSettings.historyVisibleDetailsURL` over hard-coded value.
* tests: Correct potential race condition with deferred assertion.
* chore: Use Localazy translation string over project-defined.
* fix: Final tweaks and review comments.
* chore: Checkout `Enterprise` submodule.
* tests: Final fixes.
2025-12-11 17:07:57 +00:00
Stefan Ceriu
cdc77a0cd1
Tweakity tweak tweaks
2025-12-11 15:42:17 +02:00
Stefan Ceriu
8518e67426
Move the room list sending state icons to the front of the latest event.
2025-12-11 15:42:17 +02:00
Doug
4ea1aaecdd
Add a Link New Device screen (behind a feature flag). ( #4811 )
2025-12-11 11:45:23 +00:00
Stefan Ceriu
9ffb9a22e3
Attempt to make the EncryptionSettings UI tests more resilient
...
The secure backup disabling sheet doesn't show up in the snapshots. No idea what the actual problem is though, completely unreproducible locally.
2025-12-11 11:56:26 +02:00
Doug
d130dffaf3
Remove eraseToStream now that any AsyncSequence is available to us. ( #4836 )
...
* Remove `eraseToStream` now that `any AsyncSequence` is available to us.
* Remove the now unnecessary backport of Mutex.
* Silence a couple more deprecation warnings.
2025-12-10 18:33:15 +00:00
Mauro Romito
13f04d76f7
the sec and privacy screen is only displayed if at least one available action can be displayed.
2025-12-10 17:22:29 +01:00
Doug
3f87b51e4c
Fix a bug where removing reactions would wipe out the last message in the room list. ( #4834 )
...
Update the SDK.
2025-12-10 15:19:10 +00:00
Stefan Ceriu
82ee555844
Bump the RustSDK to v25.12.09
2025-12-09 21:51:32 +02:00
ElementRobot
81a43048e4
Translations update ( #4830 )
2025-12-09 12:01:55 +00:00
Skye Elliot
af2985c8ad
Set trust requirement even if setEncryption is false. ( #4823 )
...
* fix: Set trust requirement even if `setEncryption` is `false`.
- Calls `builder.decryptionSettings` with sender trust requirement,
even if `setEncryption` is false`.
- Fixes https://github.com/element-hq/element-x-ios/issues/4702
* docs: Add doc comment explaining necessity of fix.
* feat: Set `roomKeyRecipientStrategy` alongside trust requirement.
2025-12-09 09:17:50 +00:00
Stefan Ceriu
ffb42752de
Bump the RustSDK to v25.12.07
2025-12-07 12:39:00 +02:00
Mauro
8b08d2e05e
Use generic "update details..." copy when saving details change ( #4818 )
...
* added updating space copy when saving the edit of a space
* use the generic copy instead of both a space and a room specific one
2025-12-04 16:51:46 +00:00
Mauro Romito
81ac54d23a
pr suggestions
2025-12-04 16:23:34 +01:00
Mauro Romito
d9d9606765
implemented the ask to join restricted rule join UI, and added tests and previews for it.
2025-12-04 16:23:34 +01:00
Mauro Romito
fe6b74d59a
updated edit details screen copies to reflect the usage of spaces.
2025-12-03 17:42:57 +01:00
Mauro Romito
d23846ef65
two more edge cases tests
2025-12-02 18:17:16 +01:00
Mauro Romito
cf673173a8
pr suggestions and updated tests
2025-12-02 18:17:16 +01:00
Mauro Romito
d77700b72a
implemented a way to update the desired setting after pressing done, and added tests
2025-12-02 18:17:16 +01:00
Mauro Romito
0782faeadd
implemented the UI to manage authorized spaces
2025-12-02 18:17:16 +01:00
Mauro Romito
0dcf1ffda2
implemented the navigation to the manage auth spaces screen
...
# Conflicts:
# ElementX/Sources/FlowCoordinators/RoomFlowCoordinator.swift
# ElementX/Sources/FlowCoordinators/SpaceSettingsFlowCoordinator.swift
# ElementX/Sources/Screens/SecurityAndPrivacyScreen/SecurityAndPrivacyScreenCoordinator.swift
# ElementX/Sources/Screens/SecurityAndPrivacyScreen/SecurityAndPrivacyScreenModels.swift
2025-12-02 18:17:16 +01:00
Doug
2556eccc29
Add a specific notification body for space invites. ( #4808 )
2025-12-02 17:07:03 +00:00
Doug
d545a2b904
Fix missing read receipts in the timeline and edits in the room list. ( #4807 )
...
* Update the enterprise submodule.
* Update the SDK.
2025-12-02 15:49:23 +00:00
Doug
5f05a457e4
Favour network over homeserver reachability when computing the offline indicator. ( #4805 )
...
For a whole host of reasons we don't support air-gapped operation anyway and as the SDK is super slow to tell us about the homeserver's reachability the indicator wasn't really working.
2025-12-02 11:21:47 +00:00
Doug
3b42a784c8
Add accessibility hints for the send state in the room list. ( #4804 )
2025-12-01 13:28:48 +00:00
Mauro Romito
656648fc7c
drop iOS 17 and removed all #available and #unavaible checks for 17 and 18
2025-12-01 14:19:52 +01:00
Doug
7496f30966
Add the same unsaved changes alerts that Android has. ( #4803 )
...
* Add an alert to Discard or Save when there are unsaved changes on the RoomDetailsEditScreen.
* Add an alert to Discard or Save when there are unsaved changes on the UserDetailsEditScreen.
* Add an alert to Discard or Save when there are unsaved changes on the SecurityAndPrivacyScreen.
* Update strings.
2025-12-01 13:02:50 +00:00
ElementRobot
a16f6ad3e4
Translations update ( #4802 )
2025-12-01 08:59:54 +00:00
Doug
4a38e2cca6
Update the SDK. ( #4792 )
2025-11-27 21:15:27 +00:00
Doug
62930968f8
Show the last message state in the room list.
2025-11-27 16:43:48 +00:00
Doug
dc8f5ef5a9
Enable the latest event sorter.
2025-11-27 16:43:48 +00:00
Mauro Romito
051e5ceda6
updated existing preview tests and added a test for the single space cases
...
fixed a bug where was not possible to re-select the space members option with unknown spaces.
pr suggestions
2025-11-27 13:19:10 +01:00
Mauro Romito
997353fdec
single space access implementation
...
also added the copies for the single and multiple spaces selection
2025-11-27 13:19:10 +01:00
Doug
d907ca7a79
Update the date separators to use "Today", "Yesterday" etc for messages in the past 7 days. ( #4785 )
...
* Update the date separators to use "Today", "Yesterday" etc for messages in the past 7 days.
* Fix the observation tests.
2025-11-26 10:47:29 +00:00
Doug
f2607affd2
Adopt the new latest event API. ( #4779 )
2025-11-25 11:52:48 +00:00
ElementRobot
08514917fe
Translations update
2025-11-24 16:23:24 +01:00
Mauro Romito
ee9e1d1c78
esperanto deleted and regenerated some preview tests
2025-11-24 15:45:38 +01:00
Mauro Romito
414b3ac815
testing the switch from banned to members when there are no more banned members
2025-11-24 12:18:33 +01:00
Mauro Romito
26add890d6
redesigned empty state for the room members list
2025-11-24 12:18:33 +01:00
Mauro Romito
cb28597eb6
room members list redesign
2025-11-21 14:23:19 +01:00
Mauro Romito
921e576ad7
corrected copies and layout for the security and privacy screen
2025-11-20 12:48:08 +01:00
Mauro Romito
8e52ef363b
add NSE sources to EX project to easily implement mocking and allow the code to be unit tested
2025-11-19 13:20:14 +01:00
Mauro Romito
9cd791f608
removed old notification sound
2025-11-18 15:38:02 +01:00
Doug
022bc76c52
Add @MainActor to some of the hook points.
2025-11-18 16:25:11 +02:00