Commit graph

901 commits

Author SHA1 Message Date
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
Benoit Marty
9e73e70a22 Enforce usage of TestScope.testScheduler 2023-06-12 19:49:56 +02:00
Benoit Marty
456e17de34 Fix infinite tests. 2023-06-12 18:51:17 +02:00
Benoit Marty
f7b20e2373 Let HomeserverResolver emit the List and not the Async. 2023-06-12 18:50:55 +02:00
Benoit Marty
f7fbab6ea7 Fix warning 2023-06-12 17:42:01 +02:00
Jorge Martin Espinosa
1831ec7ab4 Fix timeline item padding and corners (#573)
* Try to fix timeline offsets and rounded corners.
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-12 10:42:35 +02:00
Benoit Marty
5ce57ae951 Improve accessibility with keyboard. 2023-06-09 18:45:32 +02:00
Benoit Marty
9d00c9e120 Reduce space above the result to give more visibility especially when the keyboard is opened. 2023-06-09 18:36:10 +02:00
Benoit Marty
168f5dfa89 Add a 5s timeout to avoid infinite loading (actually waiting for network timeout which can be long and is harder to configure). 2023-06-09 18:34:00 +02:00
Benoit Marty
25eb3a556b Use a LazyColumn, in case we get more results in the future. 2023-06-09 18:30:44 +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
9527c6825e Use the search icon on this screen. 2023-06-09 18:10:59 +02:00
Benoit Marty
921a352947 Inline the scroll state. 2023-06-09 18:09:09 +02:00
Benoit Marty
7948f8d0fa Better comment 2023-06-09 18:06:29 +02:00
Benoit Marty
5d3199e31c Move the resolver to the parent package. 2023-06-09 18:05:08 +02:00
Benoit Marty
0b18fceb39 Use LaunchedEffect to avoid multiple calls. 2023-06-09 17:58:36 +02:00
Benoit Marty
f311641ab3 Merge the 2 map. 2023-06-09 17:55:09 +02:00
Benoit Marty
ee38aee147 Rename InlineErrorMessage to simple Error to not consider how the error will be used (actually used in a dialog now) 2023-06-09 17:51:42 +02:00
Benoit Marty
5bec246034 Use function ref. 2023-06-09 17:45:51 +02:00
Benoit Marty
9562600be4 Enforce lambda parameters to be passed in. 2023-06-09 17:43:34 +02:00
Benoit Marty
fee86b281e Rename nodes and organize by package into screens subpackage for clarity 2023-06-09 17:38:04 +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
Benoit Marty
d703eb05ec Format 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
Benoit Marty
563f8d3403 Add tests. 2023-06-08 22:56:36 +02:00
Benoit Marty
319d74b12b Rework HomeserverResolver 2023-06-08 22:04:12 +02:00
Benoit Marty
097b16d4b1 Rename file 2023-06-08 18:20:26 +02:00
ganfra
1382f5890f Merge branch 'develop' into feature/fga/update-rust-sdk-0.1.16 2023-06-08 17:56:00 +02:00
ganfra
50c015801f Clean tests values for file extension 2023-06-08 17:17:13 +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
199decdd1d Test ChangeServerPresenter 2023-06-08 16:34:44 +02:00
Benoit Marty
b039f0d01d Validate server on user click. 2023-06-08 16:34:44 +02:00
Benoit Marty
4df03762a8 Get more info from WellKnown request. 2023-06-08 16:34:44 +02:00
Benoit Marty
5ed3164faf Moar fixes 2023-06-08 16:34:44 +02:00
ganfra
efee010b8c Tests: fix tests for media 2023-06-08 16:10:38 +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
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
Chris Smith
bc695258bf Merge pull request #553 from vector-im/bug/cjs/updating-room-details
Fix changing room avatar from details screen
2023-06-07 16:07:07 +01:00
Benoit Marty
322567ce62 Moar fixes. 2023-06-07 16:58:31 +02:00
Benoit Marty
80cfd74aa9 Fix some errors 2023-06-07 16:55:37 +02:00
Benoit Marty
fe5c83635f Code quality. 2023-06-07 16:43:56 +02:00