Marco Romano
e1bb5684cd
Expose new `windowInsets` param from `ModalBottomSheet` ( #662 )
...
Part of new public API in compose.material3:1.1.1
1 year ago
ganfra
ca080fd6af
RoomList: introduces a SyncService
1 year ago
Jorge Martin Espinosa
42827206b3
[Message Actions] Forward messages ( #635 )
...
* Add forwarding messages base
* Make forwarding single-selection
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
ganfra
ef8dc6ea7a
RoomList: change a bit the api of RoomSummaryDataSource
1 year ago
ganfra
4656af6ce8
RoomList: start/stop sync in resume/pause callbacks
1 year ago
ganfra
2115db7af5
Rust sdk update: make the app compile
1 year ago
ganfra
8e617b427d
CanSendEvent default to true and branch refresh mechanism...
1 year ago
ganfra
cb219e6292
Room/Timeline: simplify the apis
1 year ago
Benoit Marty
da110bd2c4
Extract `getCanSendEvent` to the `matrixui` module, rename to `canSendEventAsState` and use produceState.
1 year ago
ganfra
9afadaf406
RoomList: fix timeline api
1 year ago
ganfra
4c0507a757
RoomList: make the main room list working (WIP)
1 year ago
Jorge Martin Espinosa
3e9475c8ab
Set max lines to 2 in replies for composer ( #645 )
...
* Set `maxLines = 2` for the composer message preview in replies
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
github-actions[bot]
fe5524bae4
Sync Strings ( #630 )
...
* Sync Strings from Localazy
* Update strings, remove broken German translation
* Update screenshots
---------
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
9f01d6f66a
Display a banner instead of the composer when user cannot post message to a room ( #602 )
1 year ago
Przemysław Romanik
e44e296984
add '.' to MATRIX_ROOM_IDENTIFIER_REGEX
...
Signed-off-by: Przemysław Romanik <github@rom4nik.pl>
1 year ago
Benoit Marty
2452d8aa91
Fix the 6 issues reported by Sonar.
1 year ago
ganfra
f976291731
Media: fix detekt
1 year ago
ganfra
33c74fb4e5
Fix MediaPreProcessor for images/videos sent as file
1 year ago
Benoit Marty
b9ec124af4
Move extension `openUrlInChromeCustomTab` to :androidutils module.
1 year ago
renovate[bot]
8ce27ada26
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.21 ( #610 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.21
* Fix `SlidingSyncState` being renamed to `SlidingSyncListLoadingState`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
1 year ago
Benoit Marty
9701abf15e
Extract method about text to the design system module.
1 year ago
ganfra
d4526e52c6
Matrix rust sdk: update to 0.1.20 (and fix compilation issues)
1 year ago
Jorge Martin Espinosa
244306545f
Move logic of different BottomSheets in `MessagesView` to presenters ( #600 )
...
* Move bottom sheet logic in `MessagesView` to presenters.
* Make the block inside `SheetState.hide` suspend.
1 year ago
Marco Romano
4511fc3805
Inline Async extension functions ( #598 )
...
Just a tiny perf improvement.
1 year ago
ganfra
e817afef84
Media: introduce a Kind.File so we don't use In-memory bytearray in timeline
1 year ago
Jorge Martin Espinosa
31555c4bd0
[Message Actions] Retry sending failed messages ( #596 )
...
* Add `RetrySendMessageMenu` to retry sending failed messages or removing its local echo.
* Fix initial event being retrieved, not the updated one
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
9b4b9e9140
Introduce `simulateLongTask` to ensure that the Presenter State `Loading` is visible.
...
Also do some cleanup on the tests.
1 year ago
Benoit Marty
4a56d433c6
Unblock develop
1 year ago
ganfra
26746f5e27
Extract fetchDetailsForEvent and use coroutineDispatchers.io
1 year ago
renovate[bot]
f997123f2d
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.17 ( #576 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.17
* Fix breaking changes.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
1 year ago
Benoit Marty
abfdf39029
Fix lint errors manually (a string sync will be needed on develop).
1 year ago
Benoit Marty
fde6b0e9bb
Add some generated KDoc.
1 year ago
Benoit Marty
445df09411
Always use `import io.element.android.libraries.ui.strings.R as StringR`
1 year ago
Benoit Marty
4f4d024a9f
No need to pass `maxLines = 1` if `singleline = true` anymore.
1 year ago
Benoit Marty
921a352947
Inline the scroll state.
1 year ago
ganfra
7356898e00
Remove internal state machine library
1 year ago
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>
1 year ago
ganfra
2179c17de8
Verification: integrate with new statemachine library
1 year ago
Benoit Marty
b72cf1dcdd
Update strings.
1 year ago
Benoit Marty
4266faa204
Update maestro test regarding the new login flow.
1 year ago
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>
1 year ago
ganfra
6fa2d7bdbc
Fix tests build issue
1 year ago
ganfra
23e6ccc9c3
Matrix rust sdk : SlidingSync updates
1 year ago
ganfra
1b831d0f4d
Matrix rust sdk : use tempDir in LoadMediaFile
1 year ago
ganfra
d54b8c4733
Matrix rust sdk : update SessionVerificationService to suspend (Async-Uniffi)
1 year ago
Benoit Marty
1bc5277bc2
Fix icon tint
1 year ago
Benoit Marty
b039f0d01d
Validate server on user click.
1 year ago
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>
1 year ago
Benoit Marty
c3ff31394b
Fix bad namespace.
...
There were a warning: Namespace 'io.element.android.libraries.matrix.test' used in: :libraries:matrix:test, :libraries:mediaupload:test.
1 year ago
Benoit Marty
80cfd74aa9
Fix some errors
1 year ago