Commit Graph

1660 Commits

Author SHA1 Message Date
Benoit Marty
7c8eef33eb Merge pull request #467 from vector-im/feature/bma/reworkGrouper
Improve timeline rendering for message and state event
2023-05-30 12:39:25 +02:00
renovate[bot]
aa7c030dd1 Update dependency app.cash.turbine:turbine to v0.13.0 (#417)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-30 10:20:06 +00:00
renovate[bot]
311d8e2cdc Update dependency com.squareup:kotlinpoet to v1.14.2 (#474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-30 10:18:22 +00:00
Kat Gerasimova
94ee4f476d Merge pull request #466 from vector-im/kittykat-patch-2
Update triage automation for signoff
2023-05-30 11:12:25 +01:00
Benoit Marty
b15abe0509 Reduce number of warnings 2023-05-30 11:43:38 +02:00
Benoit Marty
8fa0eaf4aa Record screenshots 2023-05-30 11:36:31 +02:00
Benoit Marty
e41f34a041 Fix alignment issue when there is an error. 2023-05-30 11:34:34 +02:00
Benoit Marty
5ca5a4bff1 Add preview for TimelineEventTimestampView 2023-05-30 11:33:33 +02:00
Benoit Marty
7dbd2c628e Merge pull request #468 from vector-im/renovate/rnkdsh-action-upload-diawi-1.x
Update rnkdsh/action-upload-diawi action to v1.5.0
2023-05-30 11:18:55 +02:00
Benoit Marty
463c54ea5c Record screenshots. 2023-05-30 11:09:38 +02:00
Benoit Marty
1a8e7d7d59 Improve preview again 2023-05-30 11:07:55 +02:00
Benoit Marty
67542ad867 Fix compilation issue after rebase. 2023-05-30 10:58:14 +02:00
Benoit Marty
928e3f680b Fix setting y offset to -12.dp can overlap a state event displayed above. Rework how the vertical offset are applied. 2023-05-30 10:50:06 +02:00
Benoit Marty
7b0d21e884 Move extension to a common file for code clarity. 2023-05-30 10:24:19 +02:00
Benoit Marty
b71056c51b Ensure GroupPosition is correct regarding Event which cannot be grouped. 2023-05-30 10:17:25 +02:00
Benoit Marty
b971f87ee3 Document [TimelineItemGroupPosition] and improve preview of [MessageEventBubble]. 2023-05-30 10:17:25 +02:00
Benoit Marty
6d8fadfa67 Let TimelineItemsFactory group the item if necessary, so it's done on a computation dispatcher. Let the View manage the expanded/grouped state. 2023-05-30 10:16:16 +02:00
Jorge Martin Espinosa
3f2e042aa5 Merge pull request #433 from vector-im/feature/fga/image_loading
Send and receive media
2023-05-29 20:33:41 +02:00
Jorge Martín
64777beef1 Merge remote-tracking branch 'origin/develop' into feature/fga/image_loading 2023-05-29 18:11:53 +02:00
Jorge Martin Espinosa
5cafd68ebe Revert RenderingMode to NORMAL in ScreenshotTest (#475)
* Revert `RenderingMode` to `NORMAL` in `ScreenshotTest`

* Remove no longer needed code
2023-05-29 18:00:57 +02:00
Jorge Martín
268447fd8c Fix small issues, improve Result.flatMap 2023-05-29 13:58:29 +02:00
renovate[bot]
081b8cc4db Update rnkdsh/action-upload-diawi action to v1.5.0 2023-05-26 20:47:47 +00:00
ganfra
0b741621c6 Media: fix test compilation 2023-05-26 19:21:12 +02:00
ganfra
8b10a5d021 Media: generate again screenshots... 2023-05-26 19:13:51 +02:00
ganfra
c89d9dd8e6 Media: handle PR review remarks 2023-05-26 19:09:51 +02:00
ganfra
bae810b190 Media: clean a bit Timestamp rendering 2023-05-26 17:10:34 +02:00
Jorge Martín
3776b1c025 Timestamp improvements 2023-05-26 14:37:39 +02:00
Jorge Martín
6c941e02e3 Try to improve timestamp rendering for media 2023-05-26 14:28:37 +02:00
ganfra
c062d125ea Merge branch 'develop' into feature/fga/image_loading 2023-05-26 13:43:51 +02:00
ganfra
c09671ae21 Fix lint issue 2023-05-26 13:07:27 +02:00
Jorge Martin Espinosa
59b7507fed Display timestamps for text messages (#465) 2023-05-26 10:51:15 +00:00
Kat Gerasimova
e51e62087d Update triage automation for signoff 2023-05-26 11:40:02 +01:00
ganfra
fd81d21091 Media: update screenshots again 2023-05-26 12:20:51 +02:00
ganfra
c7540e24c5 Media : Fix small issues after merge 2023-05-26 12:16:14 +02:00
ganfra
1ce0324570 Merge branch 'develop' into feature/fga/image_loading 2023-05-26 11:39:34 +02:00
ganfra
2bfb8093db Media: continue improving VideoView 2023-05-26 11:29:49 +02:00
renovate[bot]
3a2da3aa75 Update mobile-dev-inc/action-maestro-cloud action to v1.3.3 (#457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-26 11:04:18 +02:00
Benoit Marty
3f1433f24c Merge pull request #443 from vector-im/feature/bma/timelineStateEventFormatting
Timeline state event formatting
2023-05-26 10:43:10 +02:00
renovate[bot]
5375758265 Update anvil to v2.4.6 (#463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-26 09:56:58 +02:00
Marco Romano
993fec1b74 Enable one last ignored test for LeaveRoomPresenterImpl (#462)
Most of the tests in `LeaveRoomPresenterImplTest.kt` where using `UnconfinedTestDispatcher` which was conflating some of the state returned by the presenter. This prevented to test one specific case which had been left with an `@Ignore` annotation.
This PR switches to `StandardTestDispatcher` so that the ignored test case can work and also fixes some other test cases whose behavior is now more correct under the `StandardTestDispatcher`.

Also updates our test factory method for `CoroutineDispatchers` to more easily obtain a `CoroutineDispatchers` which uses `StandardTestDispatcher`.
2023-05-26 07:51:41 +02:00
ganfra
bb3b441b6c Media: generate screenshots again 2023-05-25 23:02:55 +02:00
ganfra
a2bd3792f2 Media: some more improvements over MediaViewer 2023-05-25 23:02:19 +02:00
Benoit Marty
be105f501c Add test for TimelinePresenter: Collapse and expand group. 2023-05-25 18:10:32 +02:00
ganfra
43f2d74188 Media: add some previews in the TimelineView 2023-05-25 17:47:53 +02:00
Benoit Marty
d899a8e881 Add test for TimelineItemGrouper and fix a bug: the last group if any was not added to the list. 2023-05-25 17:32:55 +02:00
ganfra
375383c061 Media: polish TimelineVideo item 2023-05-25 16:21:53 +02:00
ganfra
8533cb53ca Media: update screenshots 2023-05-25 15:58:08 +02:00
ganfra
dcae29d35e Media: more cleanup 2023-05-25 15:47:08 +02:00
ganfra
bbf17b426a Merge pull request #456 from vector-im/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.1.7
2023-05-25 15:34:20 +02:00
Benoit Marty
b993545fd2 Merge pull request #460 from vector-im/feature/bma/logCleanup
Log cleanup
2023-05-25 15:29:40 +02:00