Commit Graph

101 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
b50350aaa0 [Room details] Open room member details when clicking on user data in timeline (#482) 2023-06-01 12:03:27 +02:00
Chris Smith
a908589bad Fix flaky media tests. (#479)
Creating a mock during the test run seems to sometimes take a
large amount of time when running the tests in parallel (possibly
some kind of resource contention?)

Instead, perform the mocking in the test class so it's part of
the setup, not the  actual test runs.
2023-05-30 13:57:03 +00:00
Benoit Marty
534bf67883 Sync localazy to fix lint error. 2023-05-30 13:55:23 +02:00
Benoit Marty
1a2e05608a Merge pull request #471 from vector-im/sync-localazy
Sync Strings
2023-05-30 13:06:51 +02:00
Benoit Marty
b15abe0509 Reduce number of warnings 2023-05-30 11:43:38 +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
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 Martín
268447fd8c Fix small issues, improve Result.flatMap 2023-05-29 13:58:29 +02:00
bmarty
3daea29a82 Sync Strings from Localazy 2023-05-29 00:09:47 +00: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
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
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
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
ganfra
6fd16e9414 Media: make existing tests passes on MessagesPresenters 2023-05-23 21:40:18 +02:00
ganfra
1086aedb0c Media: fix zoomable image with non content uri 2023-05-23 16:58:22 +02:00
ganfra
7c7f167692 Media: align attachement source picker design with Figma 2023-05-22 21:24:43 +02:00