Commit graph

847 commits

Author SHA1 Message Date
ganfra
7356898e00 Remove internal state machine library 2023-06-09 17:00:11 +02:00
ganfra
2179c17de8 Verification: integrate with new statemachine library 2023-06-09 16:48:58 +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
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
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
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
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
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
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
Chris Smith
fd34ab5cd9 Invite button: fiddle with touch area
Instead of the whole width of the screen being touchable, make the
clickable component 48dp high and 16dp padding either side of the
content.
2023-06-06 16:44:18 +01:00
Chris Smith
34a67bdb2c Create room: labels shouldn't be bold 2023-06-06 16:44:18 +01:00
Chris Smith
3a7e310bd3 Invites: increase vertical padding to 16dp 2023-06-06 16:44:18 +01:00
ganfra
438fc6bb99 Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-06 14:35:25 +02:00
ganfra
950e474c72 Media: make tests passing again 2023-06-06 13:48:12 +02:00
Chris Smith
7308428596 Use member count instead of counting members (#530)
Use member count instead of counting members

For the room details screen, use the member count as supplied by
matrix instead of waiting for the entire member list to be
retrieved and then manually adding up all the relevant users.

This removes the loading state of the member count, relying on
a spinner on the member list itself if the user actually wants
to see the members. (The performance of that will be improved
separately on the rust side in the future)

Closes #505
2023-06-06 10:40:17 +00:00
ganfra
092e1544ca Media: rework how we get the activity context (and fix test compilation) 2023-06-05 23:39:48 +02:00
ganfra
be009baed7 File: improve a bit pdf loading 2023-06-05 22:45:49 +02:00
ganfra
e322ba1b32 Media: handle openWith and share actions (need to inject context for tests...). Also introduce MediaInfo 2023-06-05 20:52:17 +02:00
github-actions[bot]
044a3c991e Sync Strings (#522)
Sync Strings from Localazy
2023-06-05 15:26:50 +00:00
Yoan Pintas
f534ecda96 Init analytics modules (#350) 2023-06-05 13:11:34 +00:00
Chris Smith
93456e8d44 Merge pull request #519 from vector-im/misc/cjs/create-join-design-feedback
Design tweaks for create/join rooms
2023-06-05 13:24:42 +01:00
Chris Smith
5635057c62 Remove deleted strings from translations 2023-06-05 12:38:26 +01:00
Chris Smith
8ef7f36de8 Update strings to get new room placeholder text 2023-06-05 12:14:29 +01:00
Benoit Marty
2d7b4a0bf8 Introduce HeaderFooterPage. 2023-06-05 13:06:06 +02:00
Chris Smith
06a06e712e Invites: simplify string building 2023-06-05 11:51:00 +01:00
Benoit Marty
83a700877b Introduce IconTitleSubtitleMolecule. 2023-06-05 12:44:51 +02:00
Chris Smith
edb370db3e Create room: use secondary tint instead of alpha 2023-06-05 11:28:32 +01:00
Benoit Marty
9f5daf070a Introduce ButtonColumnMolecule and ButtonRowMolecule. 2023-06-05 12:21:50 +02:00
Chris Smith
ff68974ea3 Invite people to a room: add dividers 2023-06-05 10:51:05 +01:00
Chris Smith
354c943d0b Typo and minor formatting 2023-06-05 10:23:39 +01:00
Benoit Marty
44bfd1f15c More cleanup now that min API is back to 23. 2023-06-05 10:46:21 +02:00
ganfra
fa63ed1faf MediaViewer: improve actions (save on disk and share) 2023-06-02 20:13:17 +02:00
ganfra
89d4b81f80 Media action: show snackbar when file saved on disk 2023-06-02 19:41:18 +02:00
ganfra
190da5f738 Update localazy strings 2023-06-02 19:22:23 +02:00
ganfra
1d9ef72ed5 Media Viewer: rename the shared file with the known name if any. 2023-06-02 17:46:48 +02:00
ganfra
d5bff3437b Pdf : fix after merge 2023-06-02 17:29:24 +02:00
Chris Smith
9c21a1dd74 Merge remote-tracking branch 'origin/develop' into misc/cjs/create-join-design-feedback 2023-06-02 16:25:07 +01:00
ganfra
c06b22961b Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-02 17:22:10 +02:00