Benoit Marty
2676dafd1d
Snackbar: Use a private SnackbarDispatcher() to ensure the Snackbar is displayed in the current screen ( #4128 )
2025-01-24 17:30:03 +01:00
Benoit Marty
c20a9d011c
Improve code clarity
2025-01-23 15:43:33 +01:00
Benoit Marty
dbf511ee2a
Cleanup
2025-01-23 15:42:00 +01:00
Benoit Marty
8d049e134f
Fix color for media viewer according to Figma.
2025-01-23 15:37:09 +01:00
Benoit Marty
ed80ca9899
Use Black for code clarity.
2025-01-23 15:08:40 +01:00
Benoit Marty
c3ec11dec5
Add name to argument for clarity.
2025-01-23 15:06:10 +01:00
Benoit Marty
0b5ad29391
Add documentation on buildMediaViewerPageList.
2025-01-23 15:03:40 +01:00
Benoit Marty
d1d323424d
Simplify
2025-01-23 14:57:59 +01:00
Benoit Marty
fae1c0800d
Simplify with code coerceAtLeast(0)`
2025-01-23 14:57:05 +01:00
Benoit Marty
b967c877a6
Remove useless parameter
2025-01-23 14:49:18 +01:00
Benoit Marty
3dcf921c1a
Fix formatting.
2025-01-23 09:56:51 +01:00
Benoit Marty
4c6f46e46c
Ensure gallery is paginating to get new items.
2025-01-23 09:29:37 +01:00
Benoit Marty
c817112bf2
Fix tests.
2025-01-22 16:24:35 +01:00
Benoit Marty
40a44cae75
Add timestamp to trigger back pagination.
2025-01-22 16:24:34 +01:00
Benoit Marty
5e506be062
Restore overlay when user cancel the dragging
2025-01-22 16:24:34 +01:00
Benoit Marty
f55da9027b
Introduce MediaViewerFlickToDismiss and extract to its own file
2025-01-22 16:24:32 +01:00
Benoit Marty
2267a4b787
MediaViewer: add error case in the UI.
2025-01-22 16:24:32 +01:00
Benoit Marty
b0bfea9cc4
Add test on MediaViewerDataSource
2025-01-22 16:24:31 +01:00
Benoit Marty
36924070df
Add test on SingleMediaGalleryDataSource
2025-01-22 16:24:30 +01:00
Benoit Marty
eb9676294b
Small cleanup
2025-01-22 16:24:30 +01:00
Benoit Marty
8137c68154
Restore caption rendering
2025-01-22 16:24:29 +01:00
Benoit Marty
03c508cea0
sync strings
2025-01-22 16:24:29 +01:00
Benoit Marty
7689219732
Improve loading state and add preview.
2025-01-22 16:24:27 +01:00
Benoit Marty
f21aeea980
Fix and write tests
2025-01-22 16:23:46 +01:00
ganfra
13defbbcc0
media viewer : use collectAsState in the DataSource
2025-01-22 16:22:19 +01:00
Benoit Marty
40ef05b6e6
Remove unused import
2025-01-22 16:22:18 +01:00
Benoit Marty
03523c9567
Provide duration
2025-01-22 16:22:18 +01:00
ganfra
24a2458e4a
media viewer : create MediaViewerDataSource
2025-01-22 16:22:17 +01:00
Benoit Marty
b02c12d92a
If not displayed, make sure to pause the audio / video
2025-01-22 16:22:17 +01:00
Benoit Marty
3e9528fa93
Open in SingleMedia mode when coming from the timeline
2025-01-22 16:22:16 +01:00
Benoit Marty
7397dde87d
Add support for files navigation (when coming from the gallery)
2025-01-22 16:22:15 +01:00
Benoit Marty
901ad85ee6
Suppress Detekt false positive (?)
2025-01-22 16:22:15 +01:00
Benoit Marty
84d603d31f
Remove RetryLoading (use LoadMedia)
2025-01-22 16:22:14 +01:00
Benoit Marty
d691a3f6a2
Let MediaGalleryDataSource be an interface
2025-01-22 16:22:11 +01:00
Benoit Marty
c8ca4d7425
Create MediaGalleryDataSource and extract logic from MediaGalleryPresenter.
2025-01-22 16:21:37 +01:00
bmarty
841c08cbf3
Sync Strings from Localazy
2025-01-20 00:26:57 +00:00
Benoit Marty
05fc76822a
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
3b54afe57d
Sync Strings from Localazy
2025-01-06 00:27:39 +00:00
bmarty
1cadb353dd
Sync Strings from Localazy
2024-12-30 10:12:13 +00:00
bmarty
7a57ec1cc1
Sync Strings from Localazy
2024-12-23 00:16:39 +00:00
Benoit Marty
bb7a90815c
Media gallery: render Loading state when there is only a loader in the timeline.
2024-12-20 15:37:39 +01:00
Benoit Marty
ee4595eb54
Add background to loading state
2024-12-20 14:44:14 +01:00
Benoit Marty
62a6cd74b5
Fix gallery title
2024-12-20 11:39:48 +01:00
Benoit Marty
a72ee95d48
Fix rendering issue in the toolbar.
2024-12-20 10:16:20 +01:00
Benoit Marty
bcbdec7aa1
Fix color issue.
2024-12-19 17:26:27 +01:00
Benoit Marty
a96a20a04e
Add UI test on MediaDetailsBottomSheet
2024-12-19 16:38:56 +01:00
Benoit Marty
f8b2f24962
Move share and download actions to the bottom sheet
2024-12-19 16:20:50 +01:00
Benoit Marty
194b1a8c56
Add background to empty views.
2024-12-19 12:55:23 +01:00
Benoit Marty
728cdc7e2a
Add gradient behind video item info.
2024-12-19 12:24:58 +01:00
Benoit Marty
041d3f4954
Ensure that there is space between segmented button and gallery.
2024-12-19 10:28:48 +01:00