Benoit Marty
b72f4bb3f1
Fix tests.
2025-01-22 16:24:35 +01:00
Benoit Marty
bac69c4a35
Add timestamp to trigger back pagination.
2025-01-22 16:24:34 +01:00
Benoit Marty
dfda13ac20
Restore overlay when user cancel the dragging
2025-01-22 16:24:34 +01:00
Benoit Marty
e496bc38ad
Introduce MediaViewerFlickToDismiss and extract to its own file
2025-01-22 16:24:32 +01:00
Benoit Marty
621558a134
MediaViewer: add error case in the UI.
2025-01-22 16:24:32 +01:00
Benoit Marty
18c3b5b43b
Add test on MediaViewerDataSource
2025-01-22 16:24:31 +01:00
Benoit Marty
428b81ccab
Add test on SingleMediaGalleryDataSource
2025-01-22 16:24:30 +01:00
Benoit Marty
f286f6d464
Small cleanup
2025-01-22 16:24:30 +01:00
Benoit Marty
a4cf1d7e08
Restore caption rendering
2025-01-22 16:24:29 +01:00
Benoit Marty
aa68a35581
sync strings
2025-01-22 16:24:29 +01:00
Benoit Marty
d6ebec8d9a
Improve loading state and add preview.
2025-01-22 16:24:27 +01:00
Benoit Marty
c0542c8702
Fix and write tests
2025-01-22 16:23:46 +01:00
ganfra
3248041d90
media viewer : use collectAsState in the DataSource
2025-01-22 16:22:19 +01:00
Benoit Marty
bad45663d1
Remove unused import
2025-01-22 16:22:18 +01:00
Benoit Marty
d26414f1d3
Provide duration
2025-01-22 16:22:18 +01:00
ganfra
98a786bfa3
media viewer : create MediaViewerDataSource
2025-01-22 16:22:17 +01:00
Benoit Marty
8d6550bfdf
If not displayed, make sure to pause the audio / video
2025-01-22 16:22:17 +01:00
Benoit Marty
ca5c06f20b
Open in SingleMedia mode when coming from the timeline
2025-01-22 16:22:16 +01:00
Benoit Marty
7df65b0350
Add support for files navigation (when coming from the gallery)
2025-01-22 16:22:15 +01:00
Benoit Marty
32db42aebb
Suppress Detekt false positive (?)
2025-01-22 16:22:15 +01:00
Benoit Marty
a06607f530
Remove RetryLoading (use LoadMedia)
2025-01-22 16:22:14 +01:00
Benoit Marty
cbf7bf0fd4
Let MediaGalleryDataSource be an interface
2025-01-22 16:22:11 +01:00
Benoit Marty
35cc5df2b5
Create MediaGalleryDataSource and extract logic from MediaGalleryPresenter.
2025-01-22 16:21:37 +01:00
bmarty
0f0b30d4c5
Sync Strings from Localazy
2025-01-20 00:26:57 +00:00
Benoit Marty
97f3be3dc5
Apply dual licenses: AGPL + Element Commercial to file headers.
...
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
bmarty
ae9ad3d4ec
Sync Strings from Localazy
2025-01-06 00:27:39 +00:00
bmarty
2758adb646
Sync Strings from Localazy
2024-12-30 10:12:13 +00:00
bmarty
45db2a97ad
Sync Strings from Localazy
2024-12-23 00:16:39 +00:00
Benoit Marty
bc1d548f5f
Media gallery: render Loading state when there is only a loader in the timeline.
2024-12-20 15:37:39 +01:00
Benoit Marty
490ca91f71
Add background to loading state
2024-12-20 14:44:14 +01:00
Benoit Marty
6afd8b356a
Fix gallery title
2024-12-20 11:39:48 +01:00
Benoit Marty
f95caea809
Fix rendering issue in the toolbar.
2024-12-20 10:16:20 +01:00
Benoit Marty
1e0938099f
Fix color issue.
2024-12-19 17:26:27 +01:00
Benoit Marty
52af70ad0d
Add UI test on MediaDetailsBottomSheet
2024-12-19 16:38:56 +01:00
Benoit Marty
5c41de60fa
Move share and download actions to the bottom sheet
2024-12-19 16:20:50 +01:00
Benoit Marty
33634b2c95
Add background to empty views.
2024-12-19 12:55:23 +01:00
Benoit Marty
066dc8b18a
Add gradient behind video item info.
2024-12-19 12:24:58 +01:00
Benoit Marty
7421542149
Ensure that there is space between segmented button and gallery.
2024-12-19 10:28:48 +01:00
Benoit Marty
ac075f0558
Gallery: rework load more management
2024-12-18 12:00:37 +01:00
Benoit Marty
67e70cc615
Gallery: animate items.
2024-12-18 11:56:46 +01:00
Benoit Marty
8bd34ed702
Gallery: Voice message: render duration when the playback is not started.
2024-12-18 11:29:02 +01:00
Benoit Marty
16b348a2ce
Fix ordering of media.
2024-12-18 11:23:53 +01:00
Benoit Marty
70f133a291
Gallery: Actions on files are actually only for voice messages.
2024-12-17 17:14:50 +01:00
Benoit Marty
c6dfc14366
There is no need to compute the number of column manually.
2024-12-17 17:14:50 +01:00
Benoit Marty
270fcb9029
Merge pull request #4045 from element-hq/feature/bma/inlinePlayer
...
Inline voice message player in the files gallery.
2024-12-17 14:24:54 +01:00
Benoit Marty
75e8ec6e7c
Add inline voice player to the files gallery
2024-12-16 11:03:44 +01:00
Benoit Marty
49b413b92f
Distinguish Audio and Voice media items.
2024-12-16 10:54:47 +01:00
Benoit Marty
85baf612ed
Format file
2024-12-16 09:58:28 +01:00
bmarty
ff3fbe9cbf
Sync Strings from Localazy
2024-12-16 00:28:36 +00:00
Benoit Marty
93e86b0fe1
Private fun
2024-12-13 18:50:39 +01:00