127 Commits

Author SHA1 Message Date
Doug
4d7d687954
Start fixing flakey tests ❄️ (#3329)
* Wait longer on authentication flow tests.

* Move default perceptualPrecision value into the snapshot preferences.

* Delay snapshots *before* setting up the test.

* Reset the simulators on GitHub before running?

* Remove a test that is now handled by Rust.

* Fix a test that was yielding.
2024-09-26 16:09:01 +01:00
Doug
864bd23d35
Use a plain view for reactions instead of a TabView. (#3328)
We don't use any of the TabView features and it shows a tab bar at the bottom when the list is long.
2024-09-25 11:00:18 +01:00
Doug
d2d3b28dc7 Use an environment variable to record failures. 2024-09-23 16:25:49 +01:00
Doug
d41dd47b51 Update Preview tests for Xcode 16. 2024-09-23 16:25:49 +01:00
Doug
3514eba4a5 Split up the generated tests from the snapshotting code. 2024-09-23 16:25:49 +01:00
Doug
63a0a99dbd
Use the new strings for send failures when the unsigned devices are your own. (#3299) 2024-09-18 10:48:16 +01:00
Doug
5078f571ed
Push the deactivate account screen. (#3297) 2024-09-18 10:21:48 +01:00
Doug
5625e78fc9
Add support for account deactivation when not using OIDC. (#3295) 2024-09-17 20:08:35 +01:00
Doug
6efbf6117f
Allow registration on matrix.org using a custom helper URL. (#3282) 2024-09-16 13:05:22 +01:00
Mauro
0d9d8f9fa4
Sdk v1.0.47 (#3265) 2024-09-11 15:55:15 +02:00
Stefan Ceriu
84a3ffc135 Require a specific snapshotting device minor OS version when running PreviewTests 2024-09-11 15:24:25 +03:00
Stefan Ceriu
65bacfaae3 Fixes #3173 - Force frame sizes for timeline items that are missing sizing info. 2024-09-11 15:24:25 +03:00
Mauro
ed67a29277
Added a pin icon (#3257) 2024-09-11 10:40:11 +00:00
Stefan Ceriu
bef892451e
Add a banner that offers the user to transition to native sliding sync (#3252)
* Fixes #2508 - Offer user to transition to SSS

* Rename `HomeScreenBannerMode.shown` to `HomeScreenBannerMode.show`

* Generate and use preview tests for the migration banner

* Bump the RustSDK to v1.0.46

* Address PR review comment
2024-09-11 08:21:27 +03:00
Doug
cc4942fb78
Require acknowledgement to send to verified users who have unsigned devices or have changed their identity. (#3215)
* Refactor HeroImage style.

* Add a screen to resolve (crypto-related) timeline item send failures.

* Refactor send failures.

* Update the SDK.
2024-09-10 09:56:11 +01:00
Mauro Romito
1a3378f6d3 tweaks for the RC 2024-09-09 18:01:16 +02:00
Stefan Ceriu
d88440dda4 Fix post-merge snapshots tests. 2024-09-09 15:22:29 +03:00
Stefan Ceriu
2f6fea29f3
Replace Prefire with a very similar but simpler and more direct approach (#3232)
* Replace Prefire with a very similar but simpler and more direct approach

* Move PreviewTest snapshots to their new location (snapshotting default, mirrors UITests)

* Update acknowledgements

* Switch snapshot configuration extensions to a custom version

* Exclude snapshots from the PreviewTests target

* Fix acknowledgements

* Rename snapshotting preference keys

* Remove `skipPackagePluginValidation`
2024-09-09 15:07:41 +03:00
Stefan Ceriu
a0eafe26c3 Fixes #3147 - Remove the sliding sync proxy wait list 2024-09-09 12:41:28 +03:00
Stefan Ceriu
6759a66533 Fixes #3146 - Remove the account migration screen 2024-09-09 12:41:28 +03:00
Stefan Ceriu
302df1879e Tweak the EncryptionReset root screen copy. 2024-08-30 15:07:23 +03:00
Stefan Ceriu
32e1e1aa24 Add a logout option on the root of IdentityVerification screen. 2024-08-30 15:07:23 +03:00
ElementRobot
6bd9d2526a
Translations update (#3201)
Update snapshots too.
2024-08-27 12:10:49 +01:00
Mauro
993fe8cd36
TimelineKind refactor (#3193) 2024-08-22 18:33:21 +00:00
Mauro
4eb1ed5d09
Pinned Events Timeline actions and differentiation (#3182) 2024-08-22 17:35:44 +02:00
Mauro
1ad361a6e8
RoomScreenViewModel is now TimelineViewModel (#3157)
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2024-08-13 13:36:40 +02:00
Stefan Ceriu
5eda85a171 Fixes #3144 - Stop showing filters when the room list is not in the rooms display mode 2024-08-13 09:49:05 +03:00
Mauro
ed7d3b0b13
Navigate to the Pinned events timeline (#3139) 2024-08-08 18:29:39 +02:00
Stefan Ceriu
e5c97ec9a4 Addition to #3122 - Force the room list search text field to always be displayed
- while looking into fixes we noticed that we can more easily break the layout when the search field is automatically hidden
2024-08-07 17:54:28 +03:00
Doug
e2712f6b0a
Finalise strings/icons for EncryptionAuthenticity. (#3121) 2024-08-06 15:03:11 +01:00
Mauro
08347e15a5
Pinned events banner loading state (#3118) 2024-08-06 15:46:56 +02:00
Doug
e667be0f43
Add Encryption Authenticity explanations. (#3116) 2024-08-06 10:45:46 +01:00
Mauro
ff2c42d53b
Pinned items timeline implementation for the banner (#3099) 2024-08-05 14:09:05 +02:00
Valere
a11faeb131
Show Encryption Authenticity warnings on messages in the timeline. (#3051)
* Initial implementation.

* Add developer option for showing timeline item authenticity.

* Refactor code to use new SendInfo.Status.

---------

Co-authored-by: Doug <douglase@element.io>
2024-08-05 11:15:38 +00:00
Stefan Ceriu
63e0b94764
Crypto identity reset (#3107)
* Add EncryptionReset password entry screen

* Expose client proxy identity reset method

* Update the IdentityConfirmationScreen to the latest designs

* Replace the old recovery key reset screen with a new EncryptionReset one

* Fixes #3102 - Add support for resetting the user's whole crypto identity

* Address review comments

* Bump the SDK to v1.0.30
2024-08-05 09:35:18 +03:00
Doug
a2ea9c4a06
Refactor TimelineItemSendInfo out of the styler. (#3100)
* Reorder some properties.

No code changes.

* Refactor TimelineItemSendInfo out of the styler.

* Add (unused) examples of encryption shields.

* Rename file.
2024-07-30 09:43:17 +01:00
Doug
0fab3a8afc
Add the inviter to JoinRoomScreen when it's an invite. (#3093)
* Add inviter property to RoomProxyProtocol.

* Extract the room cell inviter label into it's own view.

* Use the new RoomInviterLabel in the JoinRoomScreen.

* Fix bug with invite to a public room.
2024-07-29 09:57:49 +01:00
Stefan Ceriu
f44c0765f8 Fixes #3078 - Trim number of resolved alias vias and always default to a join button in the room preview screen 2024-07-24 16:44:27 +03:00
Mauro
37786b8fad
Hide/Show pin banner based on scroll direction (#3080) 2024-07-24 12:15:36 +02:00
Mauro
5cb44ee60c
Pinned Items Banner UI (#3072) 2024-07-22 12:57:04 +00:00
Stefan Ceriu
f1de42a1f3 Fixes #2840 - Use both the room list room and the room preview details to populate the join room screen
- the room summary API is indeed enabled on matrix.org and working fine for most rooms
- it is not however capable of giving us data about non-joined + private rooms
- the SDK addresses that by first trying to use known rooms before resorting to the preview endpoint
- that fails if it's a brand new room that the client doesn't know about yet i.e. a sync hasn't ran, which is exactly what's happening here
- the ClientProxy instead does wait for the room list to go into the first loaded before returning the room
2024-07-18 20:11:54 +03:00
Mauro
d437e1f3ed
Pinning items Feature Flag (#3063) 2024-07-18 18:28:30 +02:00
Doug
7fbdc2c20f
Use the same UI as Android when tapping a link to a private room. (#3044)
* Use the same UI as Android when tapping a link to a private room.

* Fix preview of knocking.

* Fix snapshots.
2024-07-18 15:58:17 +01:00
Doug
d295a1e4c2
Upgrade Compound. (#3039)
Remove conflicting Introspect package dependency.
2024-07-16 09:22:53 +01:00
Doug
c92c6a28ae
Upgrade the project to use Xcode 15.4 (#3027)
* Update snapshots for Xcode 15.4

* Update CI.

* Fix crashing UI test.

* Fix compile error in Integration Tests.

* Try putting UI tests on GH runners again.
2024-07-11 17:38:32 +01:00
Doug
bf9e1d614f Follow-up for translations PR. 2024-07-08 13:09:22 +01:00
Stefan Ceriu
d71c8c4e83
Use local room list sorting from Rust. (#2978)
* Switch to the new local room list sorting API

* Get rid of the RoomSummary enum, replace it by the inner RoomSummaryDetails

* And finally, rename RoomSummaryDetails to RoomSummary

* Fix a bunch of warnings

* Small tidy up post rebase/review.

- Remove unused invalidated property.
- Rename some RoomSummary instances to summary instead of details.
- Fix tests with missing roomListItem's.

* Update snapshots

---------

Co-authored-by: Doug <douglase@element.io>
2024-07-05 10:10:53 +01:00
Mauro
064b1bf224
Remove plain style layout (#2980) 2024-06-27 16:53:19 +02:00
Mauro
342cfc0d3f
Hide timeline style selection (#2968) 2024-06-26 12:42:12 +02:00
Doug
834260c144
Use the room heroes when computing a DM avatar. (#2900)
* Use room heroes for DM avatar content ID.

* Use RoomAvatar.heroes for the DM Details stack.
2024-06-19 10:27:10 +00:00