Commit graph

1507 commits

Author SHA1 Message Date
Benoit Marty
ce09aac59d 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
da272ddb07 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
3e1b1c29d1 Media Gallery 2024-12-09 16:48:48 +01:00
Benoit Marty
c1c1264e9a
Merge pull request #4007 from element-hq/sync-localazy
Sync Strings
2024-12-09 16:47:34 +01:00
bmarty
e8218b3a7c Sync Strings from Localazy 2024-12-09 00:30:45 +00:00
ganfra
603deb7b76 knock requests : refine and clean banner 2024-12-06 17:52:47 +01:00
ganfra
4b16ec6378 knock requests : branch banner in room 2024-12-06 16:31:24 +01:00
ganfra
a81392d8ac fix(composer) : use HideKeyboardWhenDisposed only in MessagesView 2024-12-04 11:31:33 +01:00
ganfra
01cd76a1de
Merge pull request #3988 from element-hq/feature/fga/update_rust_sdk_0.2.68
dependencies : update rust sdk to 0.2.68
2024-12-03 16:57:06 +01:00
ganfra
3e9fb94b9d fix(ui) : update timeline informative view 2024-12-03 15:55:31 +01:00
ganfra
894c0f296a deps : update rust sdk to 0.2.68 and expose new UtdCause 2024-12-03 14:29:37 +01:00
Benoit Marty
5e927398b1 Fix tests. 2024-12-03 11:37:19 +01:00
Benoit Marty
0574c14421 Simplify code. 2024-12-03 10:21:06 +01:00
Benoit Marty
04edf84783 Fix navigation issue. LocationViewer should not use the Appyx overlay. 2024-12-03 10:17:28 +01:00
Benoit Marty
dbb062f230 Create method buildMediaViewerNavTarget 2024-12-03 10:08:13 +01:00
Benoit Marty
a21bd16af6 Move more fields to TimelineItemEventContentWithAttachment 2024-12-03 09:42:13 +01:00
Benoit Marty
89aee0446a Fix player controls not showing on attachment preview. 2024-12-02 17:39:00 +01:00
Benoit Marty
3b5b443cbb MediaViewer: iterate on design 2024-12-02 17:05:44 +01:00
Benoit Marty
94ebac7e74 Add warning when adding a caption. 2024-12-02 15:53:48 +01:00
Valere
bcac193b12 feat(crypto): Support new expected UTD causes UX + Analytics 2024-12-02 14:52:16 +01:00
Benoit Marty
6592e3e939
Merge pull request #3967 from element-hq/feature/bma/mediaModule
Rework on media module
2024-12-02 14:41:36 +01:00
bmarty
5f8007d6f1 Sync Strings from Localazy 2024-12-02 00:30:02 +00:00
Benoit Marty
74e9dbe577
Merge pull request #3971 from element-hq/feature/bma/cleanup
Fix wrong name of classes and method
2024-11-29 15:37:23 +01:00
Benoit Marty
efabf712a8 Fix wrong name. 2024-11-29 15:19:09 +01:00
Benoit Marty
975457d19e Remove unused import 2024-11-29 12:05:46 +01:00
Benoit Marty
2fdb28d61c Fix navigation issue. 2024-11-29 11:28:35 +01:00
Benoit Marty
96d7fbfadc Move code to the impl module 2024-11-29 09:24:50 +01:00
Benoit Marty
13ae18983c Let the factory for ActionListPresenter be injected in Node. 2024-11-28 11:08:06 +01:00
Benoit Marty
207e4f8b1e Add unit test for PinnedMessagesListTimelineActionPostProcessor 2024-11-28 10:57:10 +01:00
Benoit Marty
1f99169304 Sort action list item.
It will also ensure that the preview are closer to reality.
2024-11-28 10:42:57 +01:00
Benoit Marty
98578681ff Improve the preview 2024-11-28 09:37:39 +01:00
Benoit Marty
37f3e259f8 Add "Copy caption" action for Event with Caption 2024-11-28 09:31:48 +01:00
Benoit Marty
b013b312b8 Change wording of message action "Copy" from "Copy" to "Copy text" 2024-11-28 09:12:14 +01:00
Benoit Marty
9d6ea2175f Add feature flag to temporary disable sending caption by default in production. 2024-11-27 10:54:20 +01:00
Benoit Marty
b2a79d2dc8
Merge pull request #3943 from element-hq/feature/bma/_poc/mediaPreprocessing
Hide media preprocessing
2024-11-26 16:42:42 +01:00
Benoit Marty
75f3556d61 Rework and comment the code. 2024-11-26 16:08:19 +01:00
Benoit Marty
fe2d75700f No need to keep the Job instance. 2024-11-26 15:07:22 +01:00
Benoit Marty
e01ebb40ac Avoid using MutableStateFlow, just MutableState in presenter. 2024-11-26 12:06:24 +01:00
renovate[bot]
c16015eefb
Update wysiwyg to v2.37.14 (#3948)
* Update wysiwyg to v2.37.14

* Add needed `isEditor` parameter to `DefaultHtmlConverterProvider`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-11-26 09:31:58 +00:00
Benoit Marty
1087ad6a16 Add preview for the Processing state. 2024-11-26 09:19:26 +01:00
Benoit Marty
008a554ca6 Remove default parameter values.
This improve code coverage since some default value was never used.
2024-11-26 09:18:11 +01:00
Benoit Marty
9a1f36409d Close the progress dialog when the treatment is over (avoid UI glitch) 2024-11-25 17:36:03 +01:00
Benoit Marty
c1507fb24e Pre-process media during the attachment preview 2024-11-25 17:11:31 +01:00
Jorge Martin Espinosa
a080444c23
Fix long click not working on pinned events timeline (#3940) 2024-11-25 12:55:34 +00:00
ElementBot
d9f8e9ce58
Sync Strings (#3936)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-25 09:06:57 +00:00
Benoit Marty
618d3006e2
Merge pull request #3918 from element-hq/feature/bma/navigationCleanup
Remove AttachmentsState and use the MessagesNavigator
2024-11-21 21:36:54 +01:00
Benoit Marty
81d2e0d750
Merge pull request #3906 from element-hq/feature/bma/minSizeForHiddenMedia
Min size for hidden media
2024-11-21 21:06:19 +01:00
Benoit Marty
28d701a8a3 Cleanup 2024-11-21 17:53:32 +01:00
Benoit Marty
48b82d249b Let the TimelinePresenter.Factory be injected in MessagesNode to have a better architecture of dependencies between presenter. 2024-11-21 17:29:20 +01:00
Benoit Marty
7421f0f9d0 Improve FakeMessagesNavigator using lambda as per the new test system. 2024-11-21 17:17:21 +01:00