Commit Graph

336 Commits

Author SHA1 Message Date
Mauro Romito
7d86d8057d 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
5793690202 updated edit details screen copies to reflect the usage of spaces. 2025-12-03 17:42:57 +01:00
Doug
3ef7ad4c4d Add a specific notification body for space invites. (#4808) 2025-12-02 17:07:03 +00:00
Doug
3612a8d413 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
70047f9b6a Translations update (#4802) 2025-12-01 08:59:54 +00:00
Doug
782916f03d Show the last message state in the room list. 2025-11-27 16:43:48 +00:00
Mauro Romito
2292f4bd4f single space access implementation
also added the copies for the single and multiple spaces selection
2025-11-27 13:19:10 +01:00
Mauro Romito
c98d6b3a56 esperanto deleted and regenerated some preview tests 2025-11-24 15:45:38 +01:00
Mauro Romito
bc7e00d753 redesigned empty state for the room members list 2025-11-24 12:18:33 +01:00
Mauro Romito
8eb07e15cb room members list redesign 2025-11-21 14:23:19 +01:00
Mauro Romito
18d79e0f08 corrected copies and layout for the security and privacy screen 2025-11-20 12:48:08 +01:00
Mauro Romito
3e81853f4a security and privacy redesign for spaces. 2025-11-13 14:40:16 +01:00
Mauro Romito
0093dbbe31 implemented the manage space rooms permission 2025-11-13 14:05:52 +01:00
Mauro
6d57153136 Permissions screen redesign (#4735)
* Redesigned permissions screen

# Conflicts:
#	ElementX.xcodeproj/project.pbxproj

* updated tests

* update proj

* fix pseudo language tests
2025-11-12 14:41:44 +01:00
ElementRobot
728cd25c26 Translations update (#4721) 2025-11-10 10:47:25 +00:00
Mauro
0b3633ea57 Space Settings UI tweaks (#4678)
* design tweaks for the space settings flow

* pr suggestions

* update proj
2025-10-31 12:52:56 +01:00
Mauro Romito
fdc741da2e Basic implementation of the UI, navigation wil be implemented in the next PR 2025-10-30 15:23:03 +01:00
ElementRobot
fe74083ce4 Translations update (#4660)
* Translations update

* Fix pseudo language snapshots.

---------

Co-authored-by: Doug <douglase@element.io>
2025-10-28 14:07:19 +00:00
Mauro
23194107bb Display members of a space (#4629)
* Present members of a space

* present the members modally from the space

* Implemented a room members flow coordinator to make such flow more modular and reusable

this is required since we will need to reuse this module also in the space settings, and later we could also replace it in the RoomFlowCoordinator.

* the implementation to support at least the SpaceFlowCoordinator is done a follow UP should do the refactor.

* remove modal usage from the flow, we want to always be a navigation flow

* Improved and implemented the room navigation in the members flow coordinator

* pr suggestions and refactored the start chat flow and the invite screen

* updated copies for managing room members

* Update ElementX/Sources/Screens/Spaces/SpaceScreen/SpaceScreenViewModel.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2025-10-27 13:17:50 +01:00
Mauro
dfa5214136 Threaded notifications (#4644)
* implemented grouping

* implemented presenting the thread

* improved the implementation by reusing the presentation action

* add Thread group to DMs to differentiate from non threaded messages of the same DM

* name for a threaded notification in group room

* focus event when tapping on a notification

* pr suggestions

* document
2025-10-23 15:28:45 +02:00
ElementRobot
4b5c26d7cd Translations update (#4641) 2025-10-21 21:09:35 +02:00
Doug
aa4ea06a10 The space tweaks continue! (#4606)
* Update a string on the space announcement sheet.

* Don't show space rooms after using the join button in the space room list.

* Allow the Deselect All button to Select (almost) All as well.

* Fix the cells in the leave space sheet when there are only admin rooms.
2025-10-09 16:56:54 +01:00
Doug
8b831d3f9e Add support for space rooms on the JoinRoomScreen. (#4582)
* Add support for space rooms to JoinRoomScreenModel.

* Make a single wrapper type for JoinRoomScreen previews to simplify instantiation.

* Add previews for JoinRoomScreen for spaces.
2025-10-07 10:51:58 +01:00
Mauro
516e4df8e0 Clear cache on changing the threads FF (#4581)
* clear cache on changing the threads FF

# Conflicts:
#	PreviewTests/Sources/__Snapshots__/PreviewTests/labsScreen.iPad-pseudo-0.png
#	PreviewTests/Sources/__Snapshots__/PreviewTests/labsScreen.iPhone-16-pseudo-0.png

* fix tests
2025-10-07 11:38:58 +02:00
Doug
247967db6a Minor space tweaks (#4577)
* Hide the space ShareLink on iOS 26 for now.

* Don't allow the last admin to leave a space.
2025-10-07 08:16:48 +01:00
ElementRobot
afdd2c25aa Translations update 2025-10-06 10:21:05 +03:00
Doug
f806706f75 Use the new notification sound. (#4572)
* Use the new notification sound.

* Add a banner informing the user of the new notification sound.
2025-10-03 21:09:50 +01:00
Doug
465c533e59 Implement the flow for leaving a space. (#4568) 2025-10-03 16:37:09 +01:00
ElementRobot
004515fb68 Translations update 2025-09-29 09:07:28 +03:00
Doug
e36dcfbc99 Add some new space properties. (#4544)
* Use the via property on SpaceRoom.

* Fall back to the canonical alias as a space room name if needs be.

* Use SpaceRoom.isDirect for computing the name/avatar.

* Pass in the parent space as a workaround for no restricted join rules.
2025-09-26 10:03:11 +01:00
ElementRobot
b6c51b2ae6 Translations update 2025-09-22 11:55:07 +03:00
Stefan Ceriu
41a2acc0d7 Fixes #4512 - Make the preview item count label more proeminent 2025-09-16 17:54:46 +03:00
ElementRobot
797ff404cb Translations update (#4509) 2025-09-15 08:42:00 +01:00
Stefan Ceriu
5fe1c7b733 Show a modal indicator while inviting users to a room. 2025-09-12 17:38:19 +03:00
Doug
2b65844ac6 Use the SDK's offline detection everywhere (except for restarting the sync loop). (#4472)
* Use the SDK's offline state to drive the offline indicator.

* Only use network reachability for restarting the sync loop, use the homeserver reachability for requests.

* Add a separate indicator to distinguish when the server is unreachable but the device is online.
2025-09-08 12:18:02 +00:00
ElementRobot
700e07fc5b Translations update (#4479) 2025-09-08 08:41:32 +01:00
Mauro Romito
436d43ddfa hardcoded the timeout of 1 minute 2025-09-04 18:38:51 +02:00
ElementRobot
49ab757551 Translations update 2025-09-01 11:07:35 +02:00
ElementRobot
8f9c29f5bb Translations update (#4422)
* Translations update

* Fix for renamed strings.

* Fix non-flattened strings.

---------

Co-authored-by: Doug <douglase@element.io>
2025-08-20 10:22:03 +01:00
Doug
1e5a5b36b2 Add a SpaceScreen for listing rooms and subspaces within a space. (#4412) 2025-08-14 16:24:20 +00:00
ElementRobot
90ccc3638d Translations update (#4398) 2025-08-11 09:27:12 +01:00
Mauro
979f526f19 Last Owner should edit admins, and not leave when is last (#4372) 2025-08-07 08:40:14 +00:00
ElementRobot
69223b9601 Translations update (#4381) 2025-08-05 09:05:12 +00:00
Doug
05fc508632 Use the maxUploadSize in the media upload screen. (#4359)
* Fix a bug where some files sizes were sent as 0.

* Make FileManger.sizeForItem(at:) a UInt.

The docs specifically say that FileAttributeKey.size returns an unsigned long long so I have no idea why we were returning a Double here…

* Add the maxMediaUploadSize property on ClientProxy.

* Use the maxUploadSize to set a target video size and to show a file too big error.

* Refactor media upload parameter order.
2025-07-29 12:18:53 +01:00
ElementRobot
9852a74e52 Translations update (#4357) 2025-07-28 08:48:39 +01:00
Mauro Romito
46683063c6 - improved detection of false positives for dynamic type size
- improved also a11y for the knock request message
- improved a11y for reply view
2025-07-21 20:11:18 +02:00
Mauro Romito
aa84d280bb tombstoned room a11y label 2025-07-21 20:11:18 +02:00
Mauro Romito
35c95bc265 voice over can now read the screenshot in bug report screen 2025-07-21 20:11:18 +02:00
ElementRobot
600cf13bdf Translations update (#4334) 2025-07-21 09:55:32 +01:00
Doug
3cb815f7d4 Show an alert when entering an account provider that requires Element Pro. (#4326) 2025-07-17 12:41:26 +00:00