195 Commits

Author SHA1 Message Date
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
Stefan Ceriu
63a474bb3f Stop showing "Preview unavailable" while loading room preview details on the JoinRoomScreen 2024-06-14 17:33:02 +03:00
Mauro
cefa38049f
Store and restore drafts (#2898) 2024-06-13 12:19:38 +00:00
Stefan Ceriu
a2faae20c2 Allow showing the developer options on any build type by tapping the settings screen version footer 7 times (a la android) 2024-06-12 13:07:00 +03:00
Stefan Ceriu
f11a610f46
Rollback dependencies in an attempt to fix EX snapshot tests (#2918)
* Rollback dependencies in an attempt to fix EX snapshot tests

* Rollback snapshots as well

* Rollback Prefire only
2024-06-12 10:46:44 +03:00
Stefan Ceriu
7ba1e491fa Update failing snapshots 2024-06-11 18:09:43 +03:00
Stefan Ceriu
bb038e8064 Fix reaction summary and poll history snapshots 2024-06-10 10:46:24 +03:00
Doug
8a52ed0cb6
Update Compound. (#2906)
* Update Compound.

* Remove LFS hack from the docs.

* Fix preview tests

---------

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2024-06-07 12:25:24 +03:00
Mauro
ee473b54a1
updated strings for the dclined state of qr code (#2895) 2024-06-03 11:52:16 +02:00
Stefan Ceriu
97e57e6666 element-hq/element-x-ios/issues/2876 - Add support for showing call notifications in the timeline 2024-05-31 13:32:47 +03:00
Mauro
4e23f7be22
QR Code Login Flow (#2767)
Co-authored-by: Hugh Nimmo-Smith <hughns@users.noreply.github.com>
Co-authored-by: Hugh Nimmo-Smith <hughns@element.io>
2024-05-29 17:07:17 +02:00
Stefan Ceriu
696d599773 Tweak the onboarding flow identity confirmation screen
- hide the recovery key option if recovery wasn't set up beforehand
- add a button to present the reset encryption instructions screen
2024-05-24 15:35:23 +03:00
Mauro
2c038c5969
DM Details have been updated (#2836) 2024-05-14 18:47:20 +02:00
Doug
b7d492c206
Add Forgot PIN button to AppLockSetupPINScreen. (#2833) 2024-05-13 15:41:35 +01:00
Mauro
ae06226cbc
UI update for room details (#2831) 2024-05-10 17:58:35 +02:00
Stefan Ceriu
136ecb125c Update FormattedBodyText snapshots: cover more cases and use sizeThatFits layout 2024-05-10 14:07:43 +03:00
Stefan Ceriu
a401976b2b Enable room list invites by default and remove old code paths 2024-05-09 19:01:57 +03:00
Mauro
783eab2a8a
UX Update for user profile screen and room member details (#2822) 2024-05-09 15:41:09 +00:00
Stefan Ceriu
636274df74
Seamlessly switch for the RichTextEditor based message composer to the… (#2753)
* Seemlesly switch for the RichTextEditor based message composer to the plain one depending on whether formatting options are enabled or not.

* Address PR comments

* Fixes #2803 - Add extra padding at the bottom of the composer suggestions list

* Update preview test snapshots

* Update UI test snapshots
2024-05-08 17:57:32 +03:00
Mauro
7b42c75ff9
Updated settings screen (#2791) 2024-05-07 12:53:46 +02:00
Mauro
6ca92c272a
Allow emotes in the menu to scroll if their size overflows the container (#2780) 2024-05-07 11:04:03 +02:00
ElementRobot
c398338335
Translations update (#2786)
Co-authored-by: Velin92 <Velin92@users.noreply.github.com>
Co-authored-by: Mauro Romito <mauro.romito@element.io>
2024-05-06 13:18:48 +02:00
Doug
d067e844da
Permalink polish (#2771)
* Fix unbalanced padding.

* Animate the scroll to an event when it is already loaded.

* Perform the timeline clearance immediately before replacing the items.
Hides the empty timeline that was briefly shown.

* Make switching timeline more resilient.
2024-05-02 17:51:38 +01:00
Mauro
18dc9cd20f
Account URL is now fetched async (#2769) 2024-04-30 19:08:32 +02:00
Doug
aaa8af2996
Public room search tweaks (#2750)
- Remove the "Join" button.
- Hide the extra bottom separator.
- Show an empty search result.
- Fix a bug where we would paginate and search simultaneously.
2024-04-29 10:01:48 +01:00
Valere
bd9a171c7c
Add specific UX for Expected UTDs due to membership (#2740)
* Add specific UX for Expected UTDs due to membership

* Update analytics package and snapshots.

* Add changelog
2024-04-26 17:22:01 +01:00
Doug
1b8d895e98
Fix some snapshots. (#2749) 2024-04-26 14:07:20 +01:00
Doug
76e7de40b5
Prepare for event focus and forward pagination (#2745)
Neither are available yet.
2024-04-25 18:32:33 +01:00
Stefan Ceriu
8581355372 Remove join room screen graphic and align platforms 2024-04-24 17:26:10 +03:00
Doug
5f98fdba44
Update strings with API breaks. (#2720) 2024-04-22 10:52:29 +01:00
Stefan Ceriu
effe3b6a9b
Membership aware room routes (#2709)
* Remove the invites button when room list invites are enabled

* element-hq/element-x-ios/issues/2632 - Handle room permalinks based on their membership state and show the according room joining screens:
- modify the room flow coordinator to only take a roomID and be able to decide its own room flows (especially for unjoined rooms)
- add support for the new room preview API
- have RoomDirectorySearch go through the same paths
2024-04-19 17:04:18 +03:00
Doug
b5f1d5947b
Add missing image provider to RoomChangeRolesScreenViewModel. (#2715)
* Add an assertion for a missing image provider.

* Pass an image provider to RoomChangeRolesScreenViewModel.

* Update snapshots.
2024-04-19 11:56:41 +01:00
Stefan Ceriu
43c132720d
Bring back the original native MessageComposerTextField, use it whe… (#2696)
* Bring back the original native `MessageComposerTextField`, use it when the Rich Text Editor one is disabled (advanced settings)
- this basically reverts parts of https://github.com/element-hq/element-x-ios/pull/1703
2024-04-15 15:41:34 +00:00