Commit Graph

3135 Commits

Author SHA1 Message Date
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
Benoit Marty
de31591eba Moar fixes. 2023-06-07 16:58:31 +02:00
Benoit Marty
b4723bb182 Fix some errors 2023-06-07 16:55:37 +02:00
Benoit Marty
3eeeee2c98 Code quality. 2023-06-07 16:43:56 +02:00
ganfra
8a3a70ffa5 Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-07 16:31:28 +02:00
ganfra
a2fc02f90e Media: extract LocalMediaViewState to his own file 2023-06-07 15:58:05 +02:00
ganfra
c69c3ea942 Media: make some minor UI fixes 2023-06-07 15:55:16 +02:00
ganfra
865d521545 Media: address PR review 2023-06-07 15:41:07 +02:00
Benoit Marty
ae38ffa914 Add test for ChangeAccountProviderPresenter and other presenters. 2023-06-07 15:18:23 +02:00
Benoit Marty
97090b9007 Add test for ChangeAccountProviderPresenter 2023-06-07 14:50:31 +02:00
Benoit Marty
c94b29bf83 Add test for AccountProviderPresenter 2023-06-07 14:47:42 +02:00
Benoit Marty
c5c5d90c24 Remove old screens. 2023-06-07 14:18:46 +02:00
Jorge Martin Espinosa
595fbda220 [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
27313ada37 Get faster results 2023-06-07 12:20:11 +02:00
Chris Smith
6910984588 Fix changing room avatar from details screen
The presenter was expecting the MediaProcessor to return a
MediaUploadInfo.Image, but it actually returns
MediaUploadInfo.AnyFile because we're not compressing avatars
(so it doesn't process the file and return more detailed info).

This check/cast was entirely pointless, so change to just
working on whatever we're given. The pickers constrain which
types of file the user select, so we should be reasonably happy
the files are images.

Also actually log error details when updating the details,
so we know what's going wrong.

Closes #550
2023-06-07 11:18:03 +01:00
Benoit Marty
9836b3fc8a More fixes 2023-06-07 10:39:19 +02:00
Chris Smith
8edf270e66 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
7b6a5d3af4 Cleanup 2023-06-07 10:01:41 +02:00
Benoit Marty
6eeac4dc41 Improve screen 2023-06-07 09:03:53 +02:00
Benoit Marty
32f953aa83 LoginPasswordNode 2023-06-07 09:03:53 +02:00