Commit Graph

1429 Commits

Author SHA1 Message Date
Doug da598302df Add more flexible background support to FullscreenDialog (#2675)
Hide the background when the main content extends underneath the bottom content.
2024-04-10 14:56:41 +01:00
Mauro bcd7e2254c QR Code scan view (#2674) 2024-04-10 10:47:23 +00:00
Stefan Ceriu 064626fbbe element-hq/element-x-ios/issues/2670 - Show invites as part of the room list 2024-04-09 18:18:11 +03:00
Doug 0856891733 Final design for pending members when changing roles. (#2668)
* Final design for pending users when changing role.

* Remove room moderation feature flag.

* Fix tests.

* Run periphery.

* Update snapshots.
2024-04-09 12:00:11 +01:00
Mauro c61135f88c QR Code Login Initial view state (#2667) 2024-04-09 12:21:14 +02:00
Doug bc75fe1cf8 Fix child presentation of the same room. (#2669) 2024-04-09 11:11:14 +01:00
Doug 761824fa0d Tweak internal/external deeplink handling (#2664)
* Add a childRoom AppRoute.

* Add a tests for child room routes.
2024-04-08 16:44:03 +01:00
Stefan Ceriu 446aab58de Fixes ELEMENT-97277 - Be less aggressive on recovery key states 2024-04-08 18:30:16 +03:00
Stefan Ceriu 1ff4c02782 Tone down new onboarding flow recovery fatal error after a lot of crash reports on sentry 2024-04-08 18:30:16 +03:00
Stefan Ceriu 1ffc718cec element-hq/element-x-ios/issues/2395 - Slightly tweak the unread invites logic, add more logs 2024-04-08 14:56:02 +03:00
Stefan Ceriu d996c69a66 Small recently visited room tweaks following PR review 2024-04-08 14:56:02 +03:00
Velin92 eddc650f68 Translations update 2024-04-08 08:04:11 +03:00
Doug 181753e43d Update appearance of admins when changing moderators. (#2654) 2024-04-05 12:19:46 +01:00
Mauro 023b7fc608 Reset Recovery Key Screen (#2648)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2024-04-04 16:14:22 +00:00
Stefan Ceriu 97d9189077 Fixes #2624, fixes #2625 - Add user suggestions in the create room flows. 2024-04-04 16:45:10 +03:00
Stefan Ceriu c85c1593ee Cleanup proxy errors
- proxy errors have been getting repetitive and not particularly useful
- differentiate between sdk and client errors and keep what provides value
- add error logs everywhere a failure occurs
2024-04-04 14:22:56 +03:00
Doug 3418d24557 Allow RoomFlowCoordinator to start a child flow. (#2644) 2024-04-04 11:30:38 +01:00
Mauro df242e3f1c FF for QR code login + Login with qr code button (#2643) 2024-04-04 08:37:42 +00:00
Stefan Ceriu 3fea635d67 Attempt to fix the test on CI 2024-04-03 20:31:29 +03:00
Mauro b4d96004fe Prevent crashes when mentioning users on macOS (#2630)
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2024-04-03 12:18:43 +02:00
Stefan Ceriu cb585eef5f Fixes #2618 - Allow dashes in room identifiers 2024-04-02 14:19:35 +03:00
Stefan Ceriu 834a830952 Use RustSDK permalink builders:
- replace event permalinks on the room screen interaction handler
- replace the one use don the room details screen
- deprecate previous AttributedStringBuilder methods
- there's more work required on the AttributedStringBuilder mentions handler before we can completely drop the iOS implementations
2024-04-02 14:19:35 +03:00
Stefan Ceriu 2e6c5c036a FIxes #2602 - Fix pushers not being registered on re-login after recent Onboarding changes 2024-04-02 13:26:03 +03:00
Stefan Ceriu 27605da0bb Fix secure backup recovery key screen snapshots following translation update. 2024-04-01 13:35:55 +03:00
Velin92 96229a6695 Translations update 2024-04-01 11:36:51 +03:00
Stefan Ceriu 183a559e10 Bump the RustSDK to v 1.1.54 2024-03-28 15:15:48 +02:00
Doug b37dca253b Update RTE allowing Xcode 15.3 to be used. (#2614)
* Update RTE allowing Xcode 15.3 to be used.

* Don't actually use Xcode 15.3 yet, it isn't supported on GitHub 🤦‍♂️

* Revert Xcode 15.3 format changes.
2024-03-28 08:46:13 +00:00
Stefan Ceriu 5665c67e6e Fix RoomDetailsEditScreen snapshot rendering issues by switching their order. The root problems seems to be async related but we couldn't get to the bottom of it. Take this opportunity to refactor the snapshots. 2024-03-27 15:32:14 +02:00
Stefan Ceriu f9fa3755ad Reduce reply view snapshot precision because of random imageSource rendering 2024-03-27 15:32:14 +02:00
Doug 144f3a7fc4 Hard code the room flow to a single room proxy. (#2599)
* Don't give the room flow a split coordinator any more.
2024-03-27 10:56:58 +00:00
Doug e424a02a2b Fix various bugs in the moderation feature. (#2608)
* Fix search field string.

* Show your own user as an Admin when changing roles.

* Also show invited users when changing roles.

* Don't allow admin's to kick/ban other admins or themselves.

* Fix a bug when left members were counted as admins/moderators.

* Show when a member is pending.

* Add sections to the change role screen.
2024-03-27 10:33:40 +00:00
Doug bb725db6bb Fix ReplyView when its content has been redacted. (#2606) 2024-03-27 10:16:26 +00:00
Stefan Ceriu be9cf8713e Fixes #2518, fixes #2590 - Implement public room search list paginati… (#2607)
* Fixes #2518, fixes #2590 - Implement public room search list pagination and room joining

* Address PR comments
2024-03-27 10:50:53 +02:00
Stefan Ceriu d72fa02ac6 Fixes #2609 - Add trophy icon next to the winning poll option (#2610)
* Fixes #2609 - Add trophy icon next to the winning poll option

* Address PR comments
2024-03-27 10:50:32 +02:00
Stefan Ceriu 92eaa7075a UI test cleanup (#2598)
* Stop running the UI tests on the double localized pseudolanguage

* Fix UI tests signalling comms problem because the json key ordering wasn't defined and the messages wouldn't match.

* Remove UI tests that are now the same as preview tests (i.e. non flow based, only screen based), fixed the rest so they run on iOS 17.2, the iPhone 15 and iPad 10th gen simulators.

* Remove unnecessary gitignore instructions, change UI test snapshot naming convention to be more similar to the unit test ones

* Enable derived data and spm checkout caching for UI tests

* Switch UI tests back to the perf-only runner, moved the integration tests to the iPhone 15 Pro simulator.

* Address PR comments
2024-03-25 17:34:11 +02:00
Velin92 6b4ad079e2 Translations update 2024-03-25 10:45:09 +02:00
Stefan Ceriu 618f22c892 Bump the RustSDK to v1.1.52 2024-03-22 16:12:24 +02:00
Doug b711beba50 Don't require verification on debug builds. (#2596)
* Don't require verification on debug builds.

* Add a skip button in debug builds instead.

* Fix preview tests.
2024-03-22 10:31:32 +00:00
Mauro 562e5e739d Public Search View (#2585)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2024-03-21 14:34:35 +00:00
Stefan Ceriu a62c96f1c5 Onboarding flow coordinator and FTUE changes (#2578)
Fixes #2595, fixes #2594, fixes #2593, fixes #2592, fixes #2591
2024-03-21 14:01:23 +02:00
Stefan Ceriu 9e6b6ba60a Remove pinned views from the home screen room list header, potential fix for various layout issues. 2024-03-21 13:36:17 +02:00
Doug 3ba34c0704 Final changes for Room Moderation (#2576)
* Add confirmation that the user would like to discard unsaved changes.

* Update string on permissions screen.

* Fix UI tests and update snapshots.

* Fix integration tests.

* Run periphery for Moderation feature.
2024-03-15 13:41:23 +00:00
Mauro 7611123ae1 Send UTD occurences to Posthog (#2575)
Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2024-03-15 00:42:44 +01:00
Doug c68ec2c382 Add analytics for Room Moderation. (#2571)
* Add an option to use analytics locally.

* Add analytics for Room Moderation.

* Update tests.

* Include the role in the event where appropriate.

* Update the AnalyticsEvents package.
2024-03-14 15:55:37 +00:00
Doug d2a9db874d Fix some preview snapshot tests. (#2574)
* Fix RoomRolesAndPermissionsScreen preview snapshot setup.

* Fix reference snapshot.
2024-03-14 13:47:26 +00:00
Doug c56a98033d Revert "Show room member role changes in the timeline." (#2573)
Until we can handle filtering Rust side, this causes more issues than its worth.
2024-03-14 11:01:23 +00:00
Mauro f4734a44d1 Typing notifications string fix (#2572) 2024-03-14 11:14:49 +01:00
Mauro c001b65353 Possible fix for filters view sticking in the middle of the room list (#2570) 2024-03-13 16:21:39 +00:00
Doug 1c914c314f More Moderation tweaks (#2566)
* Show room member role changes in the timeline.

* Fix a bug in room flow coordinator.

* Tidy up roles and permissions flow.

* Refresh the power levels in the room details screen.

* Automatically update permissions after saving.

* Remove extra button.

* Add a short delay to the roles and permissions screen snapshots.
The permissions rows are now in a loading state initially.
2024-03-13 15:36:38 +00:00
Doug 9d68d9e250 Pull renamed strings and fix compilation errors. (#2560)
* Pull renamed strings and fix compilation errors.

* Including all languages of course 🤦‍♂️
2024-03-13 10:15:54 +00:00