Commit Graph

693 Commits

Author SHA1 Message Date
Stefan Ceriu 475e6593df Bump the SDK, handle PR comments 2023-09-18 15:41:56 +03:00
Doug fd6711bbc7 Update welcome screen assets. (#1723)
* Update snapshots.
2023-09-18 11:07:47 +01: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
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
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
Doug da29c7efde Separate Manage account from Manage devices. (#1698)
Update the SDK.
2023-09-13 15:49:01 +01:00
Alfonso Grillo f3618cda9d Add polls analytics (#1691)
* Refactor location events

* Add poll analytics
2023-09-13 09:28:44 +02: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 0813e13325 Bump the RustSDK to v1.1.12 2023-09-11 12:26:52 +03:00
Doug ae24ba19da Add missing contacts field in OIDC configuration. (#1662) 2023-09-08 16:28:10 +00: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
Doug f98717975d Update Rust SDK. (#1617) 2023-09-01 18:46:50 +01: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
aringenbach 6df74aa21a Update RTE version to 2.8.0 (#1609) 2023-09-01 09:28:43 +02:00
Doug 3ed6de687d Update the SDK. (#1605) 2023-08-31 15:16:56 +01:00
Stefan Ceriu d43b578dce Bump the RustSDK to v1.1.6 2023-08-31 11:45:46 +03:00
Stefan Ceriu af408aacbc Bump the RustSDK to v1.1.5 2023-08-30 17:34:12 +03:00
Alfonso Grillo 3c3e31f9e4 Update matrix-sdk to 1.1.4 (#1594)
* Update matrix-sdk to 1.1.4

* Cleanup project file randomness

---------

Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2023-08-30 12:31:55 +00:00
Doug a472d443e0 Add app logo to OIDC and fix policy URL (#1590) 2023-08-30 09:39:33 +00:00
aringenbach d1573ae40d Initial integration of RTE (#1464)
* Initial integration of RTE

* Fix `clipped`, `focused` and composer view type

* Remove horizontal padding

* Add `ComposerToolbar` mock

* Restore `composerFocusedSubject`

* Allow using HTML from RTE on message sent

* Fix new message content API

* Add feature flag for Rich Text Editor
2023-08-29 12:37:13 +00:00
Stefan Ceriu 1e1923c9f4 Bump the RustSDK to v1.1.2
- add a couple more logs to the room summary provider
2023-08-28 19:56:46 +03:00
aringenbach 24aebe4616 Bump the RustSDK to v1.1.1 2023-08-28 15:37:04 +03:00
Stefan Ceriu c776229dc0 Bump the RustSDK to v1.1.0 2023-08-25 14:42:56 +03:00
Doug 5e3a32157a Enable OIDC support (#1541)
Notification content is bypassed for now.
2023-08-22 15:53:27 +01:00
Stefan Ceriu 65256bf4ab Bump the RustSDK to 1.0.110-alpha 2023-08-21 16:11:06 +03:00
Stefan Ceriu f683861ade Rollback RustSDK to 1.0.108-alpha as 109 is randomly stalling the sync service 2023-08-18 16:15:20 +03:00
Stefan Ceriu 03f1ad1dce Bump the RustSDK to 1.0.109-alpha, removes isEncrypted from RoomInfo 2023-08-18 13:43:16 +03:00
Stefan Ceriu fa78912027 Start using the new (faster) RoomInfo record to populate the room and invite lists 2023-08-17 20:36:47 +03:00
Mauro 8188fd2d2a NSE user agent support (#1507) 2023-08-17 13:11:34 +00:00
Stefan Ceriu 5400910855 Bump SDK to v1.0.107-alpha. Simplify syncService state handling 2023-08-16 18:21:57 +03:00
Doug c64fb44c96 Use Compound ListRow instead of Compound form styles. (#1484)
* Adopt ListRow Component.

* Update snapshots.

To check in future PR:
- Pseudo Bug Report Attach Screenshot label
- Bug Report screenshot padding (Use ListRow .custom?)
- De-bold Analytics & Notification Settings footer links
- Inline picker alignment perhaps?

* Changelog

* Update Compound.

* Use the label on the login screen.
2023-08-16 16:08:30 +01:00
Nicolas Mauri f64159670b Update SDK to 1.0.106-alpha (#1480) 2023-08-11 11:54:44 +02:00
David Langley 8512d4c857 Integrate emojibase (#1449)
* Integrate emojibase

* pin emojibase to version rather than revision

* Log error in case of failed loading of emojis from emojibase.

* Update Package.resolved

* Fix tests and bindings version
2023-08-10 19:14:18 +01:00
Stefan Ceriu 1bfd5e89ca Bump the RustSDK to v1.0.105-alpha 2023-08-09 13:33:48 +03:00
Stefan Ceriu 0511bef33a Fixes #1270 - Parse the latest room message instead of directly using the body. Add an app wide attributed string caching layer. 2023-08-08 17:02:37 +03:00
aringenbach 59865a4b16 Extract composer toolbar to a dedicated component (#1427)
* Extract composer toolbar to a dedicated component

* Use publisher for composer mode

* Introduce `RoomScreenComposerProvider`

* Add `ComposerToolbarViewModelTests`

* Rename protocols and add passthrough subjects for focused and composer mode

* Remove `ComposerToolbarViewActionHandler` and `ComposerToolbarCoordinatorParameters`

* Remove `RoomScreenComposerActionHandlerProtocol` and `RoomScreenComposerProviderProtocol`

* Re-arrange code a bit

* Remove composer mode being stored on `RoomScreen`

* Rename `process(viewAction: ComposerToolbarViewAction)` to `process(composerAction: ComposerToolbarViewAction)`

* Replace PassthroughSubject with direct function call

* Remove `ComposerToolbarCoordinator`

* Remove `cancelEdit` and `cancelReply` from external composer view model actions

* Use `RoomScreenComposerAction` as a sub-`RoomScreenViewModelAction`

* Move `ComposerToolbarViewModel` callback to actionsSubject

* Move `RoomScreenViewModel` callback to actionsSubject

* Fix `RoomScreenViewModelTests`

* Rename `composerAction` parameter to `roomAction`

* Fix unit tests
2023-08-08 14:25:23 +02:00
Doug 68f8bfed53 Update compound with row selection. (#1439)
Include accessibility traits in old form styles too.
2023-08-03 09:37:34 +00:00
Stefan Ceriu 28c2490910 Adopt batched timeline diffs and other RustSDK changes 2023-08-02 12:08:57 +03:00
Stefan Ceriu cdc7502a2c Bump the RustSDK to v1.0.103-alpha 2023-07-28 18:26:53 +03:00
Alfonso Grillo 1529b5b8ca Update SDK to 1.0.102-alpha (#1408)
* Update SDK to 1.0.102-alpha

* Log error

* Notification Improvements API part 1 (#1410)

* changes

* WIP

* progress

* updated test

* removed unused

* code improvement

* Process diffs as batches provided by the SDK.

---------

Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2023-07-27 09:48:56 +00:00
Alfonso Grillo 90ff2df00e Refactor TimelineItemBubbledStylerView for polls (#1404)
* Refactor bubble bg colors and insets

* Improve MapLibreStaticMapView layout

* Add BubbleTimestampLayout

* Refactor BubbleTimestampLayoutType

* Refine .horizontal, .vertical layouts

* Rename layout type

* Add docs

* Restore LocationRoomTimelineItem body

* Refactor whitespaces

* Fix background color for LocationRoomTimelineView.

* Fix UTs

* Fix analytics ui tests

* Fix bug report tests

* Fix settings ui tests

* Rename private property

* Record room screen tests
2023-07-26 15:17:41 +00:00
Doug f2ffded87e Use generated UIColors everywhere. (#1405)
- Fix destructive buttons in the menu.
2023-07-26 11:21:34 +01:00
Mauro Romito ed28bc5d02 two sync loop always enabled by default 2023-07-26 10:39:19 +02:00
Mauro 7cf32ba37c SwiftUI timeline refactor + TimelineViewState decoupling (#1392)
* swiftUI conversion + scroll to bottom

* remove unused

* back pagination implemented, however when a lot of elements are in the scroll the perfomance diminishes not sure what may be causing it

* scroll adapter solution

* way better

* works but height animation in cells are broken

* code improvement

* everything implemented

* rebase fix

* fix

* doc

* fix test compilation

* code improvement and animation improvement

* code improvement

* code improvements

* tests updated.

* pr comments

* better identifiers

* fix

* some PR comments

* pr comments
2023-07-25 12:20:13 +00:00
Alfonso Grillo 6fc8c31449 Reduce boilerplate in Developer Options Screen (#1378)
* Reduce developer options boilerplate

* Add protocol DeveloperOptions

* Delete timelineDiffableAnimationsEnabled

* Refactor DeveloperOptions -> DeveloperOptionsProtocol
2023-07-24 08:42:14 +00:00
Doug fbe05a8679 Compound Room Details (#1369) 2023-07-21 14:22:09 +01:00
Doug 66eea98b33 Fix visibility of navigation bar when searching the forwarding screen. (#1357)
* Fix visibility of navigation bar when searching the forwarding screen.

- Update Introspect and replace deprecated calls with new ones.
- Remove obsoleted colours from DesignKit.
2023-07-19 15:55:21 +00:00
Mauro Romito ad1422ad6c sdk bump 2023-07-18 17:32:11 +02:00