907 Commits

Author SHA1 Message Date
Stefan Ceriu 197b088662 Add support for quick room search through the Cmd+K shortcut (#2363) 2024-01-29 14:55:11 +02:00
Stefan Ceriu ffbfdfa96e Fix flakey app lock setup pin screen pin entry typing 2024-01-26 17:59:58 +02:00
Stefan Ceriu 119fa09617 #2380 - Add simple call screen UI test 2024-01-26 11:48:48 +02:00
Stefan Ceriu da298938cb Enable tracing logs for read receipts 2024-01-26 11:45:04 +02:00
Stefan Ceriu b21194b0b7 Fixes #2333 - Allow copying user display names on the room member details screen 2024-01-15 10:58:36 +02:00
Stefan Ceriu 2d66e76b51 Update AttributedStringBuilderComponent identifiers, fix layout issues 2024-01-12 10:49:14 +02:00
Stefan Ceriu ada75ab339 Fixes #2314 - Tweak avatar animations to increase perceived load times 2024-01-10 16:57:37 +02:00
Stefan Ceriu cf7e09e22e Various integration test tweaks following test homeserver and account change 2024-01-10 16:57:25 +02:00
Stefan Ceriu 9bb177bff5 Fixes #2286 - Timeline entries flickering when a lot of mention pills present 2024-01-08 12:04:29 +02:00
Stefan Ceriu 6c9efaf557 Fixes #2291 - Wrong notification placeholder avatar orientation on 17.2.1 2024-01-08 12:03:31 +02:00
Mauro 09fb5461e6 Removing dead code part 3 (#2264) 2023-12-19 12:12:16 +01:00
Stefan Ceriu 278e202f9a Fixes #2259 - Fix flipped notification placeholder avatars on iOS 17.2+ 2023-12-18 17:56:19 +02:00
Nicolas Mauri 72a84badcb Polls history (#2244) 2023-12-18 15:38:39 +00:00
Stefan Ceriu b1b8bbcd73 Fixes #2253 - Fix timeline thumbnail frames for media missing sizing info 2023-12-18 14:05:58 +02:00
Mauro 123164f398 Removing dead code part 2 (#2235)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-12-15 20:16:16 +01:00
Doug e328863296 Fix integration tests getting stuck in location error loop. (#2233) 2023-12-13 09:00:57 +00:00
Mauro d99d26fcdc Removing Dead Code part 1 (#2234) 2023-12-13 09:51:57 +01:00
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
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
Mauro b9a6ebe03a Periphery to detect dead code (#2227) 2023-12-12 10:17:15 +00:00
Mauro a248bdbd95 Fix for line breaks (#2224) 2023-12-11 15:43:31 +00: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
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 e4788e615f Fixes #2179 - Open direct chat directly from the room member details screen 2023-11-29 18:31:29 +02:00
Nicolas Mauri 7cc5990711 Fix the touch area size for the voice message button. (#2174) 2023-11-28 09:21:42 +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
Mauro a7c194198d Using thumbnails for notification icons (#2142) 2023-11-22 13:06:54 +01: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 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
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
Stefan Ceriu eb6f7e0409 Fixes #2083 - Expose options for overriding the system appearance in the advanced settings menu 2023-11-15 14:23:11 +02:00
Doug 4b3a373782 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 2c1e61a1bc 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 752ad66397 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
Stefan Ceriu a8be8f839b Fix new swiftformat warnings: convert types used for hosting only static members into enums. 2023-11-13 13:47:14 +02:00
Stefan Ceriu 4a56796d45 Fixes 2070 - Prevent crashes when inserting mention pills in the composers on Mac 2023-11-13 13:32:38 +02:00
Doug a2c2f872cd Fix for UI tests now showing the status bar. (#2065) 2023-11-13 07:30:41 +00:00
Doug 37d88e622c Add UI tests for AppLockFlowCoordinator. (#2055)
* Add UITests for the App Lock flow.

* Add Notification Signal

Fix unwanted imports in UITests.
2023-11-10 15:38:54 +00:00
Mauro a4bc7b8e36 Custom copy for notifications that contain mentions (#2050) 2023-11-09 18:12:11 +00:00
Stefan Ceriu 4b26a798dc Have the UserIndicatorController use a separate window, switch to using one single instance throughout the application 2023-11-09 16:18:11 +02:00
Doug 07313926c9 Add UI tests for optional app lock setup. (#2046) 2023-11-08 15:33:40 +00:00
Stefan Ceriu 14e0eba914 Bump the log level for matrix_sdk_crypto and matrix_sdk_http_client to debug 2023-11-08 11:18:03 +02:00
Alfonso Grillo 1780b58e58 Fix accessibility label for VoiceMessageButton 2023-11-07 10:32:14 +01:00
Doug 5d2215f130 Use the custom log level inside the NSE too. (#2020) 2023-11-04 08:36:49 +00:00
Alfonso Grillo 530985e674 Add deferred spinner for voice messages (#2018)
* Add  delayedLoaderPlaybackState

* Add more tests

* Fix Xcode 14 build error

* Refactor  delayedLoaderPlaybackState -> playerButtonPlaybackState

* Fix runtime issue
2023-11-03 10:39:22 +00:00
Alfonso Grillo 4012aca661 Refactor frame reader API (#2016) 2023-11-02 14:15:57 +00:00
Mauro 14badab01f Keep the original foreground color in the mention (#2015)
* keep the original foreground color in the mention

* changelog
2023-11-02 14:44:24 +01:00
Alfonso Grillo 4d3cb97fbb Voice message record button hapitcs (#2013)
* Move tooltip logics in VoiceMessageRecordingButton

* Add hapitc feedback when recording a voice message

* Cleanup
2023-11-02 12:58:19 +01:00