Commit graph

796 commits

Author SHA1 Message Date
ganfra
2290b6dba5 Merge pull request #603 from vector-im/feature/fga/update-rust-sdk-0.1.20
Matrix rust sdk: update to 0.1.20 (and fix compilation issues)
2023-06-15 16:35:45 +02:00
Benoit Marty
97923af7d8 Merge pull request #591 from vector-im/feature/bma/noDelayInTests
No delay in tests
2023-06-15 15:27:41 +02:00
ganfra
d4526e52c6 Matrix rust sdk: update to 0.1.20 (and fix compilation issues) 2023-06-15 15:26:53 +02:00
Jorge Martin Espinosa
244306545f Move logic of different BottomSheets in MessagesView to presenters (#600)
* Move bottom sheet logic in `MessagesView` to presenters.

* Make the block inside `SheetState.hide` suspend.
2023-06-15 14:58:18 +02:00
ganfra
65ecfcc681 Merge pull request #599 from vector-im/feature/fga/timeline_media_improvements
Feature/fga/timeline media improvements
2023-06-15 14:36:15 +02:00
Marco Romano
4511fc3805 Inline Async extension functions (#598)
Just a tiny perf improvement.
2023-06-15 12:53:11 +02:00
ganfra
e817afef84 Media: introduce a Kind.File so we don't use In-memory bytearray in timeline 2023-06-15 12:06:58 +02:00
Jorge Martin Espinosa
31555c4bd0 [Message Actions] Retry sending failed messages (#596)
* Add `RetrySendMessageMenu` to retry sending failed messages or removing its local echo.

* Fix initial event being retrieved, not the updated one

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-15 11:27:37 +02:00
Benoit Marty
9b4b9e9140 Introduce simulateLongTask to ensure that the Presenter State Loading is visible.
Also do some cleanup on the tests.
2023-06-15 10:57:05 +02:00
Benoit Marty
4a56d433c6 Unblock develop 2023-06-13 11:11:27 +02:00
Benoit Marty
d557d1fcad Merge pull request #584 from vector-im/feature/fga/fix_work_on_main_thread
Extract fetchDetailsForEvent and use coroutineDispatchers.io
2023-06-13 10:05:01 +02:00
Benoit Marty
0c64921f10 Merge pull request #549 from vector-im/feature/bma/onboardingServer
Onboarding iteration
2023-06-13 09:21:50 +02:00
ganfra
26746f5e27 Extract fetchDetailsForEvent and use coroutineDispatchers.io 2023-06-12 20:23:58 +02:00
renovate[bot]
f997123f2d Update dependency org.matrix.rustcomponents:sdk-android to v0.1.17 (#576)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.17

* Fix breaking changes.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-06-12 13:57:55 +02:00
Benoit Marty
abfdf39029 Fix lint errors manually (a string sync will be needed on develop). 2023-06-12 11:04:53 +02:00
Benoit Marty
fde6b0e9bb Add some generated KDoc. 2023-06-09 18:40:31 +02:00
Benoit Marty
445df09411 Always use import io.element.android.libraries.ui.strings.R as StringR 2023-06-09 18:19:00 +02:00
Benoit Marty
4f4d024a9f No need to pass maxLines = 1 if singleline = true anymore. 2023-06-09 18:16:23 +02:00
Benoit Marty
921a352947 Inline the scroll state. 2023-06-09 18:09:09 +02:00
ganfra
511b26b2ab Merge pull request #566 from vector-im/feature/fga/update-rust-sdk-0.1.16
Feature/fga/update rust sdk 0.1.16
2023-06-09 17:26:11 +02:00
ganfra
7356898e00 Remove internal state machine library 2023-06-09 17:00:11 +02:00
Jorge Martin Espinosa
9fa261e393 [Message Actions] Add emoji reactions option (#568)
* Add logic to send message reactions

* Add emoji library, create EmojiPicker component

* Fix bottom sheet behaviors

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-09 16:56:40 +02:00
ganfra
2179c17de8 Verification: integrate with new statemachine library 2023-06-09 16:48:58 +02:00
Benoit Marty
b72cf1dcdd Update strings. 2023-06-09 16:34:22 +02:00
Benoit Marty
4266faa204 Update maestro test regarding the new login flow. 2023-06-09 10:19:49 +02:00
Jorge Martin Espinosa
688ab3bd5e [Message Actions] Display debug info for events in the timeline (#555)
* Display debug info for events in the timeline on debug builds.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-09 06:13:22 +00:00
ganfra
6fa2d7bdbc Fix tests build issue 2023-06-08 17:19:36 +02:00
ganfra
23e6ccc9c3 Matrix rust sdk : SlidingSync updates 2023-06-08 17:03:21 +02:00
ganfra
1b831d0f4d Matrix rust sdk : use tempDir in LoadMediaFile 2023-06-08 17:02:45 +02:00
ganfra
d54b8c4733 Matrix rust sdk : update SessionVerificationService to suspend (Async-Uniffi) 2023-06-08 17:02:14 +02:00
Benoit Marty
1bc5277bc2 Fix icon tint 2023-06-08 16:56:20 +02:00
Benoit Marty
b039f0d01d Validate server on user click. 2023-06-08 16:34:44 +02:00
Jorge Martin Espinosa
c176eab4a3 [Message actions] New UI for replies (#545)
* Add 'reply to' UI to the message composer.

* Move the `BlurHashAsyncImage` to `:libraries:designsystem` as it is now used in several modules.

*  Create reusable `AttachmentThumbnail` and associated data classes and enums, it's now added to `:libraries:matrixui`.

* Re-use `AttachmentThumbnail` in a `ActionListView` and `TextComposer`.

* Add 'inReplyTo' models and UI.

* Add min size for images

* Create a separate layout for media items with no reply to info. Also, separate `Timeline__Row` components from `TimelineView`, as it was getting too large.

* Added `EqualWidthColumn` to use inside message bubbles. Also fixed some modifiers for media items replying to other messages.

* Disable `inReplyToClicked`.

* Remove unused resources and libraries.

* Remove any traces of `BlurHashAsyncImage` in `:features:messages`, since it was moved to the design system.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-08 12:15:13 +02:00
Benoit Marty
d9aead8677 Merge pull request #559 from vector-im/feature/bma/fixTestWarning
Fix bad namespace.
2023-06-08 10:23:56 +02:00
ganfra
db2a9f2ff1 Merge pull request #551 from vector-im/feature/fga/media_viewer_actions
Feature/fga/media viewer actions
2023-06-07 17:46:29 +02:00
Benoit Marty
c3ff31394b Fix bad namespace.
There were a warning: Namespace 'io.element.android.libraries.matrix.test' used in: :libraries:matrix:test, :libraries:mediaupload:test.
2023-06-07 17:02:08 +02:00
Benoit Marty
80cfd74aa9 Fix some errors 2023-06-07 16:55:37 +02:00
Benoit Marty
c57a5b4f32 Merge pull request #552 from vector-im/feature/bma/lazyOkHttp
Lazy use the OkHttpClient.
2023-06-07 16:39:34 +02:00
ganfra
76e35582da Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-07 16:31:28 +02:00
Benoit Marty
cd860e9de3 Add test for ChangeAccountProviderPresenter and other presenters. 2023-06-07 15:18:23 +02:00
Jorge Martin Espinosa
e376c1be82 [Message actions] New UI for message composer and editing (#526)
* Add UI for edit composer mode

* Remove leftover code from the RTE implementation

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-07 13:06:19 +02:00
Benoit Marty
5b987ca691 Quality 2023-06-07 12:21:54 +02:00
Chris Smith
67fcfedb6e Merge pull request #529 from vector-im/misc/cjs/create-join-design-feedback-ii
More create and join room design tweaks
2023-06-07 09:19:16 +01:00
Benoit Marty
fe87681473 Lazy use the OkHttpClient. 2023-06-07 09:06:46 +02:00
Benoit Marty
7001c7b9cc Account provider screen. - Crashing 2023-06-07 09:00:20 +02:00
Benoit Marty
67e85e0a36 Change account provider screen. 2023-06-07 09:00:20 +02:00
Benoit Marty
9f1605ab46 Improve composable for icons and create RoundedIconAtom. 2023-06-07 09:00:20 +02:00
Benoit Marty
5d7be76feb Merge pull request #527 from vector-im/feature/bma/designSystem
Preparatory work to integrate new FTUE screen
2023-06-07 08:59:13 +02:00
ganfra
51389053bf Media : timeline file adjustment 2023-06-06 23:10:02 +02:00
ganfra
468ed5276f Media: clean up code 2023-06-06 22:18:13 +02:00