Commit graph

131 commits

Author SHA1 Message Date
ganfra
a09ea589f2 Media: address PR review 2023-06-07 15:41:07 +02:00
ganfra
51389053bf Media : timeline file adjustment 2023-06-06 23:10:02 +02:00
ganfra
468ed5276f Media: clean up code 2023-06-06 22:18:13 +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
ganfra
950e474c72 Media: make tests passing again 2023-06-06 13:48:12 +02:00
ganfra
092e1544ca Media: rework how we get the activity context (and fix test compilation) 2023-06-05 23:39:48 +02:00
ganfra
be009baed7 File: improve a bit pdf loading 2023-06-05 22:45:49 +02:00
ganfra
e322ba1b32 Media: handle openWith and share actions (need to inject context for tests...). Also introduce MediaInfo 2023-06-05 20:52:17 +02:00
github-actions[bot]
044a3c991e Sync Strings (#522)
Sync Strings from Localazy
2023-06-05 15:26:50 +00:00
ganfra
fa63ed1faf MediaViewer: improve actions (save on disk and share) 2023-06-02 20:13:17 +02:00
ganfra
89d4b81f80 Media action: show snackbar when file saved on disk 2023-06-02 19:41:18 +02:00
ganfra
1d9ef72ed5 Media Viewer: rename the shared file with the known name if any. 2023-06-02 17:46:48 +02:00
ganfra
d5bff3437b Pdf : fix after merge 2023-06-02 17:29:24 +02:00
ganfra
c06b22961b Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-02 17:22:10 +02:00
ganfra
5b1b02613b Merge pull request #512 from vector-im/feature/fga/improve_timeline_file_rendering
Timeline file item iteration
2023-06-02 17:18:19 +02:00
ganfra
1230769c4c Merge pull request #511 from vector-im/feature/fga/pdf_renderer
In-app PDF renderer
2023-06-02 17:16:42 +02:00
ganfra
c5ac14014c Merge branch 'develop' into feature/fga/improve_timeline_file_rendering 2023-06-02 17:00:13 +02:00
ganfra
d878e7274d Pdf : add small comment 2023-06-02 16:48:17 +02:00
ganfra
26adc55ea9 Merge branch 'develop' into feature/fga/pdf_renderer 2023-06-02 16:43:55 +02:00
ganfra
1c01c0a6cc Media: implements share action 2023-06-02 16:43:28 +02:00
Jorge Martin Espinosa
dc4b385ada [Message actions] Update timeline context menu (#498)
* Replace bottom sheets in timeline with M3 ones.

* Add missing options to menu with the right icons

* Add message summary and reaction emoji row.

* Use the same icon in the message summary and file timeline item
2023-06-02 12:08:54 +00:00
ganfra
7386936217 Media: improve creation of LocalMedia 2023-06-02 09:44:07 +02:00
ganfra
966199a007 Media: finally revert to using only uri but with the proper scheme.. 2023-06-02 08:55:43 +02:00
ganfra
7b90f5bfcf Media: refactor LocalMedia so the source of data is clear (uri or file) 2023-06-01 22:35:17 +02:00
ganfra
bc35db3ffd Media viewer: start adding save on disk action 2023-06-01 22:01:05 +02:00
ganfra
bbc10ea3ff File: new design for file timeline item 2023-06-01 18:41:54 +02:00
ganfra
ab95218e50 Pdf: rework pdf viewer a bit 2023-06-01 17:42:05 +02:00
Jorge Martin Espinosa
a36f4b7947 [Room details] Open room member details when clicking on user data in timeline (#482) 2023-06-01 12:03:27 +02:00
ganfra
acb716849d Pdf: improve rendering with zoom and spaces between pages 2023-05-31 23:48:23 +02:00
ganfra
3030799649 Pdf: first iteration of pdf renderer 2023-05-31 23:20:49 +02:00
Chris Smith
6ad14aa223 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
ff1147e611 Sync localazy to fix lint error. 2023-05-30 13:55:23 +02:00
Benoit Marty
7f2b23507c Merge pull request #471 from vector-im/sync-localazy
Sync Strings
2023-05-30 13:06:51 +02:00
Benoit Marty
28ff9ea437 Reduce number of warnings 2023-05-30 11:43:38 +02:00
Benoit Marty
03e2fa04cb Fix alignment issue when there is an error. 2023-05-30 11:34:34 +02:00
Benoit Marty
60593fb1d7 Add preview for TimelineEventTimestampView 2023-05-30 11:33:33 +02:00
Benoit Marty
34980d34ad Improve preview again 2023-05-30 11:07:55 +02:00
Benoit Marty
0cbddd58bc Fix compilation issue after rebase. 2023-05-30 10:58:14 +02:00
Benoit Marty
25e432d24e 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
c590a32942 Move extension to a common file for code clarity. 2023-05-30 10:24:19 +02:00
Benoit Marty
929ed22cb3 Ensure GroupPosition is correct regarding Event which cannot be grouped. 2023-05-30 10:17:25 +02:00
Benoit Marty
6621163d27 Document [TimelineItemGroupPosition] and improve preview of [MessageEventBubble]. 2023-05-30 10:17:25 +02:00
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. 2023-05-30 10:16:16 +02:00
Jorge Martín
87990c425c Fix small issues, improve Result.flatMap 2023-05-29 13:58:29 +02:00
bmarty
175b7deccb Sync Strings from Localazy 2023-05-29 00:09:47 +00:00
ganfra
698e08573b Media: fix test compilation 2023-05-26 19:21:12 +02:00
ganfra
b2a66ddafe Media: handle PR review remarks 2023-05-26 19:09:51 +02:00
ganfra
c72ecc4807 Media: clean a bit Timestamp rendering 2023-05-26 17:10:34 +02:00
Jorge Martín
15ff1a4d30 Timestamp improvements 2023-05-26 14:37:39 +02:00