3325 Commits

Author SHA1 Message Date
Doug 09b276d94b Update most references of vector-im to element-hq (#2231)
Sonarcloud and codecov will follow in a later PR when confirmed working. Changelog ignored as it isn't particularly important with the redirect.
2023-12-12 14:34:44 +00:00
Mauro b2e99bcfc5 Remove Read Receipts Feature Flag (#2228) 2023-12-12 15:27:15 +01:00
Stefan Ceriu a78dea392f Fix UI tests for AppLock flow and Start Chat flow. Regenerate outdated screenshots (#2226) 2023-12-12 14:08:27 +00:00
Stefan Ceriu 9ff1deaf73 Detect links in room detail topics and make it more obvious when the text is truncated (#2213) 2023-12-12 13:52:10 +00:00
Mauro b9a6ebe03a Periphery to detect dead code (#2227) 2023-12-12 10:17:15 +00:00
Mauro deb109f157 Poll title is displayed multiline when creating a poll (#2225) 2023-12-11 18:31:21 +00:00
Mauro a248bdbd95 Fix for line breaks (#2224) 2023-12-11 15:43:31 +00:00
Stefan Ceriu 4cba5687c6 Allow the recovery section to be shown when recovery is incomplete and key backup is stuck waiting for the secrets 2023-12-11 17:14:41 +02:00
Stefan Ceriu 495ee8ab38 More secure backup tweaks (#2212)
* Make sure the indicator for disabling backups is dismissed together with the screen

* Get rid of the .disabled key backup state as it has no correspondant on the rust side and is confusing

* Remove superflous BackupState extensions, add more logs
2023-12-07 13:19:58 +02:00
Doug e8b446c909 Replace searchable modifiers with a custom implementation using UISearchController. (#2209)
Unfortunately the introspection became unreliable from iOS 17.1 onwards.

* Replace disableInteractiveDismissOnSearch and dismissSearchOnDisappear.

These can be handled within our searchController implementation now.

* Fix preview snapshots.

Weirdly, the search field is bigger in these, although it hasn't changed in the UI tests or the app itself.
2023-12-06 17:43:55 +00:00
Stefan Ceriu 6cd25fac50 Element Call permission tweaks (#2187)
* vector-im/element-meta/issues/2230 - Specify `call.member` default power levels when creating a room

* vector-im/element-meta/issues/2229 - Take into account permissions when configuring the room screen call button
2023-12-06 13:14:23 +02:00
Doug c7531be44c Add toggle not invite notifications. (#2207) 2023-12-06 09:53:10 +00:00
Doug a99aee7a9a Expand all sections on the view source screen by default. (#2203) 2023-12-05 15:35:51 +00:00
ElementRobot 768071304a Translations update (#2201)
Co-authored-by: pixlwave <pixlwave@users.noreply.github.com>
2023-12-05 11:59:47 +00:00
Doug 5586405c4f Make the attachment menu an actual menu. (#2199)
There was a bug with the sheet/popover when overriding the colour scheme where the button renders in light mode when the app is in dark mode.
2023-12-05 11:14:16 +00:00
Doug 7da881ae3e Add an extra call to obscure the app on willEnterForeground. (#2202)
It shouldn't be necessary given the double call by the time the app is backgrounded, but we're still seeing occasional room list flashes.
2023-12-05 11:13:51 +00:00
Stefan Ceriu 8189b0a471 Fixes #2147 - Scroll the timeline to the bottom when sending message as well as media, polls and locations. 2023-12-04 17:32:26 +02:00
Doug 6905ac5f70 Use ListRow in InviteUsersScreen and MessageForwardingScreen. (#2196)
* Use ListRow in InviteUsersScreen and MessageForwardingScreen.

* Remove button styles and fix snapshots.
2023-12-04 14:47:43 +00:00
Stefan Ceriu 3fe5ec5ffa Fix secure backup recovery badges not being show when incomplete 2023-12-04 14:01:52 +02:00
Mauro b7ecb07d2f Fix scrambled screen when searchinfg (#2191)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-11-30 17:47:44 +00:00
Nicolas Mauri edbac5fe85 Fixed some issues with voice messages when sent from a bridge. (#2190) 2023-11-30 17:39:54 +01:00
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