989 Commits

Author SHA1 Message Date
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
Doug
3db662b124
Fix avatar button and make mxid copyable. (#1678) 2023-09-11 09:01:40 +00:00
Alfonso Grillo
bd4ee92124
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
89c4786af7 Translations update 2023-09-11 10:12:23 +03:00
Doug
ae24ba19da
Add missing contacts field in OIDC configuration. (#1662) 2023-09-08 16:28:10 +00:00
Mauro
3ce26a9faf
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
dedfb9394f Enable RUST_BACKTRACE by default 2023-09-08 15:27:54 +03:00
Doug
1eac02f7b0
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
29b2b7ff4a Add default schemes for detected links that don't have any 2023-09-07 14:56:39 +03:00
Stefan Ceriu
fad608cd34 Adopt the new room list service syncIndicatorListener 2023-09-07 13:10:19 +03:00
Stefan Ceriu
62b6cd598f
Generic element call link support (#1643)
* Remove swift-url-routing and replace it with a custom implementation. It fails parsing the fragments in app.element.io links and it doesn't bring any value
* Add handling for opening generic element call links
* Add applinks support for call.element.io
* Enable VoIP and Audio playback background modes
2023-09-07 12:06:18 +03:00
Stefan Ceriu
90228374d1 Bump the RustSDK to v1.1.10 2023-09-07 11:56:38 +03:00
Stefan Ceriu
e9a945cfe4 Fixes #1573 - Retract all notifications and app badges when signing out 2023-09-06 16:41:59 +03:00
Doug
b9279ce709 Initial skeleton for Universal Link handling. 2023-09-06 10:07:22 +03:00
Stefan Ceriu
1a12c729de Fixes #617 - Prevent navigation bar breaking when backgrounding the app froma a split view 2023-09-06 09:49:38 +03:00
Doug
d182202c78
Always use WAS for the account URL page. (#1634) 2023-09-05 17:54:15 +01:00
aringenbach
c9962a4459
Add RTE formatting buttons (#1614)
* Add RTE formatting buttons

* Update UUID as stored properties

* Disable autocorrection on URL fields

* Alert ids to let

* Add ComposerToolbar_Previews

* Cleanup

* Cleanup

* Refactor FormatItem colors

* Fix composer layout issue

* Fix ui tests

* Nest ComposerToolbar A11y ids under RoomScreen

* Add composer reply ui tests

* Add UTs

---------

Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>
2023-09-05 15:39:54 +00:00
Doug
d8fa82da76
Add client and OIDC tracing targets. (#1628) 2023-09-05 09:52:48 +01:00
Stefan Ceriu
946cde40a1 Fixes #1552 - Workaround TabView bug by removing style 2023-09-04 11:24:21 +03:00
Velin92
7d0d68cfd5 Translations update 2023-09-04 08:48:01 +03:00
Stefan Ceriu
af78c41a16 Move room summary diff processing start log within its dedicated span 2023-09-02 17:35:00 +03:00
Alfonso Grillo
9b313b814e
Polls refinements (#1608)
* Refine focus behavior

* Begin draft mode

* Add alert on poll form

* Add poll ended asset

* Add fallback text for ended poll event

* Cleanup

* Fix assets

* Remove poll feature flags

* Fix UI tests

* Fix ui tests

* Refine discard poll alert

* Remove unused import

* Rename hasDraftContent -> hasContent

* Restore createPoll-2 ref screenshots
2023-09-01 15:55:11 +02:00
Nicolas Mauri
41662a5313
Remove unnecessary test in HomeScreenRoomCell (#1611) 2023-09-01 12:32:44 +00:00
Stefan Ceriu
61326ed63a Be more lenient with fatalErrors coming out of equal transitions, caused by asynchronicity on the UI layer 2023-09-01 14:59:16 +03:00
Stefan Ceriu
d90d7adb21
Fixes #980 - Generated thumbnail size when uploading media (#1613) 2023-09-01 14:58:36 +03:00
Mauro
38d6ffb363
Avatars and Usernames color change (#1610)
* avatars and username color change

* force a replacement for the notification placeholders

* updated also the plain style

* Update project.yml

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

* changelog

* UI tests updated

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-09-01 09:28:28 +00:00
Stefan Ceriu
ba553f0c1b Move the invites summary provider configuration the underlying sliding sync list is availablle sooner now 2023-08-31 18:13:22 +03:00
Mauro
432975f413
New Room button has been moved to the top (#1604)
* completed

* removed old toolbar visibility stuff
2023-08-31 17:03:27 +02:00
Nicolas Mauri
8886f0f9d3
Fix some accessibility modifiers (#1606) 2023-08-31 15:00:09 +00:00
Nicolas Mauri
3ab7b1b1c7
Display the notification mode for each room in the the room list (#1595)
Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2023-08-31 11:15:38 +00:00
Alfonso Grillo
f0fad25d09
Vote on a poll and end a poll (#1597)
* Fix project file

* Add vote and end poll actions

* Handle redaction

* Fix local echo behavior

* Cleanup

* Fix UI tests

* Add localisation

* Cleanup

* Fix end poll action style
2023-08-31 12:04:25 +02:00
Stefan Ceriu
2ba92a074e Remove the visible room computation bounds padding to reduce bandwidth 2023-08-31 11:45:46 +03:00
Stefan Ceriu
dbee85a929 Prevent the timeline from jumping whenever a room is entered
- caused by https://github.com/matrix-org/matrix-rust-sdk/issues/2488
- rolled back to a solution similar to what we had before
2023-08-31 11:06:32 +03:00