Jorge Martin Espinosa
78a26c034e
Fix actions for redacted, not sent and media messages ( #771 )
...
* Fix actions for redacted, not sent and media messages
* Make `EventDebugInfoView` sections fill max width
* Don't display action list if there are no actions to display
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-05 14:08:17 +00:00
ganfra
2dcd94076f
Room: remove bestName and use displayName instead of name where it makes sense
2023-07-05 12:01:51 +02:00
ganfra
d59f59e9f6
Await room: first attempt to wait for a room to be ready
2023-07-04 18:19:06 +02:00
Marco Romano
ae054b7130
Adds new optional parameters to MatrixRoom.sendLocation() ( #767 )
...
For location sharing.
2023-07-04 13:57:19 +00:00
Benoit Marty
34f4078d5f
Move BuildMeta fake to common test module.
2023-07-03 17:09:04 +02:00
Benoit Marty
a2a5d251d1
Merge pull request #731 from vector-im/feature/fga/timeline_back_pagination
...
Feature/fga/timeline back pagination
2023-06-30 09:27:36 +02:00
ganfra
3aa5cce8dc
Timeline: use val instead of fun for flows
2023-06-29 18:03:12 +02:00
ganfra
84fce4bcc7
Merge pull request #721 from vector-im/feature/fga/media_upload_progress
...
Feature/fga/media upload progress
2023-06-29 18:01:50 +02:00
ganfra
2bd325620c
Fix coverage and address PR review comment.
2023-06-29 17:40:19 +02:00
Jorge Martin Espinosa
469b54f204
Send read receipts ( #713 )
...
* Send read receipts
* Add changelog
* Add tests.
* Optimise how sending read receipts work in the timeline.
* Move the check for send read receipts to the presenter
Also improve the way we find the first visible `Event` if we have `Virtual` ones in the timeline.
2023-06-29 10:08:19 +00:00
Chris Smith
f4e17cf12d
Merge pull request #696 from vector-im/feature/cjs/leaving-dms
...
Show a prompt to reinvite other party in a DM
2023-06-29 10:42:35 +01:00
Marco Romano
354374ed49
MatrixRoom API refinement ( #719 )
...
- `syncUpdateFlow` becomes a `val` and always returns the same instance of the underlying `StateFlow` instead of different `Flow` instances to allow consumers not to remember the `Flow` and not to specify an unneeded initial value.
- `timeline` becomes a `val` as it already always returns the same instance.
- Amends calling code accordingly
- Removes a few unneeded `val`s in `RustMatrixClient
- Fixes a small bug in `MessagesPresenter` that allowed to sometime show a newly created room's name as "Empty room" (changes `LaunchedEffect(syncUpdateFlow)` to `LaunchedEffect(syncUpdateFlow.value)`)
2023-06-29 10:48:55 +02:00
Chris Smith
53861fedb6
Show a prompt to reinvite other party in a DM
...
If you are looking at a DM where the other party has left then
when you focus the composer for the first time we'll show a
dialog asking if you want to reinvite the other party.
Closes #590
2023-06-28 17:20:51 +01:00
ganfra
8e5c2a749a
Merge branch 'develop' into feature/fga/room_list_api
2023-06-28 15:14:06 +02:00
jonnyandrew
366a800a2c
Toggle reactions from the timeline ( #707 )
2023-06-28 13:02:04 +00:00
ganfra
812880a148
RoomList: fix tests and sample
2023-06-27 14:06:58 +02:00
ganfra
34f5e0597a
Merge branch 'develop' into feature/fga/room_list_api
2023-06-27 10:47:50 +02:00
Marco Romano
4fe7bb6809
Add sendLocation API to Rust Room ( #681 )
...
Will be used by the location sharing feature.
2023-06-27 09:12:17 +02:00
renovate[bot]
32332deaf4
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.24 ( #675 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.24
* Add new `filterByPushRules`.
Only existing usage of this API will set this param to `true` in order to not change the current behavior.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
2023-06-27 08:29:36 +02:00
ganfra
19e2c104af
RoomList: update LoadingState and fix a crash
2023-06-26 22:30:12 +02:00
ganfra
fa48c29486
RoomList: more rework on RoomSummaryDataSource
2023-06-26 18:02:53 +02:00
Benoit Marty
b6920afb7f
Move cache management to a dedicated class and in the setting module, for clarity.
2023-06-26 11:07:53 +02:00
Benoit Marty
145cd410c7
Idx -> Index
2023-06-26 11:07:53 +02:00
Benoit Marty
ffa7154e43
Implement missing methods in Fake class.
2023-06-26 11:07:53 +02:00
Benoit Marty
e298670b68
var -> val
2023-06-26 11:07:53 +02:00
Benoit Marty
2a7d252a4e
Display cache size in the developer settings ( #643 )
2023-06-26 11:06:36 +02:00
Benoit Marty
f014f0a3ae
Add clear cache action in the developer settings ( #643 )
2023-06-26 11:06:36 +02:00
ganfra
7ee3c1bf42
Merge branch 'develop' into feature/fga/room_list_api
2023-06-23 18:14:09 +02:00
ganfra
f3e072bdb0
RoomList: try syncing when network is back and inError state
2023-06-23 17:07:27 +02:00
Jorge Martin Espinosa
9251cbf536
[Message Actions] Report messages ( #642 )
...
* Add report messages feature
* Try to improve how snackbars are delivered
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-23 10:44:47 +02:00
ganfra
ca080fd6af
RoomList: introduces a SyncService
2023-06-22 16:50:53 +02:00
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>
2023-06-22 13:27:59 +02:00
ganfra
ef8dc6ea7a
RoomList: change a bit the api of RoomSummaryDataSource
2023-06-22 12:34:07 +02:00
ganfra
01f1f73b96
Merge branch 'develop' into feature/fga/room_list_api
2023-06-22 11:31:49 +02:00
ganfra
2115db7af5
Rust sdk update: make the app compile
2023-06-22 09:50:17 +02:00
ganfra
cb219e6292
Room/Timeline: simplify the apis
2023-06-21 16:25:18 +02:00
Benoit Marty
9f01d6f66a
Display a banner instead of the composer when user cannot post message to a room ( #602 )
2023-06-19 11:52:34 +02:00
Benoit Marty
97923af7d8
Merge pull request #591 from vector-im/feature/bma/noDelayInTests
...
No delay in tests
2023-06-15 15:27:41 +02:00
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>
2023-06-15 11:27:37 +02:00
Benoit Marty
9b4b9e9140
Introduce simulateLongTask to ensure that the Presenter State Loading is visible.
...
Also do some cleanup on the tests.
2023-06-15 10:57:05 +02:00
Benoit Marty
4a56d433c6
Unblock develop
2023-06-13 11:11:27 +02:00
ganfra
26746f5e27
Extract fetchDetailsForEvent and use coroutineDispatchers.io
2023-06-12 20:23:58 +02:00
ganfra
511b26b2ab
Merge pull request #566 from vector-im/feature/fga/update-rust-sdk-0.1.16
...
Feature/fga/update rust sdk 0.1.16
2023-06-09 17:26: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
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
ganfra
6fa2d7bdbc
Fix tests build issue
2023-06-08 17:19:36 +02:00
ganfra
d54b8c4733
Matrix rust sdk : update SessionVerificationService to suspend (Async-Uniffi)
2023-06-08 17:02:14 +02:00
ganfra
c0def1c3dc
Media actions: add more tests
2023-06-06 22:08:57 +02:00
ganfra
438fc6bb99
Merge branch 'develop' into feature/fga/media_viewer_actions
2023-06-06 14:35:25 +02:00