Benoit Marty
28ff9ea437
Reduce number of warnings
1 year ago
Benoit Marty
03e2fa04cb
Fix alignment issue when there is an error.
1 year ago
Benoit Marty
60593fb1d7
Add preview for TimelineEventTimestampView
1 year ago
Benoit Marty
34980d34ad
Improve preview again
1 year ago
Benoit Marty
0cbddd58bc
Fix compilation issue after rebase.
1 year ago
Benoit Marty
25e432d24e
Fix setting y offset to -12.dp can overlap a state event displayed above. Rework how the vertical offset are applied.
1 year ago
Benoit Marty
c590a32942
Move extension to a common file for code clarity.
1 year ago
Benoit Marty
929ed22cb3
Ensure GroupPosition is correct regarding Event which cannot be grouped.
1 year ago
Benoit Marty
6621163d27
Document [TimelineItemGroupPosition] and improve preview of [MessageEventBubble].
1 year ago
Benoit Marty
6000a7ca5b
Let TimelineItemsFactory group the item if necessary, so it's done on a computation dispatcher. Let the View manage the expanded/grouped state.
1 year ago
Jorge Martín
87990c425c
Fix small issues, improve `Result.flatMap`
1 year ago
bmarty
175b7deccb
Sync Strings from Localazy
1 year ago
ganfra
698e08573b
Media: fix test compilation
1 year ago
ganfra
b2a66ddafe
Media: handle PR review remarks
1 year ago
ganfra
c72ecc4807
Media: clean a bit Timestamp rendering
1 year ago
Jorge Martín
15ff1a4d30
Timestamp improvements
1 year ago
Jorge Martín
fc464a35f9
Try to improve timestamp rendering for media
1 year ago
Jorge Martin Espinosa
7aae71c2d4
Display timestamps for text messages ( #465 )
1 year ago
ganfra
ec4c511c66
Media : Fix small issues after merge
1 year ago
ganfra
2ec2c9b16f
Media: continue improving VideoView
1 year ago
Marco Romano
b145fcbc50
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`.
1 year ago
ganfra
e0106fe907
Media: some more improvements over MediaViewer
1 year ago
Benoit Marty
6102ffa7e4
Add test for TimelinePresenter: Collapse and expand group.
1 year ago
ganfra
5e5737aa61
Media: add some previews in the TimelineView
1 year ago
Benoit Marty
9be8112c9c
Add test for TimelineItemGrouper and fix a bug: the last group if any was not added to the list.
1 year ago
ganfra
c741b35035
Media: polish TimelineVideo item
1 year ago
ganfra
1fe14ef685
Media: update screenshots
1 year ago
ganfra
f7b45d7823
Media: more cleanup
1 year ago
ganfra
48389ccd26
Media: improve BlurHashAsyncImage
1 year ago
Benoit Marty
78c99a340e
Fix missing modifier parameter.
1 year ago
Benoit Marty
9efb703854
Fix test compilation
1 year ago
Benoit Marty
4c20450c2a
This is default value when `reverseLayout = true`
1 year ago
Benoit Marty
52d35e0ac4
Better icon for this use case.
1 year ago
Benoit Marty
31ec3267db
Animate collapse/expand change
1 year ago
Benoit Marty
0c95912c9c
Group some state events in the timeline
1 year ago
Benoit Marty
26198140df
No actions (yet) for State Event.
1 year ago
Benoit Marty
75f6c99ea9
Render State Event in the timeline.
1 year ago
Benoit Marty
b7278f3e3e
Process state event in timeline - WIP
1 year ago
Benoit Marty
a5fc4ffe84
Rename `processMessageItem` to simple `format`
1 year ago
Benoit Marty
9d66af834d
Move RoomLastMessageFormatter and related class and resource to the new module `eventformatter`, in order to prepare rendering of state event in the timeline.
1 year ago
Marco Romano
0dee0784ba
Room list contextual menu ( #427 )
...
- Adds `ModalBottomSheet` to our design components (it wraps the homonimous Material3 one).
- Adds a bottom sheet to the Room list using the aforementioned design component.
- Adds navigation from the room list to a room detail (context menu "Settings" action).
- Consolidates the "leave room flow" into a new `leaveroom` module used by both the room list and the room details.
- Adds progress indicator to the leave room flow
- Uses new `leaveroom` module in `roomdetails` module too.
Parent issue:
- https://github.com/vector-im/element-x-android/issues/261
1 year ago
ganfra
3e01a2f317
Media: some code clean-up
1 year ago
ganfra
92e19c3dd9
Media: improve a bit the viewers
1 year ago
ganfra
75f85a97b7
Media: makes sure system ui get back to normal when leaving preview/viewer
1 year ago
ganfra
ced60c672e
Media: add more tests
1 year ago
Chris Smith
bd242aee64
Fix bad preview name for invite list
1 year ago
ganfra
0a268dc27f
Media: make existing tests passes on MessagesPresenters
1 year ago
ganfra
5c198bc279
Media: fix zoomable image with non content uri
1 year ago
Benoit Marty
5cf17a432f
Init the mockked Bitmap only once.
1 year ago
Benoit Marty
0ac0bbb37a
Create the mockked Bitmap in the constructor, to remove increased time out.
1 year ago