Commit graph

326 commits

Author SHA1 Message Date
ElementBot
13bcf48e2a Sync Strings from Localazy (#6856)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-05-26 08:05:07 +00:00
Benoit Marty
b92b78ec84 Merge pull request #6827 from element-hq/feature/bma/a11y/roomNameHeading
[a11y] Improve accessibility of screen headers.
2026-05-21 09:00:33 +02:00
Benoit Marty
19c5c8da06 [a11y] Improve accessibility of media controller 2026-05-20 17:23:30 +02:00
Benoit Marty
1513869b0c [a11y] Improve accessibility of media controller 2026-05-20 17:04:24 +02:00
Benoit Marty
d002597c0d [a11y] Ensure that video overlay with controls is never hidden when screen reader is enabled. 2026-05-20 16:21:06 +02:00
Benoit Marty
97ca702bc8 [a11y] Improve accessibility of screen headers. 2026-05-20 15:49:18 +02:00
Jorge Martin Espinosa
69773af445 Fix media viewer flickering (#6800)
* Fix media viewer flickering

This was caused by the data being loaded triggering an index update that got out of sync with the displayed items, and for an instant, the pager index pointed to the wrong data until it was refreshed

* Reuse the same 'displayer' function for both forwards and backwards pagination

* Make `dataFlow` a property so we don't create a new instance every time we access it

* Remove `pageDataComparator` as it prevented new items from being loaded when a pagination returned no valid items to display but has more items to load

Make sure we modify the current index when loading new data only if it was pointing to the input event id.

* Fix `MediaViewerDataSource` overriding the provided timestamp for `Loading` items

Test emitting different loading items from the data source results in the state displaying the different items, so they will trigger a new pagination attempt

* Add regression test to check loading -> error -> loading states will still trigger 2 separate `LoadMore` events
2026-05-20 11:32:32 +02:00
Benoit Marty
f55b4d1283 Merge pull request #6798 from element-hq/sync-localazy
Sync Strings
2026-05-18 18:45:27 +02:00
Jorge Martin Espinosa
2a8ba7fa95 Only load full media on media viewer when it's the visible item (#6794)
* Only load full media on media viewer when it's the visible item

* Allow cancelling ongoing media loading if scrolling fast
2026-05-18 10:29:14 +02:00
cizra
57022926c6 Add MIDI playback (#6770)
* Add MIDI playback

* Implement PR suggestions
2026-05-18 10:06:47 +02:00
bmarty
c1d462f297 Sync Strings from Localazy 2026-05-18 00:57:56 +00:00
Valere
b9e46a12d0 fixup test compilation 2026-05-11 16:54:30 +02:00
ElementBot
397274250a Sync Strings from Localazy (#6761)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-05-11 09:37:59 +02:00
bxdxnn
06f3c649f5 Render media captions formatting in the media viewer (#6729)
* Render media captions formatting in the media viewer

* Update screenshots

* Trigger actions

* Remove unused imports and reformat code

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-05-08 16:30:32 +02:00
Benoit Marty
f7346efde4 Create PreviewData with sample of UGC used for preview.
Fix preview issue where username was used for room/avatar name.
2026-05-06 17:45:50 +02:00
bxdxnn
8e8426b08c Reimplement "Natural media viewer swiping order" (#6715) 2026-05-05 16:02:52 +02:00
Benoit Marty
abc540b379 Merge pull request #6650 from element-hq/feature/bma/a11yFixes
[a11y] Fix a set of issues
2026-05-04 11:50:15 +02:00
bmarty
47f5f50c2a Sync Strings from Localazy 2026-05-04 00:54:27 +00:00
Benoit Marty
e70ebc8d65 Merge pull request #6693 from element-hq/renovate/compose.bom
Update dependency androidx.compose:compose-bom to v2026.04.01
2026-04-30 16:54:23 +02:00
Benoit Marty
723b9b8d61 Migrate to v2 testing APIs 2026-04-30 16:04:07 +02:00
Jorge Martin Espinosa
3bb7ab301f Mitigate a deadlock when loading room timelines (#6674)
This may be happening because we were not destroying focused event timelines used for the media viewer/gallery when necessary, and having several of those back paginating *may* have caused a deadlock in the event cache.
2026-04-30 16:01:24 +02:00
Benoit Marty
745567f058 Fix quality issues 2026-04-30 14:09:07 +02:00
Benoit Marty
9641f6e0db MediaPlayerControllerView: Use IconButton instead of Box and remove the clipping. 2026-04-30 12:20:53 +02:00
Benoit Marty
24b0585747 MediaViewerView: move TopBar to Scaffold topbar 2026-04-30 12:20:53 +02:00
Benoit Marty
2c226c8de0 Improve MediaViewerBottomBar usage. 2026-04-30 12:19:32 +02:00
Benoit Marty
667e0da3a2 Improve how the ThumbnailView is added to the composition 2026-04-30 12:19:32 +02:00
Benoit Marty
feb61437a2 Declare Top bar first and use zIndex. 2026-04-30 12:19:30 +02:00
Benoit Marty
675f2d913b Remove useless Box 2026-04-30 12:17:25 +02:00
Benoit Marty
babddd167b Ensure that all the ModalBottomSheet can scroll. 2026-04-27 10:23:56 +02:00
ElementBot
f04d3b2f8b Merge pull request #6658 from element-hq/sync-localazy
Sync Strings
2026-04-27 09:17:54 +02:00
Benoit Marty
4ebd37e364 Ensure preview has a date 2026-04-24 16:53:53 +02:00
Benoit Marty
9de94543f6 a11y: add heading to the title. 2026-04-24 16:16:15 +02:00
Benoit Marty
ed91278b70 MediaDetailsBottomSheet: update wording. 2026-04-24 15:16:26 +02:00
Benoit Marty
f19ceb1570 Replace " - " by " • " as it renders better. 2026-04-24 14:28:52 +02:00
Benoit Marty
2ba8d65f26 MediaDetailsBottomSheet: Add missing preview case. 2026-04-23 11:22:47 +02:00
Benoit Marty
7457b9ef79 MediaDetailsBottomSheet: iterate on design.
Closes #6645
2026-04-23 11:20:20 +02:00
Benoit Marty
12c5cf2ab6 Improve rendering when sender does not have a display name. 2026-04-22 14:57:18 +02:00
Benoit Marty
7d31944a0a Rename sub classes of MediaBottomSheetState and improve preview of MediaDeleteConfirmationBottomSheet 2026-04-22 14:42:56 +02:00
Benoit Marty
3148e000a4 Add more preview for MediaDetailsBottomSheetPreview 2026-04-22 12:21:20 +02:00
Benoit Marty
77a646defa Remove some dividers. 2026-04-22 12:16:52 +02:00
Benoit Marty
d03dfbdae7 Improve and add test 2026-04-22 12:07:56 +02:00
Benoit Marty
629abc07ff MediaGalleryEvents -> MediaGalleryEvent 2026-04-22 11:01:36 +02:00
Benoit Marty
34574fc391 Move "Open with" action to bottom sheet 2026-04-22 10:59:21 +02:00
Benoit Marty
ab5b1217ce MediaDetailsBottomSheet: update wording and dividers. 2026-04-21 16:53:22 +02:00
Benoit Marty
81e61bbbd1 MediaViewer: add Save action as a main action. 2026-04-21 16:21:01 +02:00
Benoit Marty
6342b925d5 MediaViewer: add Share action as a main action. 2026-04-21 16:14:07 +02:00
Benoit Marty
5d8b9ef56c MediaViewerEvents -> MediaViewerEvent 2026-04-21 15:50:59 +02:00
Jorge Martin Espinosa
4bf0c2c92b Fix media viewer bottom sheets not being scrollable (#6631)
Both the info and confirm deletion bottom sheets were not scrollable, which made them useless on devices with low resolution or landscape orientation in most devices
2026-04-21 15:30:50 +02:00
Valere
df6aa2e9b4 Merge branch 'develop' into valere/call/fix_join_button_on_several_items 2026-04-21 11:05:14 +02:00
Valere
6f4dab91a6 fix test compilation 2026-04-21 10:49:08 +02:00