Commit graph

1976 commits

Author SHA1 Message Date
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
ganfra
76e35582da Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-07 16:31:28 +02:00
ganfra
c48dd99bf9 Media: extract LocalMediaViewState to his own file 2023-06-07 15:58:05 +02:00
ganfra
c9f6093f22 Media: make some minor UI fixes 2023-06-07 15:55:16 +02:00
ganfra
a09ea589f2 Media: address PR review 2023-06-07 15:41:07 +02:00
Benoit Marty
cd860e9de3 Add test for ChangeAccountProviderPresenter and other presenters. 2023-06-07 15:18:23 +02:00
Benoit Marty
a1b1df4cb4 Add test for ChangeAccountProviderPresenter 2023-06-07 14:50:31 +02:00
Benoit Marty
22ec126aa3 Add test for AccountProviderPresenter 2023-06-07 14:47:42 +02:00
Benoit Marty
641e4f5881 Remove old screens. 2023-06-07 14:18:46 +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
539c157083 Get faster results 2023-06-07 12:20:11 +02:00
Chris Smith
72497af09a 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
fa9b873ba6 More fixes 2023-06-07 10:39:19 +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
05e3256da4 Cleanup 2023-06-07 10:01:41 +02:00
Benoit Marty
0b881c3d47 Improve screen 2023-06-07 09:03:53 +02:00
Benoit Marty
dc3ad323e5 LoginPasswordNode 2023-06-07 09:03:53 +02:00
Benoit Marty
974ec9c1f7 Navigation 2023-06-07 09:03:53 +02:00
Benoit Marty
09c5760688 Account provider form screen. 2023-06-07 09:03:53 +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
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
ganfra
c0def1c3dc Media actions: add more tests 2023-06-06 22:08:57 +02:00
Chris Smith
b3ac6e2b97 Bump some font sizes from small to medium after review 2023-06-06 16:44:19 +01:00