413 Commits

Author SHA1 Message Date
Doug a226c99492 Implement the flow for leaving a space. (#4568) 2025-10-03 16:37:09 +01:00
Doug 6377d9be67 A couple of small tweaks. (#4569)
* Stop ignoring the safe area with the suggestions view.

They weren't visible on iPad (hidden behind the sidebar) and I can't find any instance when they're shown where the safe area comes into play.

* Make sure the room list deselects the cell when dismissed a room.

* Use the backports pattern in more places.

* Fix the annoying header on macOS.

* Silence some warnings

* Fix compound CI branch name.
2025-10-03 12:09:17 +01:00
Mauro Romito 38a4ac3053 fix meda timeline screen flipped scroll view blur being applied always 2025-09-30 12:26:43 +02:00
Mauro Romito 9689b21508 update tests 2025-09-30 12:26:43 +02:00
Andy Balaam 889f5c570d Update the strings for the device verification flow (#4553) 2025-09-30 09:15:30 +01:00
Doug c5fccdce5e Show space invites in the room list. (#4545) 2025-09-29 13:57:58 +01:00
Stefan Ceriu 8b86b5b14d Update preview test snapshots 2025-09-26 17:20:41 +03:00
Stefan Ceriu 9ee48fba87 Regenerate snapshots for OS26 2025-09-26 17:20:41 +03:00
Mauro Romito 78c3ea9696 more fixes and preview tests updated 2025-09-26 16:38:55 +03:00
Doug 12dc6f42ba 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
Stefan Ceriu 2deb746382 Prevent the gradient background from being incorrectly rendered everywhere the placeholder screen is used. 2025-09-25 10:50:10 +03:00
Stefan Ceriu 39a757d037 Properly use the new hideBrandChrome in the AuthenticationStartLogo 2025-09-24 15:00:30 +03:00
Stefan Ceriu 85f2a00311 Update generated file headers after Sourcery bump. 2025-09-24 07:47:43 +03:00
Stefan Ceriu bfaca7cff9 Implement link previews for text messages using Apple's LinkPreview framework (#4520) 2025-09-19 12:48:09 +00:00
Mauro Romito c4de609ad7 added tests for the room header view 2025-09-16 18:26:03 +02:00
Stefan Ceriu a1038f0ffe Remove extra new line before list items and useless paragraph style 2025-09-16 17:54:46 +03:00
Stefan Ceriu cf9df8a8e1 Reduce code block font point sizes by 10% on the new attributed string builder. 2025-09-16 17:54:46 +03:00
Stefan Ceriu f8cca30164 Add back missing user indicator toast snapshots. 2025-09-16 17:54:46 +03:00
Stefan Ceriu 350abd0ad7 Fix traling new lines appearing in attributed string when sending text separated by 2 new lines. 2025-09-12 18:09:18 +03:00
Stefan Ceriu 72b99d89dd Add a message property to user indicator's and have it be rendered properly on modal indicator.s 2025-09-12 17:38:19 +03:00
Doug c2ac60f1e6 Add support for joining rooms from a space. (#4501)
* Add support for joining rooms from a space.

Doesn't yet handle the Join button 🤔

* Handle the join button for both rooms and spaces.

Also refactor more instances of spaceRoom to spaceRoomProxy.
2025-09-11 16:41:19 +01:00
Stefan Ceriu a3a30bfc12 Rename the formatted body text snapshots and regenerate them 2025-09-10 14:52:00 +03:00
Stefan Ceriu 4bf487f104 Update snapshots 2025-09-09 17:17:40 +01:00
Stefan Ceriu 561c98c966 Adapt old AttributedStringBuilder tests to the new version and update the HTML fixtures 2025-09-09 17:17:40 +01:00
Stefan Ceriu bc55cf4a10 Add support for ordered and unordered lists. 2025-09-09 17:17:40 +01:00
Stefan Ceriu d982f86320 Overhaul the FormattedBodyText previews 2025-09-09 17:17:40 +01:00
Stefan Ceriu af7a3a24f6 Add an initial version of the V2 AttributedStringBuilder 2025-09-09 17:17:40 +01:00
Doug 20b57d0ad7 Add the sheet for expanding the space description. (#4475)
* Start working on space description

* Hook up presentation of the SpaceScreenDescriptionView.

* Make the SpaceScreenDescriptionView more accessible and apply a background colour.

* Refactor and move sheet presentation to the header view.

---------

Co-authored-by: amshak <85162587+amshakal@users.noreply.github.com>
2025-09-08 12:07:08 +01:00
Mauro Romito 5be7967f94 increase line limit for name in FileRoomTimelineView 2025-09-05 15:07:27 +02:00
Doug 53eb1c1718 Allow joined rooms to be pushed within a space. (#4460)
* Allow joined rooms to be pushed within a space.

* Push a room in the space flow tests.

Also fixes some snapshots stale snapshots.

* Show the selected space/room within a space and set a custom title view.
2025-09-03 17:48:49 +01:00
Doug d119964d50 Space flow improvements. (#4430)
* Space flow improvements

- Use a state machine to select a space.
- Add a SpaceFlowCoordinator for recursively presenting subspaces.
- Get the spaceRoomListProxy when tapping on the space so we can indicate failures.
- Fix the total room count in SpaceListScreen.

* Refactor spaceRoom → spaceRoomProxy.

* Add a UI test for the Spaces flow.
2025-08-22 15:49:47 +01:00
amshak bb5deb9c50 Make the room list filters smaller. (#4432) 2025-08-22 14:46:39 +01:00
Copilot 8c38c11146 Add a Low Priority room filter behind a feature flag. (#4394)
* Add Low Priority room filter with incompatibility rules

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

* Add a feature flag and use the SDK filters.

* Fix filter tests and add RoomSummaryProvider tests for the default filters.

* Remove unnecessary comment.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2025-08-20 11:56:44 +01:00
Doug 8000dbe29f Add a SpaceScreen for listing rooms and subspaces within a space. (#4412) 2025-08-14 16:24:20 +00:00
Doug 3dc6d73899 Add SpaceRoomCell & Space…ProxyProtocols and use them on the SpaceListScreen. (#4404) 2025-08-13 12:06:29 +01:00
Mauro 5ab6f90863 Last Owner should edit admins, and not leave when is last (#4372) 2025-08-07 08:40:14 +00:00
Doug f59a93d1a9 Initial setup for the SpaceListScreen. (#4380) 2025-08-05 11:06:26 +01:00
Mauro 731d60b6e9 Restore permissions to creator and display them as owners in the list (#4369)
* restore permissions to creator and display them as owners in the list

* improved the code to use actually 5 roles in the app to distinguish a real creator from an owner
2025-07-31 16:52:55 +02:00
Doug 01033cf53e Add support for Space avatars. (#4362) 2025-07-29 12:20:13 +01:00
Stefan Ceriu 82c7dfe28d Update message composer design for unencrypted rooms (#4361)
* Update message composer design for unencrypted rooms.
* Move the encryption banner to the composer toolbar.
2025-07-28 19:21:13 +03:00
Mauro Romito 8a66cbad68 - 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
Doug bd423daf1b Fix the contrast on mention pills. (#4313) 2025-07-14 08:57:49 +01: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
Mauro 1a6655fb14 Change the order of timeline media visibility UI (#4294)
* change the order of timeline media visibility UI

* updated tests
2025-07-07 10:40:02 +00: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
Doug 1c2d77217f Update the project for Xcode 16.4 (#4277) 2025-07-02 15:13:52 +01:00
Doug e0914e4889 Replace the Report a Problem button with the app's version on the start screen. (#4262)
Tapping it 7-times will secretly reveal the bug report screen 🤫
2025-06-27 10:09:35 +01:00
Mauro Romito b164f872eb updated tests 2025-06-17 12:56:19 +02:00
Mauro Romito 670bb3a2f3 improved the accessibility labels for the view
also added copies for the section headers, and fixes an issue where the move action voice over was not reading the option
2025-06-16 11:31:17 +02:00
Stefan Ceriu 5315f962c6 Render the number of thread replies on the thread summary timeline view. 2025-06-12 16:54:53 +03:00