Commit Graph

962 Commits

Author SHA1 Message Date
Doug
cfb2a74074 Change timeline animations to use .top (flipped). (#1751) 2023-09-19 15:13:44 +01:00
Stefan Ceriu
dbea6d9675 Media upload: be more resilient against system errors in fetching file size 2023-09-19 15:54:11 +03:00
Stefan Ceriu
044fe90717 Fix media upload for files that generate percent encoded URLs 2023-09-19 15:54:11 +03:00
Stefan Ceriu
3c8643197a 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
8f948032ee 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
9957daf68a Force matrix_sdk_ffi to always stay on the info log level. 2023-09-18 15:41:56 +03:00
Stefan Ceriu
d189ffb654 Bump the SDK, handle PR comments 2023-09-18 15:41:56 +03:00
Stefan Ceriu
de1b020ea1 Adopt new members and sync indicator APIs 2023-09-18 15:41:56 +03:00
Stefan Ceriu
b26867c49e Adopt the new limited lists API 2023-09-18 15:41:56 +03:00
Stefan Ceriu
9bc721d5d9 Remove debouncing from room list searches as everything is faster now 2023-09-18 15:41:56 +03:00
Stefan Ceriu
1f8637d19e Cleanup home screen state handling after rust side fixes 2023-09-18 15:41:56 +03:00
Stefan Ceriu
f1375097e3 Prevent too much back and forth through the FFI layer when dealing with MediaSources 2023-09-18 15:05:44 +03:00
Mauro Romito
a3e558c20c fix 2023-09-18 13:55:07 +02:00
Stefan Ceriu
7e73f6231f 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
0ea6245d01 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
6425dc3f32 Update welcome screen assets. (#1723)
* Update snapshots.
2023-09-18 11:07:47 +01:00
Nicolas Mauri
adbb8e6dd2 Update room notification settings mismatch screen (#1733) 2023-09-18 09:11:27 +00:00
Stefan Ceriu
c23a567bed Various small UI tweaks for the new user details edit screen 2023-09-15 17:29:24 +03:00
Stefan Ceriu
af8a13bc91 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
63fc9ad410 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
7cbb064464 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
c28b94c61e 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
249c94f057 Fade in for the bloom (#1705)
* fade in for the bloom

* changelog
2023-09-14 11:06:48 +01:00
Stefan Ceriu
ce1f213f42 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
756758c715 Fix: hide call notification settings until calls are available (#1709) 2023-09-14 07:46:16 +00:00
Stefan Ceriu
1a438c176f Fixes #1699 - Introduce a new advanced settings screen (#1700) 2023-09-14 08:37:42 +03:00
Nicolas Mauri
cbeace6f50 Fix timestamp padding for .horizontal bubble layout style (#1704) 2023-09-13 17:00:07 +00:00
Stefan Ceriu
4ba9791654 Fixes #1342 - Remove custom last message for rooms that don't have one 2023-09-13 18:05:09 +03:00
Doug
9a8cf5508f Separate Manage account from Manage devices. (#1698)
Update the SDK.
2023-09-13 15:49:01 +01:00
Nicolas Mauri
258d5f3184 Remove notification settings feature flag (#1693) 2023-09-13 12:05:32 +00:00
Stefan Ceriu
80f1c3381b 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
8df2edcf85 Hide share buttons + file name bar for media upload previews 2023-09-13 14:37:51 +03:00
Stefan Ceriu
25b9e6aee4 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
4646153818 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
9f5e586015 Fixe #1198 - Allow cancelling feeback submissions while they're uploading (#1692) 2023-09-13 12:08:39 +03:00
Alfonso Grillo
cb5173c4a3 Add polls analytics (#1691)
* Refactor location events

* Add poll analytics
2023-09-13 09:28:44 +02:00
Alfonso Grillo
7be8fb97f9 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
539028d68e Use trace for Client and OIDC logs. (#1682) 2023-09-12 09:00:34 +01:00
Alfonso Grillo
38840c3d4d 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
d182b85996 Fixes #1338 - Add copy permalink option for messages that failed decryption 2023-09-11 16:58:23 +03:00
Stefan Ceriu
b6ea17c535 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
Doug
bbd49b094b Fix avatar button and make mxid copyable. (#1678) 2023-09-11 09:01:40 +00:00
Alfonso Grillo
29e1a12953 Rich text editor "expanded mode" (#1656)
* Fix composer icon in dark mode

* Add RTE poc

* Amend cornerRadius

* Add snaps

* Fix composer top spacing

* Fix clipping

* Refine UX

* Fix animation

* Add constants + iPad hide bars logics

* Polish clamping

* Fix UT

* Cleanup

* Add grabber color

* Add UI tests

* Rename handle -> grabber

* Fix resize composer when RTE is off

* Fix project file
2023-09-11 07:54:37 +00:00
Velin92
215d811368 Translations update 2023-09-11 10:12:23 +03:00
Doug
95e6b294a8 Add missing contacts field in OIDC configuration. (#1662) 2023-09-08 16:28:10 +00:00
Mauro
031e7c53bd Avatar Bloom View in home screen navigation bar (#1630)
* experimental code

* veyr close to a perfect solution but i need to make it crop

* code improvementds

* for now this looks like the best solution but there is a weird animation happening

* hard edge solution that completely works.

* dark mode support

* 17 support

* code improvement and dark mode improvement

* bloom gradient, it works but it needs a fix for landscape + the gradient should get hidden while in search mode

* hides when searching

* crash free constraint

* fixed everything only the scroll bar issue needs fixing now

* oblique gradient effect

* removed unused code

* removed unused code

* updated the bloom effects

* hairline restored for everything aside from the home screen

* code improvements

* possible final implementation

* pr suggestion

* hairline view added

* Update ElementX/Sources/Other/ScrollViewAdapter.swift

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

* Apply suggestions from code review

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

* code adjustments

* typo fix

* typo fix

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-09-08 16:45:48 +02:00
Stefan Ceriu
c2594fede1 Enable RUST_BACKTRACE by default 2023-09-08 15:27:54 +03:00
Doug
949c71748e Stop the sync service constantly attempting to restart on auth error. (#1654)
Additionally removes a retain cycle that was preventing the client from being released.

Remove restartSync - the SDK has changed a lot, we no longer need to stop and start the sync loop.
2023-09-08 11:00:12 +01:00
Stefan Ceriu
3922be6900 Add default schemes for detected links that don't have any 2023-09-07 14:56:39 +03:00
Stefan Ceriu
1ceac30198 Adopt the new room list service syncIndicatorListener 2023-09-07 13:10:19 +03:00