Commit Graph

1184 Commits

Author SHA1 Message Date
Alfonso Grillo
923c4bc671 Update poll form localization keys (#2167)
* Update poll form localisations

* Update localisation keys
2023-11-24 16:43:13 +00:00
Stefan Ceriu
5740b26d7f 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
6918613195 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
9dfc03ee3c 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
90b1689949 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
8d1f44a0db 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
60bb495b2d Fixing a crash that happened when leaving the room through the details screen (#2160) 2023-11-23 17:24:37 +00:00
Alfonso Grillo
4ab033191a 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
2e4b321ef2 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
5b55ce4e8c 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
14d9fc52d4 Handle Room Routing using the membership state (#2154) 2023-11-22 17:37:26 +00:00
Stefan Ceriu
1cce417cd0 Fixes #2147 - Automatically scroll the timeline to the bottom when sending a message 2023-11-22 18:29:31 +02:00
Stefan Ceriu
60504697ad Fixes #2145 - Hide pin code in lock screen setup mode 2023-11-22 15:47:00 +02:00
Doug
009df3eee9 Add missing biometry type. (#2148) 2023-11-22 13:40:13 +00:00
Mauro
238d6b2f56 Mentioned notifications copy improvement (#2144) 2023-11-22 14:16:03 +01:00
Doug
ec4aa4300a 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
6c52b16a89 Revert "mentioned you improvement"
This reverts commit 9c801759ae.
2023-11-22 13:49:56 +01:00
Mauro Romito
9c801759ae mentioned you improvement 2023-11-22 13:48:45 +01:00
Mauro
e3effeadff Using thumbnails for notification icons (#2142) 2023-11-22 13:06:54 +01:00
Stefan Ceriu
eb9f607536 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
d02901e72f Fix: Long replies overlay the replied message (#1832) (#2131) 2023-11-21 13:50:15 +00:00
Mauro
7d45bae25a Read Receipts sheet + enabled RR by default (#2123) 2023-11-21 12:38:39 +00:00
Mauro
305aff20bd remove @ if not needed (#2126) 2023-11-21 10:02:23 +00:00
Stefan Ceriu
c6a6a4b127 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
b422b82edf 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
b372714d73 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
48c3379b1d 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
c3590d261d Fix: RTE Speech to Text suddenly stops working (#2114) 2023-11-20 09:46:42 +01:00
Doug
6f2fb4a7f6 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
b9081f02ea 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
eecc59d6f4 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
4945f505f3 Fix an animation glitch when signing in on iOS 16. (#2098) 2023-11-17 09:19:18 +00:00
Mauro
142757bbf9 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
a367322b04 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
Stefan Ceriu
c1b56fc3e6 Fixes #2001 - Simplify room and user avatar preview screens 2023-11-16 16:23:59 +02:00
Mauro
29f5bd0d42 Artificial delay when a message fails to send (#2091) 2023-11-16 10:09:29 +01:00
Alfonso Grillo
3fcbf12796 Reply to a poll (#2087)
* Refactor TimelineItemReplyDetails for polls

* Fix reply for polls

* Update reply details factory

* Revert Poll Hashable conformance

* PR comments
2023-11-15 15:57:34 +00:00
Doug
f7be3b5121 Show the lock screen placeholder on willResignActive. (#2086) 2023-11-15 15:31:35 +00:00
Mauro
a9700851fe Added a disclaimer in Notification Settings for "Mentions Only" (#2081) 2023-11-15 14:57:17 +00:00
Stefan Ceriu
a846c30305 Fixes #2083 - Expose options for overriding the system appearance in the advanced settings menu 2023-11-15 14:23:11 +02:00
Doug
0cbba1b04c Use more Compound icons (part 2!) (#2082)
* Use Compound icons in ListRow.

* Add CompoundIcon(asset:) convenience initialiser.
2023-11-15 09:54:43 +00:00
Doug
052db0d1f0 Add SwiftLint rule to enforce stack spacing. (#2080)
Xcode 15 changes the default behaviour and given we're always working from designs, we shouldn't rely on it for our layout.
2023-11-14 12:38:38 +00:00
Alfonso Grillo
2c33f9c5d5 Add scaledFrame/scaledPadding APIs (#2079)
* Add scaled frame and padding modifiers

* Refactor AppLockScreen

* Refactor FormattingToolbar

* Refactor RoomAttachmentPicker

* Refactor ComposerToolbar

* Refactor VoiceMessageRecordingButton

* More refactors

* Refine ScaledPaddingModifier

* Cleanup

* Fix preview tests

* Fix preview test

* Use CompoundIcon for custom image

* Add .scaledFrame(size:) overload

* Set fallback style to .body
2023-11-14 12:20:34 +01:00
Doug
9749b77a92 First round of icon updates. (#2076)
Update Compound too.
2023-11-13 16:44:29 +00:00
Nicolas Mauri
619e781a7f Display voice message progress cursor if progress is greater than zero (#2077) 2023-11-13 16:41:38 +01:00
Stefan Ceriu
037ada0d3d Update room summary provider mock room details and snapshots 2023-11-13 17:02:02 +02:00
Stefan Ceriu
03b73a1605 Display whether a call is ongoing in any particular room on the room list 2023-11-13 17:02:02 +02:00
Stefan Ceriu
5727f91aca Fixes #2058 - Prevent QuickLook from breaking media uploading on Mac, replace the preview with a plain filename label 2023-11-13 13:52:55 +02:00
Stefan Ceriu
aaca79279d Fix drag and dropping files onto the timeline on Mac 2023-11-13 13:52:55 +02:00
Stefan Ceriu
0ed753982d Fix new swiftformat warnings: convert types used for hosting only static members into enums. 2023-11-13 13:47:14 +02:00