Commit graph

18 commits

Author SHA1 Message Date
Benoit Marty
659b9d3d9c Now that the composer as been removed, we do not need element resource module anymore. 2023-06-27 13:34:55 +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
Jorge Martin Espinosa
de010545fb Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Benoit Marty
b8467e547c Split module matrix to matrix.api with interfaces and data classes and matrix.impl with Rust implementation. 2023-03-02 17:12:13 +01:00
Benoit Marty
9f3f345088 Material 1.8 2023-02-03 12:56:53 +01:00
Benoit Marty
9d32b05fbb Rework Preview for a better rendering in the IDE. 2023-02-03 12:56:53 +01:00
ganfra
87d0191324 Change/move some gradle modules to be better separated. Let core module be a kotlin lib. 2023-01-24 17:38:57 +01:00
ganfra
dd00f99f0c enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") 2023-01-20 19:13:44 +01:00
ganfra
4a5a1f6d3e Rename textcomposer module 2023-01-20 17:38:04 +01:00
Benoit Marty
468d3f6192 Create dedicated modules for Strings and apply the plugin com.likethesalad.stem
Remove translations
2023-01-18 11:54:02 +01:00
ganfra
ec1bbdeb9c Finish migration of Messages screen 2023-01-13 18:05:14 +01:00
ganfra
020fd3b458 Start migrating messages screen 2023-01-12 18:19:27 +01:00
Benoit Marty
e393e8f52b Fix warning 2022-12-23 15:19:24 +01:00
Benoit Marty
19301756e3 Add missing Copyright 2022-12-22 13:51:56 +01:00
ganfra
5034daed6c Continue cleaning gradle files 2022-12-08 18:52:55 +01:00
Benoit Marty
6392c57fce Setup Showkase and add some Preview. WIP 2022-11-29 15:07:31 +01:00
Benoit Marty
a0c753a85c Import composer 0.7.0.1 from Element Android - still WIP 2022-11-25 16:36:03 +01:00
Benoit Marty
04d2e206ee Composer compiling and running 2022-11-08 15:59:07 +01:00