Commit Graph

971 Commits

Author SHA1 Message Date
Mauro 9d91cd4fc0 Preview Tests (#1768)
* preview testing

* removed some views that are not really testabl in UnitTests and improved other tests
2023-09-20 17:33:31 +02:00
Stefan Ceriu bba3fab31d Conform to UIAccessibility.isReduceMotionEnabled 2023-09-20 15:13:48 +03:00
Stefan Ceriu 29bcc5371a #1246 - Prevent timeline items from being computed on the main thread when instantiating the RoomTimelineController; speed up the room selection animation. 2023-09-20 15:12:35 +03:00
Stefan Ceriu 82981f33e9 Prevent mapping members on the main queue inside the room screen view model 2023-09-20 15:09:29 +03:00
Stefan Ceriu c2a1560b1d Avoid too much back and forth throuhg FFI by lazily fetching and storing member proxy properties 2023-09-20 15:09:29 +03:00
Mauro 341b177e23 Prefire basic implementation (#1743)
* prefire basic implementation

force the unit tests to run on iPhone 14

skipping plugin validation

archive artifacts

better workflow

removed the OS restriction

lfs

custom stencil

new test file

deleting

* git lfs

* lfs

* test

* customised the stencil to support our internal protocol

* for now we can remove the OS check from the stencil

* added a delay

* tests have been moved

* improvement

* recommit

* perceptual precision lowered

* updated snapshot testing and selected also iOS version

* added ios version control
2023-09-20 14:07:18 +02:00
Mauro Romito 94c6ad9e38 speeding up the bloom a bit 2023-09-19 17:52:49 +02:00
Stefan Ceriu f95331d3a6 Use a different scheme for Element Call in the form of io.element.call:/?url=some_url 2023-09-19 18:11:09 +03:00
Stefan Ceriu 501c3aed23 Disable reply actions for local echoes 2023-09-19 17:39:04 +03:00
Doug fe656450ef Change timeline animations to use .top (flipped). (#1751) 2023-09-19 15:13:44 +01:00
Stefan Ceriu dd0a36904c Media upload: be more resilient against system errors in fetching file size 2023-09-19 15:54:11 +03:00
Stefan Ceriu c67de040e5 Fix media upload for files that generate percent encoded URLs 2023-09-19 15:54:11 +03:00
Stefan Ceriu d3b21e745f Avoid too much back and forth throuhg FFI by lazily fetching and storing timeline item properties 2023-09-19 15:42:42 +03:00
Alfonso Grillo 8ca3500981 Composer and RTE polish (#1719)
* Move link button

* Always show indent buttons

* Fix code blocks and quote block styles

* Fix code blocks and quotes style

* Update composer attachment icon

* Fix send message icon

* Fix composer border

* Fix rte border

* Update RTE button assets

* Update close rte icon

* Refactor RTE and composer layout

* more padding fixes

* Update compound

* Update WysiwygComposer to 2.11.0

* Fix ui tests

* Fix composer bottom padding

* Update snapshot tests
2023-09-18 14:11:22 +00:00
Stefan Ceriu 2f22d474f4 Force matrix_sdk_ffi to always stay on the info log level. 2023-09-18 15:41:56 +03:00
Stefan Ceriu 475e6593df Bump the SDK, handle PR comments 2023-09-18 15:41:56 +03:00
Stefan Ceriu 48eb5c421d Adopt new members and sync indicator APIs 2023-09-18 15:41:56 +03:00
Stefan Ceriu 40735fba39 Adopt the new limited lists API 2023-09-18 15:41:56 +03:00
Stefan Ceriu 472ff53fe1 Remove debouncing from room list searches as everything is faster now 2023-09-18 15:41:56 +03:00
Stefan Ceriu be1543129a Cleanup home screen state handling after rust side fixes 2023-09-18 15:41:56 +03:00
Stefan Ceriu 5fac0f3d3b Prevent too much back and forth through the FFI layer when dealing with MediaSources 2023-09-18 15:05:44 +03:00
Mauro Romito f53e76b8a8 fix 2023-09-18 13:55:07 +02:00
Stefan Ceriu 8ec68280b9 Avoid publishing changes from a background thread, dispatch upload task handles on the main queue 2023-09-18 14:08:56 +03:00
Stefan Ceriu aff3b781ad Threaded layout fixes (#1730)
* Fixes #1727 - Layout issues caused by the new timelineMediaFrame

* Better handle small media thumbnails

* fixed an issue where sometimes the reply gets greedier than the content

---------

Co-authored-by: Mauro Romito <mauro.romito@element.io>
2023-09-18 13:12:35 +03:00
Doug fd6711bbc7 Update welcome screen assets. (#1723)
* Update snapshots.
2023-09-18 11:07:47 +01:00
Nicolas Mauri 03603d13e5 Update room notification settings mismatch screen (#1733) 2023-09-18 09:11:27 +00:00
Stefan Ceriu dd937cb86a Various small UI tweaks for the new user details edit screen 2023-09-15 17:29:24 +03:00
Stefan Ceriu fe711a9a40 Change user display name and avatar (#1718)
* Fixes #1715, #1716 - Add new user profile editing screen

* Bump SDK, adopt new `client.removeAvatar()` method

* Address PR review comments
2023-09-15 16:20:33 +03:00
Mauro 7642508135 Thread Decorator (#1686)
* just added the isThreaded property to message based events

* done but I should add a bunch of tests for images and videos and locations

* handling for image and videos, but locations might need to be double checked

* code improvement

* better tests and removed code that is not used, we need to fix first the appearence of replies

* bubble style is solved, we now need plain style

* also added plain style

* better handling for bubble style

* rounded corner only for bubbles in location

* fix for wrong aspect ratio in replies

* all changes done

* better testing

* swift format

* changelog

* PR comments and rebase.

* Simplify corner radius on location timeline view.

---------

Co-authored-by: Doug <douglase@element.io>
2023-09-15 11:58:30 +01:00
Doug 64d5ba7a69 Enable OIDC token refresh in the NSE. (#1711)
Update the SDK and handle API changes.
2023-09-15 09:01:09 +00:00
Alfonso Grillo 058fe79f25 Move RTE feature flag to settings (#1703)
* Update matrix-wysiwyg-composer-swift to 2.10.1

* Delete MessageComposerTextField

* Always use rte composer

* Fix corner radius

* Cleanup
2023-09-14 13:10:42 +02:00
Mauro 24524a66c8 Fade in for the bloom (#1705)
* fade in for the bloom

* changelog
2023-09-14 11:06:48 +01:00
Stefan Ceriu a4e5e4f0ed Switch callbacks to combine (#1710)
* #750 - Convert the SoftLogoutScreen to combine

* #750 - Convert the UserSessionFlowCoordinator to Combine

* #750 - Convert the AnalyticsPromptScreen to Combine

* #750 - Convert the LoginScreen to Combine

* #750 - Convert the ServerSelectionScreen to Combine

* #750 - Convert the EmojiPickerScreen to Combine

* #750 - Convert the HomeScreen to Combine

* #750 - Convert the MediaUploadPreviewScreen to Combine

* #750 - Convert the OnboardingScreen to Combine

* Rename `Onboarding` to `OnboardingScreen`

* #750 - Convert the ReportContentScreen to Combine

* #750 - Convert the RoomDetailsSscreen to Combine

* #750 - Convert the RoomMemberDetailsScreen to Combine

* #750 - Convert the RoomMembersListScreen to Combine

* #750 - Convert the SessionVerificationScreen to Combine

* #750 - Convert the SettingsScreen to Combine

* #750 - Convert the AdvancedSettingsScreen to Combine

* #750 - Convert the DeveloperOptionsScreen to Combine

* Fix the unit tests

* Use .sink action and the same cancellables constructor everywhere

* Cleanup cancellables when setting up tests
2023-09-14 12:53:33 +03:00
Nicolas Mauri a0d40b6f0c Fix: hide call notification settings until calls are available (#1709) 2023-09-14 07:46:16 +00:00
Stefan Ceriu 761d508ae5 Fixes #1699 - Introduce a new advanced settings screen (#1700) 2023-09-14 08:37:42 +03:00
Nicolas Mauri 21856e994a Fix timestamp padding for .horizontal bubble layout style (#1704) 2023-09-13 17:00:07 +00:00
Stefan Ceriu 9fbf70282e Fixes #1342 - Remove custom last message for rooms that don't have one 2023-09-13 18:05:09 +03:00
Doug da29c7efde Separate Manage account from Manage devices. (#1698)
Update the SDK.
2023-09-13 15:49:01 +01:00
Nicolas Mauri 8268ecc036 Remove notification settings feature flag (#1693) 2023-09-13 12:05:32 +00:00
Stefan Ceriu f96969ac37 Various accessibility fixes (#1694)
* Hide the accessibility label for the swipe to reply menu

* Fixes #1104 - Add accessibility labels for timeline media

* Import new common strings

* Add sender to accessibility lables for all messages

* Improve accessibility labels for replies

* Add hint and selection to reaction accessibility labels

* Add changelog

* Address PR comments
2023-09-13 14:39:13 +03:00
Stefan Ceriu e8b8da6049 Hide share buttons + file name bar for media upload previews 2023-09-13 14:37:51 +03:00
Stefan Ceriu d5e74907ad Fixes #1640 - Prevent loading skeletons from being dismissed too soon. Avoid weird animations caused by the session verification banner. 2023-09-13 12:36:26 +03:00
Stefan Ceriu 97aa930852 Parse markdown and html from push notifications (#1688)
* Extract notification content building outside of the NotificationItemProxy. First step in a bigger refactoring of the NSE

* Import the attributed string buider into the NSE, sort `sources` imports

* Extract message event string building into the RoomMessageEventStringBuilder and reuse it building content for push notifications

* Cleanup

* Add changelog
2023-09-13 12:30:41 +03:00
Stefan Ceriu add148b77d Fixe #1198 - Allow cancelling feeback submissions while they're uploading (#1692) 2023-09-13 12:08:39 +03:00
Alfonso Grillo f3618cda9d Add polls analytics (#1691)
* Refactor location events

* Add poll analytics
2023-09-13 09:28:44 +02:00
Alfonso Grillo dc5514bc0b Accessibility UI fixes (#1685)
* Fix accessibiliity in room attachment picker

* Fix FormattingToolbar accessibility

* Cleanup

* Fix ui tests
2023-09-12 12:46:56 +02:00
Doug 27408fe818 Use trace for Client and OIDC logs. (#1682) 2023-09-12 09:00:34 +01:00
Alfonso Grillo f8c785ae51 Polish polls UX (#1684)
* Fix bar color

* Remove “final votes” string

* Add haptic feedback for polls

* Update compound package
2023-09-11 16:52:26 +02:00
Stefan Ceriu 1279c11efc Fixes #1338 - Add copy permalink option for messages that failed decryption 2023-09-11 16:58:23 +03:00
Stefan Ceriu ee4040141d Top level deeplink handling (#1660)
* Handle link opening on the top most levels and prepare for percolating them throughout the app
* Add support for a custom app scheme
* Add specific AppRoute parsers.
* Integrate custom scheme in the AppRouteURLParser
* Switch to `element://call` and cleanup route parsing
2023-09-11 12:31:31 +03:00