bmarty
|
be91da966a
|
Sync Strings from Localazy
|
2025-02-03 00:29:01 +00:00 |
|
Benoit Marty
|
c059c3fd27
|
Protect access to member timeline with a Mutex and clean the code.
|
2025-01-29 10:35:52 +01:00 |
|
Benoit Marty
|
47763cc7a9
|
Move factory method to a dedicated files as they are used by tests also.
|
2025-01-29 10:24:58 +01:00 |
|
Benoit Marty
|
cb4fff87b9
|
Move galleryMode computation to MediaViewerDataSource
|
2025-01-29 10:16:22 +01:00 |
|
Benoit Marty
|
2d40e2248b
|
Move some classes in new packages
- io.element.android.libraries.mediaviewer.impl.datasource
- package io.element.android.libraries.mediaviewer.impl.model
|
2025-01-29 10:09:17 +01:00 |
|
Benoit Marty
|
81d818041e
|
Add tests on GroupedMediaItems.hasEvent
|
2025-01-28 12:47:05 +01:00 |
|
Benoit Marty
|
d44d3b7fce
|
Add tests on DefaultFocusedTimelineMediaGalleryDataSourceFactory
|
2025-01-28 12:42:30 +01:00 |
|
Benoit Marty
|
b04bdbf585
|
Add tests on LiveMediaTimeline
|
2025-01-28 12:33:19 +01:00 |
|
Benoit Marty
|
1a0b8abbfc
|
Add tests on FocusedMediaTimeline
|
2025-01-28 12:23:59 +01:00 |
|
Benoit Marty
|
822efe8baa
|
Cleanup
|
2025-01-28 11:33:20 +01:00 |
|
Benoit Marty
|
1776d93a20
|
Add ability to swipe between media when opened from the timeline.
|
2025-01-28 09:58:44 +01:00 |
|
Benoit Marty
|
2a341b2fb2
|
Remove log.
|
2025-01-27 18:40:53 +01:00 |
|
Benoit Marty
|
792c350a1b
|
Extract snackbar displayer to its own methods.
|
2025-01-27 15:08:51 +01:00 |
|
Benoit Marty
|
5eda0b28b4
|
Suppress large test class.
|
2025-01-27 14:29:31 +01:00 |
|
Benoit Marty
|
fd38d8ea9a
|
Media Viewer: Add test on snackbar when reaching end of timeline
|
2025-01-27 12:11:01 +01:00 |
|
Benoit Marty
|
bfa9191102
|
Media Viewer: show snackbar when reaching end of timeline.
|
2025-01-27 11:24:02 +01:00 |
|
Benoit Marty
|
df82afb6dc
|
Merge pull request #4195 from element-hq/feature/bma/snackBar
Fix snack bar not displayed in MediaViewer
|
2025-01-27 09:52:36 +01:00 |
|
bmarty
|
b016348602
|
Sync Strings from Localazy
|
2025-01-27 00:25:38 +00:00 |
|
Benoit Marty
|
c3e148b97c
|
MediaGallery: close the bottom sheet when action "Save" or "Share" are selected.
|
2025-01-24 17:34:04 +01:00 |
|
Benoit Marty
|
d36b4139f8
|
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
|
4d2edfaccd
|
Improve code clarity
|
2025-01-23 15:43:33 +01:00 |
|
Benoit Marty
|
05660fbc18
|
Cleanup
|
2025-01-23 15:42:00 +01:00 |
|
Benoit Marty
|
beb835c97d
|
Fix color for media viewer according to Figma.
|
2025-01-23 15:37:09 +01:00 |
|
Benoit Marty
|
7dd797b595
|
Use Black for code clarity.
|
2025-01-23 15:08:40 +01:00 |
|
Benoit Marty
|
a5515b01c1
|
Add name to argument for clarity.
|
2025-01-23 15:06:10 +01:00 |
|
Benoit Marty
|
afd8161d1a
|
Add documentation on buildMediaViewerPageList.
|
2025-01-23 15:03:40 +01:00 |
|
Benoit Marty
|
2fde015fe8
|
Simplify
|
2025-01-23 14:57:59 +01:00 |
|
Benoit Marty
|
54182b0d8e
|
Simplify with code coerceAtLeast(0)`
|
2025-01-23 14:57:05 +01:00 |
|
Benoit Marty
|
dff9005a70
|
Remove useless parameter
|
2025-01-23 14:49:18 +01:00 |
|
Benoit Marty
|
77887f90b6
|
Fix formatting.
|
2025-01-23 09:56:51 +01:00 |
|
Benoit Marty
|
1580c732db
|
Ensure gallery is paginating to get new items.
|
2025-01-23 09:29:37 +01:00 |
|
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 |
|