Commit Graph

3572 Commits

Author SHA1 Message Date
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
Benoit Marty
925db81ca5 Merge pull request #4183 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.76
2025-01-22 16:16:07 +01:00
Benoit Marty
f7a4c999f7 Replace our firstIfSingle extension with singleOrNull from the Kotlin library. 2025-01-22 15:49:41 +01:00
Benoit Marty
9d6994bc99 Fix API break 2025-01-22 15:42:08 +01:00
bmarty
841c08cbf3 Sync Strings from Localazy 2025-01-20 00:26:57 +00:00
ganfra
ddb0810ded change(tracing) : change how tracing is configured (ui and logic) 2025-01-17 09:52:32 +01:00
ganfra
6111f68517 change(design) : introduce PreferenceDropdown component 2025-01-17 09:51:56 +01:00
ganfra
a0607b5a26 dependencies(sdk) : update to 0.2.75 2025-01-17 09:40:19 +01:00
ganfra
2ae511ee33 Merge pull request #4146 from element-hq/feature/fga/suspend_unsafe_sdk_method
fix(coroutine) : make sure to switch coroutine context
2025-01-15 11:50:04 +01:00
ganfra
91753514c5 change(design) : Announcement clean up. 2025-01-15 11:17:25 +01:00
ganfra
19c61331ec change(design) : replace DialogLikeBannerMolecule by Announcement component 2025-01-14 16:35:37 +01:00
ganfra
69c555ae55 change(design) : introduce Announcement component 2025-01-14 16:12:43 +01:00
ganfra
0787c1cd25 fix(coroutine) : make sure to switch coroutine context as rust sdk is not safe to use on main thread. 2025-01-14 12:30:57 +01:00
ganfra
818de2a134 change(design) : use ElementTheme.typography.fontBodyLgMedium for all button text. 2025-01-14 11:29:21 +01:00
bmarty
24fd0a3911 Sync Strings from Localazy 2025-01-13 00:30:35 +00:00
Jorge Martin Espinosa
f72fb9650b Close the media preview screen ASAP with sending queue enabled (#4089)
* Close the attachment preview screen ASAP when sending media with the send queue is enabled

* When the send queue FF is not enabled make sure to dismiss the screen after the media has been sent

* Make sure we get a scaled thumbnail from videos too, not only for images

* Unify several state holders into `SendActionState`.

* Fix lint issues, add `Flow.firstInstanceOf` extension fun

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-01-08 15:49:17 +00:00
Jorge Martin Espinosa
dfc2ade84e Replace the InfoListOrganism default bg color (#4091)
* Replace the `InfoListOrganism` default bg color

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-01-07 14:01:42 +01: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
ganfra
a374e71ee3 Merge pull request #4108 from element-hq/feature/fga/design_counter
design : CounterAtom
2025-01-06 10:50:06 +01:00
bmarty
3b54afe57d Sync Strings from Localazy 2025-01-06 00:27:39 +00:00
ganfra
d6f95fd47d design : introduce CounterAtom and ListItemContent.Counter 2025-01-03 15:30:28 +01:00
Benoit Marty
9e2ff83f73 Merge pull request #4101 from element-hq/feature/bma/unifiedPushGatewayResolverImprovement
Unified push gateway resolver improvement
2025-01-02 16:16:04 +01:00
Benoit Marty
6609c93181 Fix DmAvatar rendering in RTL layout 2024-12-31 15:09:35 +01:00
Benoit Marty
9d70e459b8 Add preview for DmAvatars and Rtl layout. 2024-12-31 14:48:05 +01:00
Benoit Marty
b85d4bac1d UnifiedPush: extract logic to resolve the gateway url and unit test it. 2024-12-31 10:01:39 +01:00
Benoit Marty
9ada3791d7 Add test on VectorUnifiedPushMessagingReceiver.onReceive 2024-12-31 09:38:44 +01:00
Benoit Marty
4c8af0a66c Add missing tests on DefaultUnifiedPushGatewayResolver 2024-12-31 09:32:09 +01:00
Benoit Marty
e2cb0173a6 Fix issue with logger. 2024-12-30 13:20:06 +01:00
Benoit Marty
86a44b9035 Ensure that when no Matrix gateway exists, the default one is used. 2024-12-30 13:18:37 +01:00
bmarty
1cadb353dd Sync Strings from Localazy 2024-12-30 10:12:13 +00:00
Benoit Marty
538c7cc373 Merge pull request #4088 from element-hq/sync-localazy
Sync Strings
2024-12-30 10:18:33 +01:00
renovate[bot]
65d358e683 Update dependency net.java.dev.jna:jna to v5.16.0 (#4087)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-23 07:56:32 +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
ganfra
8b9e799291 Merge pull request #4078 from element-hq/feature/bma/galleryTitle
Fix gallery title
2024-12-20 12:35:34 +01:00
ganfra
e71692a79b Merge pull request #4076 from element-hq/feature/fga/dispatch_timeline_creations
fix(timeline) : dispatch timeline creations trying to avoid ANRs
2024-12-20 11:50:30 +01:00
Benoit Marty
62a6cd74b5 Fix gallery title 2024-12-20 11:39:48 +01:00
Benoit Marty
e44672a403 Merge pull request #4075 from element-hq/feature/bma/galleryFix
Fix rendering issue in the toolbar.
2024-12-20 10:40:04 +01:00
ganfra
f52e0f4cc1 Merge pull request #4067 from element-hq/feature/fga/knock_requests_sdk
feat(knock requests) : branch logic for handling knock requests
2024-12-20 10:35:21 +01:00
ganfra
48bbe4135a fix(timeline) : dispatch timeline creations trying to avoid ANRs 2024-12-20 10:22:41 +01:00
Benoit Marty
a72ee95d48 Fix rendering issue in the toolbar. 2024-12-20 10:16:20 +01:00