1254 Commits

Author SHA1 Message Date
Stefan Ceriu
2b040738e3 Reverse unwanted change 2023-11-29 18:31:29 +02:00
Stefan Ceriu
677ed367e1 Switch all state machine route mappints from matching (event, fromState) to (fromState, event) 2023-11-29 18:31:29 +02:00
Stefan Ceriu
e4788e615f Fixes #2179 - Open direct chat directly from the room member details screen 2023-11-29 18:31:29 +02:00
Stefan Ceriu
742a924037 Move presentation and coordination logic from the RoomDetailsScreenCoordinator and into the RoomFlowCoordinator 2023-11-29 18:31:29 +02:00
Mauro
9a8c4d4ae5
Revert "Search bar new room invite screen now always shows the nav bar on top" (#2189) 2023-11-29 16:25:16 +00:00
Nicolas Mauri
fcaed76494
Fix: added sample rate conversion for recording voice messages (#2188) 2023-11-29 15:20:02 +00:00
Doug
df89e43f89
Use ListRow on PollFormScreen. (#2183) 2023-11-29 09:57:35 +00:00
Alfonso Grillo
e7494164b2
Add TimelineProxy (update sdk to 0.0.7-november23) (#2178)
* Refactor RoomProxy

* Refactor paginateBackwards

* Refactor sendReadReceipt

* Refactor messageEventContent APIs

* Refactor sendMessage

* Refactor toggleReaction

* Refactor send attachments

* Refactor sendLocation

* Refactor cancel/retry send

* ⚠️ Fix encryption build errors

* Refactor editMessage

* Refactor retryDecryption

* Refactor fetchDetails

* Refactor polls APIs

* Refactor fetchMembers

* Refactor RoomTimelineProviderProtocol

* Update sdk to 0.0.7-november23

* Fix UTs

* Fix comment

* Delete old workaround

* Move TimelineProxyError

* Delete queue warnings

* Fix key listener

* Add pollHistory timeline property

* Refactor room/timeline subscriptions

* Delete unused code
2023-11-28 19:01:35 +00:00
Mauro
fb2bc1c39a
Search bar new room invite screen now always shows the nav bar on top (#2182) 2023-11-28 16:54:47 +00:00
Nicolas Mauri
7cc5990711
Fix the touch area size for the voice message button. (#2174) 2023-11-28 09:21:42 +00:00
Doug
45e4cbccee
App Lock: Don't rely on the app becoming active at startup. (#2175) 2023-11-27 16:52:33 +00:00
Mauro
36224a3daa
Improved File and Audio timeline layout (#2176) 2023-11-27 16:18:40 +00:00
Nicolas Mauri
aacb24bcf8
Fix a rendering issue when a message starts with a list (#1915) (#2152) 2023-11-27 16:24:51 +01:00
ElementRobot
5cb415348e
Translations update (#2170)
* Translations update

* Update strings from Localazy

---------

Co-authored-by: Velin92 <Velin92@users.noreply.github.com>
Co-authored-by: Nicolas Mauri <nicolasm@element.io>
2023-11-27 15:56:30 +01:00
Doug
3d76f06b0d
Remove the isPressed animation from the room attachment picker button. (#2173)
Fixes a bug where the presented sheet would show light mode buttons on a dark mode background when using the in-app appearance override.
2023-11-27 12:09:25 +00:00
Stefan Ceriu
026afed54a Fixes #2005 - Remove rooms from the room list after leaving them 2023-11-24 19:30:11 +02:00
Alfonso Grillo
0d9579d78e
Update poll form localization keys (#2167)
* Update poll form localisations

* Update localisation keys
2023-11-24 16:43:13 +00:00
Stefan Ceriu
4447829618 vector-im/element-meta/issues/2206 - Fix room avatars not showing up on the message forwarding screen 2023-11-24 18:13:36 +02:00
Doug
9a52dcf9ac
Add a state machine to AppLockFlowCoordinator. (#2166)
Fixes a bug when cancelling Face ID would loop back round to presenting Face ID.
2023-11-24 16:03:38 +00:00
Alfonso Grillo
81373b0d98
Update polls icons (#2163)
* Add new polls icons

* Fix preview tests

* Update UI tests

* Add polls reply view test
2023-11-24 14:39:53 +00:00
Stefan Ceriu
59eb253980 vector-im/element-meta/issues/2213 - Automatically pop the invites list when acting on the last one. Coming back from the room will go directly back to the room list 2023-11-24 15:56:53 +02:00
Stefan Ceriu
07eccbee8c
Fixes #1950 - Show a loading indicator while searching for people to … (#2158)
* Fixes #1950 - Show a loading indicator while searching for people to invite

* Address PR comments
2023-11-23 19:56:49 +02:00
Mauro
33d36826a2
Fixing a crash that happened when leaving the room through the details screen (#2160) 2023-11-23 17:24:37 +00:00
Alfonso Grillo
058429b637
Update rust sdk to 0.0.6-november23 (#2159)
* Update rust sdk to 0.0.6-november23

* Delete unused property
2023-11-23 16:26:44 +00:00
Alfonso Grillo
e583f52c65
Edit poll UX (#2151)
* Add edit poll on room proxy

* Add CreatePollMode

* Add “edit poll” presentation flow

* Add delete poll section

* Inject editing poll

* Add submit action

* Refactor validation logic

* Add edit/delete actions

* Fix bubble timestamp for polls

* Update localisations

* Refactor CreatePoll -> PollForm

* Refactor tests

* Update rust sdk to 0.0.5-november23

* Update confirmation alerts

* Add edit support in TimelineItem menu

* Refactor a11y id

* Cleanup

* Fix failing tests

* Add tests

* Refine isEditable workaround

* Refactor timestamp in TimelineItemBubbledStylerView
2023-11-23 11:19:15 +00:00
Doug
4d011b9116
Fix a bug where the Screen lock placeholder could be slow. (#2155)
* Only use the Task for the delayed window changes.
The timing was off with the Task when locking the device with the app open.

* Check the application state before unlocking the app.
On top of a), the app will reveal itself if you background during the success animation, b) the flow is run farrrr too many times, so the app is revealing itself way before the Face ID scan UI is complete - definitely need a state machine here.
2023-11-22 18:58:14 +00:00
Mauro
a21bc2cdd3
Handle Room Routing using the membership state (#2154) 2023-11-22 17:37:26 +00:00
Stefan Ceriu
0dbceceac3 Fixes #2147 - Automatically scroll the timeline to the bottom when sending a message 2023-11-22 18:29:31 +02:00
Stefan Ceriu
9ed35e8633 Fixes #2145 - Hide pin code in lock screen setup mode 2023-11-22 15:47:00 +02:00
Doug
0dafdc4e7a
Add missing biometry type. (#2148) 2023-11-22 13:40:13 +00:00
Mauro
d11562692c
Mentioned notifications copy improvement (#2144) 2023-11-22 14:16:03 +01:00
Doug
99f5601330
Fix a crash when blocking/unblocking a user (#2143)
The view state doesn't like mutating an optional when built in release mode.
2023-11-22 13:13:59 +00:00
Mauro Romito
7b8f4f8276 Revert "mentioned you improvement"
This reverts commit 0ecb15602044b255907ac79062d4712ac5b2ea1b.
2023-11-22 13:49:56 +01:00
Mauro Romito
0ecb156020 mentioned you improvement 2023-11-22 13:48:45 +01:00
Mauro
a7c194198d
Using thumbnails for notification icons (#2142) 2023-11-22 13:06:54 +01:00
Stefan Ceriu
f7e5dfd04e Prevent the composer from jumping when in reply to mode and reaching the end of the line 2023-11-21 16:34:28 +02:00
Nicolas Mauri
7f65dfee60
Fix: Long replies overlay the replied message (#1832) (#2131) 2023-11-21 13:50:15 +00:00
Mauro
7b812a45c3
Read Receipts sheet + enabled RR by default (#2123) 2023-11-21 12:38:39 +00:00
Mauro
053e134a54
remove @ if not needed (#2126) 2023-11-21 10:02:23 +00:00
Stefan Ceriu
bec6cdac05
Secure backup tweaks (#2122)
* Show the recovery section if key backup is anything **but** disabled

* Don't show an action on secure backup if its current state is unknown

* Do not show a badge on the home screen avatar while the recovery state is unknown

* Do not assume key backup is disabled when its state is unknown. If the state is unknown, check if a backup exists remotely.

* Dedupe remote backup state requests and handle task cancellations
2023-11-21 10:59:10 +02:00
ElementRobot
2e1b0cc6a9
Translations update (#2118)
* Translations update

* Fix strings

---------

Co-authored-by: Velin92 <Velin92@users.noreply.github.com>
Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2023-11-20 14:51:00 +02:00
Stefan Ceriu
b0567e5004 Fixes #2117 - Disable underlining for links defined in the html body:
- https://github.com/Cocoanetics/DTCoreText/issues/898
2023-11-20 13:46:40 +02:00
Doug
f2391394a7
Cherry pick some missed Compound/layout changes that ended up in the Xcode 15 PR. (#2120)
Fix broken Settings screen snapshots.
2023-11-20 11:06:24 +00:00
Mauro
fc7b0038bc
Fix: RTE Speech to Text suddenly stops working (#2114) 2023-11-20 09:46:42 +01:00
Doug
f2b4525d91
Use Compound List in more screens. (#2099)
* Use Compound List in room member details, secure backup, notification settings.

* Use ListRow in CreateRoomScreen.

* Fix ListRow layout when isWaiting && !isSelected.
2023-11-17 17:07:27 +00:00
Stefan Ceriu
f717c7dba4
Fix room list search bar focus glitches (#2112)
* Fixes #2112 - Room list search bar focus glitches

* Address PR comments
2023-11-17 18:08:29 +02:00
Stefan Ceriu
d245a4f158
Secure backup tweaks (#2095)
* Show a loading indicator when confirming the recovery key

* Hide the passphrase characters when confirming the recovery key

* Don't show the settings security section until session verification state is retrieved (async)

* Fix preview screenshots
2023-11-17 12:06:36 +02:00
Doug
22742620c5
Fix an animation glitch when signing in on iOS 16. (#2098) 2023-11-17 09:19:18 +00:00
Mauro
93c6aa684b
Accessibility on RRs (#2094)
* added accessibility on the read receipts but there is something wrong in the generation

* voice over implementation for RRs

* Update ElementX/Sources/Screens/RoomScreen/View/Supplementary/TimelineReadReceiptsView.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* done

* changelog

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-11-16 16:51:25 +00:00
Doug
0831c898ef
Compound icons part III - Revenge of the SF Symbol (#2093)
* Use Compound in StartChat screen.

* Update location sharing icons.
2023-11-16 15:50:06 +00:00