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
Benoit Marty
9c89c7892d
Gallery: rework load more management
2024-12-18 12:00:37 +01:00
Benoit Marty
a9b5c61ebf
Gallery: animate items.
2024-12-18 11:56:46 +01:00
Benoit Marty
ac27d1d474
Gallery: Voice message: render duration when the playback is not started.
2024-12-18 11:29:02 +01:00
Benoit Marty
88ea0fb082
Fix ordering of media.
2024-12-18 11:23:53 +01:00
Benoit Marty
960154b741
Gallery: Actions on files are actually only for voice messages.
2024-12-17 17:14:50 +01:00
Benoit Marty
0786c135cd
There is no need to compute the number of column manually.
2024-12-17 17:14:50 +01:00
Benoit Marty
cc3358cc55
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
0ed4d34329
Add inline voice player to the files gallery
2024-12-16 11:03:44 +01:00
Benoit Marty
df72ab6a86
Distinguish Audio and Voice media items.
2024-12-16 10:54:47 +01:00
Benoit Marty
83e474f118
Format file
2024-12-16 09:58:28 +01:00
bmarty
e18e4142c7
Sync Strings from Localazy
2024-12-16 00:28:36 +00:00
Benoit Marty
43c68d5ab0
Private fun
2024-12-13 18:50:39 +01:00
Benoit Marty
63d277418d
Improve title and subtitle for empty states in the gallery.
2024-12-13 18:30:30 +01:00
Benoit Marty
24c7b3e97e
Reorder imports.
2024-12-13 16:00:18 +01:00
Benoit Marty
cf837f35e1
Ensure waveform is not null for voice message.
2024-12-13 10:43:59 +01:00
Benoit Marty
d9e28816bc
Fix test and add tests.
2024-12-13 09:47:52 +01:00
Benoit Marty
8966e64e50
Rename preview
2024-12-13 09:45:49 +01:00
Benoit Marty
1a2fa09737
Cleanup
2024-12-13 09:45:48 +01:00
Benoit Marty
1424df59f7
Extract methods to toggle play and seek the player
2024-12-13 09:45:48 +01:00
Benoit Marty
ad0cc678d8
Remember the listener
2024-12-13 09:45:47 +01:00
Benoit Marty
5b2b281efb
Move fun to a Factory file
2024-12-13 09:45:47 +01:00
Benoit Marty
05f843fda6
Move some player controller to a dedicated package.
2024-12-13 09:45:46 +01:00
Benoit Marty
1aefa489ca
We do not need ExoPlayerWrapper anymore because we are not displaying the embedded controller.
2024-12-13 09:45:45 +01:00
Benoit Marty
caf8c7392e
Add audio file support in the gallery and in the media viewer.
...
Make MediaPlayerControllerView compatible to control audio playback
2024-12-13 09:45:45 +01:00
Benoit Marty
4188d58b56
Implement month separator for the Gallery.
...
Improve day separator rendering in the timeline.
Use Today, Yesterday, and the name of the day if less than 7 days and do not render the year for the current year.
Improve date format for the media viewer.
Rework how date and time are computed.
ActionListView: Time can take more space, so update the layout.
2024-12-11 23:57:57 +01:00
Benoit Marty
8748e64242
Fix test.
...
I'll iterate on the various date format in a separate PR.
2024-12-11 09:55:04 +01:00
Benoit Marty
4d997a88db
Add unit test on MediaItemsPostProcessor
2024-12-10 16:57:41 +01:00
Benoit Marty
076e371908
Order imports.
2024-12-10 15:58:44 +01:00
Benoit Marty
57fc19d545
Let the Presenter use real classes.
2024-12-10 15:56:54 +01:00
Benoit Marty
7a3bd38c96
Add test on DefaultEventItemFactory
2024-12-10 15:16:41 +01:00
Benoit Marty
a4a8fc2268
Media timeline: improve pagination logic.
2024-12-10 15:11:53 +01:00
Benoit Marty
d86430d56a
Move bottom state to the View state
2024-12-10 13:38:28 +01:00
Benoit Marty
b3648c1d18
Improve preview.
2024-12-10 13:10:25 +01:00
Benoit Marty
c5568b430d
Iterate on Error rendering.
2024-12-10 13:04:53 +01:00
Benoit Marty
e28163a116
Introduce GroupedMediaItems for code clarity
2024-12-10 13:01:33 +01:00
Benoit Marty
35bc9597eb
Add missing previews
2024-12-10 12:28:42 +01:00