Jorge Martín
268447fd8c
Fix small issues, improve Result.flatMap
2023-05-29 13:58:29 +02:00
ganfra
0b741621c6
Media: fix test compilation
2023-05-26 19:21:12 +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
Jorge Martin Espinosa
59b7507fed
Display timestamps for text messages ( #465 )
2023-05-26 10:51:15 +00: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
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
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
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
aeffc0663e
Media: improve BlurHashAsyncImage
2023-05-25 15:28:37 +02:00
Benoit Marty
d601dffa88
Fix missing modifier parameter.
2023-05-25 14:17:09 +02:00
Benoit Marty
d702d3d265
Fix test compilation
2023-05-25 14:17:09 +02:00
Benoit Marty
c47ce5bc1c
This is default value when reverseLayout = true
2023-05-25 14:17:09 +02:00
Benoit Marty
4b2f0b1328
Better icon for this use case.
2023-05-25 14:17:09 +02:00
Benoit Marty
bf3d7207de
Animate collapse/expand change
2023-05-25 14:17:09 +02:00
Benoit Marty
f0550e354a
Group some state events in the timeline
2023-05-25 14:17:09 +02:00
Benoit Marty
e886312ff6
No actions (yet) for State Event.
2023-05-25 14:16:23 +02:00
Benoit Marty
e81d20ec2e
Render State Event in the timeline.
2023-05-25 14:16:23 +02:00
Benoit Marty
bbe4b7d26a
Process state event in timeline - WIP
2023-05-25 14:16:23 +02:00
Benoit Marty
69ae145467
Rename processMessageItem to simple format
2023-05-25 14:16:23 +02:00
Benoit Marty
70df081840
Move RoomLastMessageFormatter and related class and resource to the new module eventformatter, in order to prepare rendering of state event in the timeline.
2023-05-25 14:15:35 +02:00
Benoit Marty
7537c3de7c
Merge pull request #448 from vector-im/feature/bma/testTimeout
...
Create the mockked Bitmap outside the test, to remove increased time out
2023-05-25 11:35:31 +02:00
Benoit Marty
a3d25f3096
Merge pull request #455 from vector-im/misc/cjs/preview-names
...
Fix bad preview name for invite list
2023-05-25 11:35:06 +02:00
Marco Romano
67a8802766
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
2023-05-25 06:42:44 +00:00
ganfra
c31901bd67
Media: some code clean-up
2023-05-24 22:23:38 +02:00
ganfra
1c48f0afac
Media: improve a bit the viewers
2023-05-24 22:19:18 +02:00
ganfra
922b63e746
Merge branch 'develop' into feature/fga/image_loading
2023-05-24 17:39:27 +02:00
ganfra
1e7fcaf8bf
Media: makes sure system ui get back to normal when leaving preview/viewer
2023-05-24 17:30:09 +02:00
ganfra
db90b5051c
Media: add more tests
2023-05-24 17:06:27 +02:00
Chris Smith
c74d0a5d6b
Fix bad preview name for invite list
2023-05-24 11:12:14 +01:00
ganfra
6fd16e9414
Media: make existing tests passes on MessagesPresenters
2023-05-23 21:40:18 +02:00
Benoit Marty
ed133c8a33
Merge pull request #438 from vector-im/feature/fre/invite_people_action
...
Handle "Invite people" action in the start a chat flow
2023-05-23 17:03:39 +02:00
ganfra
1086aedb0c
Media: fix zoomable image with non content uri
2023-05-23 16:58:22 +02:00
Benoit Marty
54489f6b93
Init the mockked Bitmap only once.
2023-05-23 12:46:05 +02:00
Benoit Marty
a9c47d63e3
Create the mockked Bitmap in the constructor, to remove increased time out.
2023-05-23 12:25:07 +02:00
Chris Smith
463b9e0642
Invite users to existing rooms ( #441 )
...
Invite users to existing rooms
Scope:
- Allow inviting from the room detail screen and the member list
- Invite option is only shown if the user has the correct power level
- Search flow the same as creating a new room, allowing multi-select
- Existing room members/invitees are disabled with a custom caption
- Sending is asynchronous, an error dialog will appear wherever the
user is if necessary
Closes #245
2023-05-23 09:23:24 +00:00
ganfra
7c7f167692
Media: align attachement source picker design with Figma
2023-05-22 21:24:43 +02:00
ganfra
2c3fb8a549
Merge branch 'develop' into feature/fga/image_loading
2023-05-22 20:59:37 +02:00
ganfra
4c19bd3644
Media: keep the name of the file when possible
2023-05-22 20:24:42 +02:00