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
57ec491bac
Fixes #4529 - Order out of order ordered list ordering order
2025-09-26 10:48:56 +03:00
Stefan Ceriu
063d0e4f52
Properly use the new hideBrandChrome in the AuthenticationStartLogo
2025-09-24 15:00:30 +03:00
Doug
a9f91c25c2
Update the SDK and Element Call. ( #4527 )
...
* Update Element Call to RC3
* Update the SDK.
* Add feature flag for latest event sorter.
2025-09-19 18:06:48 +01:00
Stefan Ceriu
a2fffe35f0
Implement link previews for text messages using Apple's LinkPreview framework ( #4520 )
2025-09-19 12:48:09 +00:00
Stefan Ceriu
afc09fd618
Add an app setting to disable rendering the chrome around the app logo/brand.
2025-09-19 15:15:25 +03:00
Doug
780af95968
Add the JoinRoomScreen into the SpaceFlowCoordinator. ( #4513 )
...
* Add the JoinRoomScreen into the SpaceFlowCoordinator.
The screen needs further work to make the join work.
* Fix the tests completing the join flow with the right action.
2025-09-17 15:12:45 +01: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
7dd34400e4
Add support for HTML img tags (their alts) on the new AttributedStringBuilder
2025-09-16 17:54:46 +03:00
Doug
f6d3992601
Add the intent system back to call widget URL creation. ( #4511 )
...
Add the intent system back to widget URL creation.
Also updates the SDK handling API changes.
2025-09-16 08:36:10 +01: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
Doug
6a12b30897
Revert "Add intent system to widget URL creation. ( #4427 )" ( #4504 )
...
This reverts commit e2bd3edee7 .
2025-09-12 10:30:39 +01: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
Copilot
e2bd3edee7
Add intent system to widget URL creation. ( #4427 )
...
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-09-11 10:03:15 +01:00
Stefan Ceriu
8d59d627fc
Disable the next gen HTML parser after when tearing down V2 tests
2025-09-10 14:52:00 +03:00
Stefan Ceriu
8e257b40c5
Preserve the formatting of parentless text nodes
2025-09-10 14:52:00 +03:00
Stefan Ceriu
764b24cacf
Fix test that's failing on CI but works locally.
2025-09-09 17:17:40 +01:00
Stefan Ceriu
94a2b86283
Add proper separated blockquotes fixtures and fix the tests.
2025-09-09 17:17:40 +01:00
Stefan Ceriu
9bbff69c69
Mark code blocks with a special attribute and strip away links from them.
2025-09-09 17:17:40 +01:00
Stefan Ceriu
69894ece62
Limit H1, H2 to the H3 point size.
2025-09-09 17:17:40 +01:00
Stefan Ceriu
ee3caf5205
Merge together the AttributedStringBuilder V1 and V2 tests.
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
a92a7f6211
Add unit tests for the new AttributedStringBuilder, initially as a copy of the old ones.
2025-09-09 17:17:40 +01:00
Doug
dd387a7aa2
Revert weak media provider ( #4483 )
...
* Revert "Address the real lifetime issue of the SDK's `Client` by making `Context.mediaProvider` weak. (#4466 )"
This reverts commit b9d1558216 .
* Better docs.
2025-09-08 17:48:58 +01: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
Doug
b9d1558216
Address the real lifetime issue of the SDK's Client by making Context.mediaProvider weak. ( #4466 )
...
This reverts commit 8d069fb74c .
2025-09-05 17:18:14 +00: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
02dce32487
Fix a bug where invites would be hidden when the Low Priority feature is enabled. ( #4461 )
2025-09-03 17:15:25 +01:00
Doug
26eda3ccfd
Move call presentation from the chats flow into the user session flow. ( #4459 )
2025-09-03 17:01:07 +01:00
Doug
811f02962d
Use the Emoji/Map/Poll view models. ( #4458 )
...
* Toggle emojis in the EmojiPickerScreenViewModel.
* Send locations in the StaticLocationScreen.
* Send polls in the PollFormScreen.
2025-09-03 16:52:28 +01:00
Doug
b731c9f2d0
Use the SDK's SpaceService, SpaceRoom and SpaceRoomList. ( #4455 )
2025-09-01 15:22:37 +01:00
Doug
cda1872b8f
Use the UserSession for VoiceMessageMediaManager injection too.
2025-08-27 18:13:03 +01:00
Doug
196fb5d02a
Bundle ClientProxy & MediaProvider injections together in UserSession.
2025-08-27 18:13:03 +01:00
Doug
8c68ec3b83
Introduce flow parameters to simplify dependencies for child flows. ( #4448 )
2025-08-27 12:56:06 +00:00
Doug
8b5d920745
Remove unnecessary awaits on RoomFlowCoordinator.init. ( #4434 )
2025-08-22 16:13:53 +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
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
c5d04e7c10
Fix some app route navigation bugs. ( #4415 )
...
- Opening a notification would update the stack with an animated pop.
- Opening a permalink from the timeline wouldn't push the room as a child.
2025-08-15 10:34:01 +01:00
Doug
de0a7ab30a
Fix a bug where the image upload screen was unintentionally dismissed for some failures. ( #4414 )
2025-08-14 17:19:57 +00: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
Copilot
d5df52db59
Remove unreachable guard condition in String.asciified() ( #4395 )
2025-08-08 11:31:15 +01:00
Doug
2bbba6e4e0
Fix some SwiftLint warnings.
2025-08-08 10:33:08 +01:00
Doug
27757ee5d1
Move the Settings flow from the Chats flow up one level to the UserSession flow. ( #4390 )
...
* Add the basis for a state machine to UserSessionFlowCoordinator.
* Move the Settings flow from the Chats flow to UserSession flow.
It now works from the Spaces tab.
* Add a StateMachineFactory and use it to publish the state in the tests.
2025-08-07 12:13:02 +00: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
Doug
3adf8b0610
Implement tab bar badges, visibility and selection. ( #4373 )
2025-08-05 09:23:45 +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
6133a563cf
Hide the tab bar whilst we're working on it and add some tests.
2025-07-31 14:09:26 +01:00