Commit Graph

758 Commits

Author SHA1 Message Date
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
Benoit Marty
02aaa02f7d Merge pull request #559 from vector-im/feature/bma/fixTestWarning
Fix bad namespace.
2023-06-08 10:23:56 +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
Benoit Marty
eff03a86fb Fix bad namespace.
There were a warning: Namespace 'io.element.android.libraries.matrix.test' used in: :libraries:matrix:test, :libraries:mediaupload:test.
2023-06-07 17:02:08 +02:00
Benoit Marty
0e766418e1 Merge pull request #552 from vector-im/feature/bma/lazyOkHttp
Lazy use the OkHttpClient.
2023-06-07 16:39:34 +02:00
ganfra
8a3a70ffa5 Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-07 16:31:28 +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
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
ee1571590f Lazy use the OkHttpClient. 2023-06-07 09:06:46 +02:00
Benoit Marty
6b264a6397 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
4b704fe02c Media : timeline file adjustment 2023-06-06 23:10:02 +02:00
ganfra
e3457fb594 Media: clean up code 2023-06-06 22:18:13 +02:00
ganfra
730f50a433 Media actions: add more tests 2023-06-06 22:08:57 +02:00
Chris Smith
605e603b71 Bump some font sizes from small to medium after review 2023-06-06 16:44:19 +01:00
Chris Smith
9d3000c983 Remove PreferenceDivider
It's now functionally identical to a plain Divider as the default
is 0.5dp thickness.
2023-06-06 16:44:18 +01:00
Chris Smith
8a8bd66c66 Dividers should be 0.5dp not 1dp 2023-06-06 16:44:18 +01:00
Chris Smith
35b83dd5c5 Progress dialog: use primary colour not onSurface 2023-06-06 16:44:18 +01:00
Chris Smith
9c21034027 Create room: labels shouldn't be bold 2023-06-06 16:44:18 +01:00
Marco Romano
bbef43751b Network library changes (#542)
- Allows for http2
- Caches a global instance of kotlinx-serialization `Json` and configures it with a bit more leniency.
- Moves okhttp's dependency strings to the .toml file
- Switches off logging for release builds
2023-06-06 15:33:30 +02:00
ganfra
20eb2ade54 Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-06 14:35:25 +02:00
ganfra
68e6fc3afa Media: prepare downloadMediaFile to use tempDir 2023-06-06 13:44:49 +02:00
Chris Smith
b6e45c976f 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
github-actions[bot]
03c28ac52d Sync Strings (#522)
Sync Strings from Localazy
2023-06-05 15:26:50 +00:00
Yoan Pintas
d2263372d2 Init analytics modules (#350) 2023-06-05 13:11:34 +00:00
Chris Smith
c457d74954 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
f74ac6808d Update strings to get new room placeholder text 2023-06-05 12:14:29 +01:00
Benoit Marty
2f1b82ef12 Introduce HeaderFooterPage. 2023-06-05 13:06:06 +02:00
Benoit Marty
32026ea5fb Introduce IconTitleSubtitleMolecule. 2023-06-05 12:44:51 +02:00
Chris Smith
0290d0a279 SearchBar: Remove explicit tint on close icon
This is now set properly by the activeColors/inactiveColors
2023-06-05 11:31:14 +01:00
Benoit Marty
b89bca4ca9 Introduce ButtonColumnMolecule and ButtonRowMolecule. 2023-06-05 12:21:50 +02:00
Chris Smith
e3fb510af4 Typo and minor formatting 2023-06-05 10:23:39 +01:00
Benoit Marty
0a689d5456 More cleanup now that min API is back to 23. 2023-06-05 10:46:21 +02:00
ganfra
8e1ade897d MediaViewer: improve actions (save on disk and share) 2023-06-02 20:13:17 +02:00
ganfra
31ba1a1a06 Media action: show snackbar when file saved on disk 2023-06-02 19:41:18 +02:00
ganfra
f7f5539cb9 Update localazy strings 2023-06-02 19:22:23 +02:00
Chris Smith
56d29e3303 Merge remote-tracking branch 'origin/develop' into misc/cjs/create-join-design-feedback 2023-06-02 16:25:07 +01:00
ganfra
3ee9ba4979 Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-02 17:22:10 +02:00
Jorge Martin Espinosa
341be67f3a Fix SearchBar colors. Also fix tertiary color in dark mode. (#516)
* Fix SearchBar colors. Also fix tertiary color in dark mode.
2023-06-02 17:20:43 +02:00
ganfra
d3957dad96 Merge pull request #511 from vector-im/feature/fga/pdf_renderer
In-app PDF renderer
2023-06-02 17:16:42 +02:00
ganfra
0a762dc232 Merge branch 'develop' into feature/fga/pdf_renderer 2023-06-02 16:43:55 +02:00
Chris Smith
ecf7e291b7 SelectedUsers: Remember the layout calculations 2023-06-02 15:19:43 +01:00
Chris Smith
8c3b01e9f2 Add a handle to the avatar bottom sheet 2023-06-02 14:24:16 +01:00
Chris Smith
ac6b2192a5 More string fiddling 2023-06-02 14:22:35 +01:00
Chris Smith
fe65549c6f Treat empty avatar urls the same as null 2023-06-02 14:17:19 +01:00
Jorge Martin Espinosa
0009409a3b [Message actions] Update timeline context menu (#498)
* Replace bottom sheets in timeline with M3 ones.

* Add missing options to menu with the right icons

* Add message summary and reaction emoji row.

* Use the same icon in the message summary and file timeline item
2023-06-02 12:08:54 +00:00
Chris Smith
83add736c5 User row tweaks
- Make the checkbox non-clickable (the parent handles the clicks,
  and this stops the m3 lib padding it out to be a sensible touch
  target)
- Align and spread the text properly
- Change the default avatar size to match designs
2023-06-02 11:57:43 +01:00
Benoit Marty
2f0727363a Merge pull request #502 from vector-im/feature/bma/onboardingIteration
Onboarding iteration
2023-06-02 10:30:29 +02:00
ganfra
80b410860f Media: improve creation of LocalMedia 2023-06-02 09:44:07 +02:00
ganfra
70e9dfa25d Media: finally revert to using only uri but with the proper scheme.. 2023-06-02 08:55:43 +02:00
Benoit Marty
be45feac43 Merge pull request #458 from vector-im/feature/bma/notificationContent
Notification content
2023-06-01 18:01:57 +02:00