Commit Graph

24 Commits

Author SHA1 Message Date
Benoit Marty
b6a1700449 Merge pull request #3979 from element-hq/feature/bma/mediaCaption
MediaViewer: iterate on design
2024-12-03 13:03:15 +01:00
Benoit Marty
01c4a10ab9 Fix detekt issues. 2024-12-03 09:26:16 +01:00
Benoit Marty
447a4d0700 Fix modifier issue. 2024-12-02 18:09:29 +01:00
Benoit Marty
f0c07c15a8 Add Divider 2024-12-02 17:39:00 +01:00
Benoit Marty
8db489f9d5 Video player: Iterate on Play/Pause button 2024-12-02 17:38:59 +01:00
Benoit Marty
3175d9242a Improve preview. 2024-12-02 17:38:58 +01:00
Benoit Marty
23b5776474 MediaViewer: iterate on design 2024-12-02 17:05:44 +01:00
Benoit Marty
ba88faf296 Do not auto-play videos. 2024-12-02 14:46:56 +01:00
Benoit Marty
52f86a8c5f Exclude ExoPlayerForPreview from coverage metrics. 2024-12-02 09:07:08 +01:00
Benoit Marty
0d39e921e9 Fix preview rendering 2024-11-29 11:49:21 +01:00
Benoit Marty
556fc38f62 Add some previews. 2024-11-29 11:23:02 +01:00
Benoit Marty
81679cceae Rename file and split test. 2024-11-29 09:56:16 +01:00
Benoit Marty
5cccbe584d Extract fun from LocalMediaView and move some files. 2024-11-29 09:24:52 +01:00
Benoit Marty
b05d9507ea Move code to the impl module 2024-11-29 09:24:50 +01:00
Benoit Marty
f7a3f707fb Improve mapping regarding filename, caption and formattedCaption 2024-10-08 17:12:48 +02:00
Benoit Marty
2b016227e9 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
b843b5d9fa Renaming function for code clarity. 2024-02-27 09:53:14 +01:00
Benoit Marty
378692f743 Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
renovate[bot]
7e9cda3aa9 Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
Benoit Marty
743c6a9f35 Remove unused import. 2023-12-01 09:39:33 +01:00
Benoit Marty
f7694860cd Add unit test for AndroidLocalMediaActions 2023-11-30 15:41:40 +01:00
Benoit Marty
3baa782642 Add unit test for AndroidLocalMediaFactory 2023-11-30 15:07:59 +01:00
Benoit Marty
70f59826dd Let package match namespace 2023-11-30 14:05:27 +01:00
Jorge Martin Espinosa
bbc4d18a9d Open room member avatar in a media viewer (#1911)
* Open room member avatar in viewer.

The `MediaViewer` was extracted to its own library module.

* Update screenshots

* Restore KSP processor in `:libraries:mediaviewer:api`, this should generate Showkase components again.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-28 17:39:41 +00:00