Commit Graph

3487 Commits

Author SHA1 Message Date
Benoit Marty
6fc146ddef Fix formatting quality. 2024-12-17 09:23:29 +01:00
Benoit Marty
6ef9db1bdb Make the room filter use normalized strings. 2024-12-16 16:18:15 +01:00
bmarty
e18e4142c7 Sync Strings from Localazy 2024-12-16 00:28:36 +00:00
Benoit Marty
845f795e62 Merge pull request #4020 from element-hq/rav/more_posthog_props
Support new properties in posthog UTD reports
2024-12-13 19:40:03 +01:00
Benoit Marty
30b09097df Merge pull request #4036 from element-hq/feature/bma/extractVoiceMessagePlayer
Extract voice message player to its own module
2024-12-13 19:38:02 +01: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
5e0d6a6e8a Extract voice message player to its own module 2024-12-13 15:44:58 +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
ecc308a9d7 Merge pull request #4029 from element-hq/feature/bma/eventCache
Add a feature flag to be able to enable the event cache
2024-12-12 17:59:47 +01:00
Benoit Marty
cf4bc53ef3 Merge pull request #4026 from element-hq/feature/bma/monthSeparators
Implement month separator for the Gallery, and improve date rendering.
2024-12-12 17:48:17 +01:00
Richard van der Hoff
4f024c1fd9 Update UtdTracker tests 2024-12-12 11:30:59 +00:00
Richard van der Hoff
65abdb656b Merge remote-tracking branch 'origin/develop' into rav/more_posthog_props 2024-12-12 11:29:27 +00:00
Benoit Marty
53217b5112 Restore providing the Locale 2024-12-12 12:09:59 +01:00
Benoit Marty
87de436c98 Add a way to clear the cache for a specific room. 2024-12-12 11:58:46 +01:00
Benoit Marty
b2dce57abe Add a feature flag for the event cache. 2024-12-12 11:40:53 +01:00
Benoit Marty
d21917278c Add preview for date rendering 2024-12-12 11:28:55 +01:00
Benoit Marty
01a5766438 Move FakeClock to the impl/test folder. 2024-12-12 09:21:51 +01:00
Benoit Marty
f2165b5df2 Fix compilation issue. 2024-12-12 00:43:37 +01:00
Benoit Marty
7cfee3ed64 Extract UnableToDecryptInfo constructor invocation to a factory. 2024-12-12 00:41:15 +01:00
Benoit Marty
daf0811bb3 Add doc and examples. 2024-12-12 00:21:03 +01:00
Benoit Marty
d5b716ac3e Add more tests. 2024-12-12 00:21:02 +01:00
Benoit Marty
1b1ca04934 Avoid code duplication between the 2 tests. 2024-12-12 00:21:01 +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
Richard van der Hoff
e8d373f6ae Support new properties in posthog UTD reports
Add a few new properties to the UTD reports we send to Posthog.
2024-12-11 17:33:16 +00:00
Benoit Marty
c5e605a539 Fix compilation issue. 2024-12-11 12:28:28 +01:00
Benoit Marty
c88d8abc70 Merge pull request #4018 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.70
2024-12-11 12:23:41 +01:00
Benoit Marty
20ba0e65eb Fix tests 2024-12-11 10:41:55 +01:00
Benoit Marty
13cd624e1c Add TODO for the event cache 2024-12-11 10:08:53 +01:00
Benoit Marty
b0df7539ad DayDivider has been renamed to DateDivider.
For the main timeline, we can keep the name `VirtualTimelineItem.DayDivider`
2024-12-11 09:59:13 +01:00
Benoit Marty
70b9e433af Handle new EventCache Exception 2024-12-11 09:57:45 +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