Commit Graph

209 Commits

Author SHA1 Message Date
Andy Balaam
7b1bce078f Update the strings for the device verification flow (#4553) 2025-09-30 09:15:30 +01:00
Doug
a3d7d5dfe8 Show space invites in the room list. (#4545) 2025-09-29 13:57:58 +01:00
Stefan Ceriu
041f6bb335 Update preview test snapshots 2025-09-26 17:20:41 +03:00
Stefan Ceriu
4ee46edac4 Regenerate snapshots for OS26 2025-09-26 17:20:41 +03:00
Mauro Romito
dbe5bb35b4 more fixes and preview tests updated 2025-09-26 16:38:55 +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
Stefan Ceriu
f90e79e475 Prevent the gradient background from being incorrectly rendered everywhere the placeholder screen is used. 2025-09-25 10:50:10 +03:00
Stefan Ceriu
063d0e4f52 Properly use the new hideBrandChrome in the AuthenticationStartLogo 2025-09-24 15:00:30 +03:00
Stefan Ceriu
a38c608010 Update generated file headers after Sourcery bump. 2025-09-24 07:47:43 +03:00
Stefan Ceriu
a2fffe35f0 Implement link previews for text messages using Apple's LinkPreview framework (#4520) 2025-09-19 12:48:09 +00:00
Mauro Romito
6ce7f519b0 added tests for the room header view 2025-09-16 18:26:03 +02:00
Stefan Ceriu
7236c491d5 Remove extra new line before list items and useless paragraph style 2025-09-16 17:54:46 +03:00
Stefan Ceriu
1bbeb535a1 Reduce code block font point sizes by 10% on the new attributed string builder. 2025-09-16 17:54:46 +03:00
Stefan Ceriu
0f239766e9 Add back missing user indicator toast snapshots. 2025-09-16 17:54:46 +03:00
Stefan Ceriu
93897495e2 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
409fbe1ea4 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
940801f400 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
791f9f5a43 Rename the formatted body text snapshots and regenerate them 2025-09-10 14:52:00 +03:00
Stefan Ceriu
1efcbcb885 Update snapshots 2025-09-09 17:17:40 +01:00
Stefan Ceriu
b90d4b6618 Adapt old AttributedStringBuilder tests to the new version and update the HTML fixtures 2025-09-09 17:17:40 +01:00
Stefan Ceriu
9796a9d928 Add support for ordered and unordered lists. 2025-09-09 17:17:40 +01:00
Stefan Ceriu
d28d25f3d1 Overhaul the FormattedBodyText previews 2025-09-09 17:17:40 +01:00
Stefan Ceriu
4ac805be19 Add an initial version of the V2 AttributedStringBuilder 2025-09-09 17:17:40 +01:00
Doug
e107fdc4c0 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
3d85f3de8c increase line limit for name in FileRoomTimelineView 2025-09-05 15:07:27 +02:00
Doug
039084966a 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
da77e30be6 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
7f2f1e6e0e Make the room list filters smaller. (#4432) 2025-08-22 14:46:39 +01:00
Copilot
9fab9f9c9a 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
1e5a5b36b2 Add a SpaceScreen for listing rooms and subspaces within a space. (#4412) 2025-08-14 16:24:20 +00:00
Doug
f8f3643ceb Add SpaceRoomCell & Space…ProxyProtocols and use them on the SpaceListScreen. (#4404) 2025-08-13 12:06:29 +01:00
Mauro
979f526f19 Last Owner should edit admins, and not leave when is last (#4372) 2025-08-07 08:40:14 +00:00
Doug
fead5ff191 Initial setup for the SpaceListScreen. (#4380) 2025-08-05 11:06:26 +01:00
Mauro
5a87fb4f92 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
44de05e185 Add support for Space avatars. (#4362) 2025-07-29 12:20:13 +01:00
Stefan Ceriu
be6716b30a 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
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
Doug
7ee8ec9ef2 Fix the contrast on mention pills. (#4313) 2025-07-14 08:57:49 +01: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
Mauro
edc1a1a76a 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
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
Doug
2e602dea07 Update the project for Xcode 16.4 (#4277) 2025-07-02 15:13:52 +01:00
Doug
5d8875c12c 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
132a74ec67 updated tests 2025-06-17 12:56:19 +02:00
Mauro Romito
4f1c10b555 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
9309b543b8 Render the number of thread replies on the thread summary timeline view. 2025-06-12 16:54:53 +03:00
Stefan Ceriu
b75099a1d4 Add "reply in thread" timeline item action menu entry. 2025-06-10 15:09:20 +03:00
Stefan Ceriu
b2b38e0f80 Tweak the thread summary design 2025-06-10 15:09:20 +03:00
Stefan Ceriu
822f347dc2 Move composer specific designs to the composer toolbar. 2025-06-10 08:57:08 +03:00
Mauro Romito
186501a848 added a TombstonedAvatarImage view to be used for the .tombstoned case 2025-06-06 10:49:29 +02:00