Commit Graph

904 Commits

Author SHA1 Message Date
ganfra
8207098091 Timeline: use thumbnailSource for image if available (except for gif) 2023-06-15 12:11:37 +02:00
ganfra
022e4645b4 Media: introduce a Kind.File so we don't use In-memory bytearray in timeline 2023-06-15 12:06:58 +02:00
Benoit Marty
3c250b2a0d Unblock develop 2023-06-13 11:11:27 +02:00
Benoit Marty
1734b3ec60 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
ef7ddb8d0f Merge pull request #549 from vector-im/feature/bma/onboardingServer
Onboarding iteration
2023-06-13 09:21:50 +02:00
ganfra
92adef5384 Extract fetchDetailsForEvent and use coroutineDispatchers.io 2023-06-12 20:23:58 +02:00
Benoit Marty
91d20e1b78 Enforce usage of TestScope.testScheduler 2023-06-12 19:49:56 +02:00
Benoit Marty
0d55c47d4f Fix infinite tests. 2023-06-12 18:51:17 +02:00
Benoit Marty
7705c93ead Let HomeserverResolver emit the List and not the Async. 2023-06-12 18:50:55 +02:00
Benoit Marty
7cc9b63124 Fix warning 2023-06-12 17:42:01 +02:00
Jorge Martin Espinosa
4a5373395d 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
de3eb23a24 Improve accessibility with keyboard. 2023-06-09 18:45:32 +02:00
Benoit Marty
ddafe50eb5 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
cdf89e86d6 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
6b1809ed3b Use a LazyColumn, in case we get more results in the future. 2023-06-09 18:30:44 +02:00
Benoit Marty
19e090f6dc Always use import io.element.android.libraries.ui.strings.R as StringR 2023-06-09 18:19:00 +02:00
Benoit Marty
8d50acaff4 No need to pass maxLines = 1 if singleline = true anymore. 2023-06-09 18:16:23 +02:00
Benoit Marty
03273985b2 Use the search icon on this screen. 2023-06-09 18:10:59 +02:00
Benoit Marty
f8a16f2ea3 Inline the scroll state. 2023-06-09 18:09:09 +02:00
Benoit Marty
4fa30f384d Better comment 2023-06-09 18:06:29 +02:00
Benoit Marty
0c199a012b Move the resolver to the parent package. 2023-06-09 18:05:08 +02:00
Benoit Marty
1e3727bb39 Use LaunchedEffect to avoid multiple calls. 2023-06-09 17:58:36 +02:00
Benoit Marty
b98010d74d Merge the 2 map. 2023-06-09 17:55:09 +02:00
Benoit Marty
8b177645a9 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
0dd4109d21 Use function ref. 2023-06-09 17:45:51 +02:00
Benoit Marty
9fbc918f10 Enforce lambda parameters to be passed in. 2023-06-09 17:43:34 +02:00
Benoit Marty
dc064069ba Rename nodes and organize by package into screens subpackage for clarity 2023-06-09 17:38:04 +02:00
ganfra
53f234d135 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
2a15681151 Remove internal state machine library 2023-06-09 17:00:11 +02:00
Jorge Martin Espinosa
e591a588b3 [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
39602d8491 Verification: integrate with new statemachine library 2023-06-09 16:48:58 +02:00
Benoit Marty
06297bb792 Update strings. 2023-06-09 16:34:22 +02:00
Benoit Marty
4c214db5c4 Update maestro test regarding the new login flow. 2023-06-09 10:19:49 +02:00
Benoit Marty
b72172e548 Format 2023-06-09 10:19:49 +02:00
Jorge Martin Espinosa
b0386e6235 [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
dbe7796704 Add tests. 2023-06-08 22:56:36 +02:00
Benoit Marty
e1e984cfb0 Rework HomeserverResolver 2023-06-08 22:04:12 +02:00
Benoit Marty
763159651a Rename file 2023-06-08 18:20:26 +02:00
ganfra
569c235f71 Merge branch 'develop' into feature/fga/update-rust-sdk-0.1.16 2023-06-08 17:56:00 +02:00
ganfra
70eefe7c42 Clean tests values for file extension 2023-06-08 17:17:13 +02:00
ganfra
bca3f58062 Matrix rust sdk : update SessionVerificationService to suspend (Async-Uniffi) 2023-06-08 17:02:14 +02:00
Benoit Marty
52545bc620 Fix icon tint 2023-06-08 16:56:20 +02:00
Benoit Marty
aa61c95e8c Test ChangeServerPresenter 2023-06-08 16:34:44 +02:00
Benoit Marty
9a07b72a0e Validate server on user click. 2023-06-08 16:34:44 +02:00
Benoit Marty
48a95c6e01 Get more info from WellKnown request. 2023-06-08 16:34:44 +02:00
Benoit Marty
248d0bad83 Moar fixes 2023-06-08 16:34:44 +02:00
ganfra
8318d45124 Tests: fix tests for media 2023-06-08 16:10:38 +02:00
Jorge Martin Espinosa
25c32cb1e8 [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
b5ec693886 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
decd74303c 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