Commit graph

2128 commits

Author SHA1 Message Date
Benoit Marty
df6ffd0c57
Sync compound tokens https://github.com/element-hq/compound-design-tokens/releases/tag/v6.10.1 (#6273)
* Import compound token v6.10.1

./tools/compound/import_tokens.sh -b v6.10.1

* Use stop icon from Compound.

* Fix compilation issue.

* Use gradient color in ComposerAlertMolecule. Fixes #6192

* Update screenshots

* Remove ComposerAlertLevel.Default (not in the design).

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-03-03 14:42:27 +01:00
Benoit Marty
b65b9eeab9
Merge pull request #6035 from element-hq/fix/remove-fragment-part-in-mxc-urls
Add `MediaSource.safeUrl` for removing invalid fragment part from URLs
2026-03-03 11:57:49 +01:00
ElementBot
cf479a8df0
Sync Strings from Localazy (#6269)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-03-02 14:54:50 +01:00
Benoit Marty
de9987deea Use gradient color in ComposerAlertMolecule. Fixes #6192 2026-03-02 13:03:47 +01:00
Jorge Martín
5fb9dcb0da Apply suggestion:
- Added `MediaSource.safeUrl` property replacing `withCleanUrl` method.
- Made `url` private so it can't be used externally.
- Reverted code in `CoilMediaFetcher`
- Also add tests
2026-02-27 09:52:17 +01:00
Benoit Marty
1a99057b31
Merge pull request #6194 from vmfunc/feature/audio-focus-voice-recording
request audio focus when recording voice messages
2026-02-23 13:35:57 +01:00
vmfunc
0cbe326db9 finish recording gracefully when audio focus is lost
if something else grabs focus mid-recording (phone call, etc), stop
the recording and keep the partial result in preview state instead
of silently recording garbage

Signed-off-by: vmfunc <celeste@linux.com>
2026-02-12 18:39:40 +01:00
vmfunc
1412dd789e add RecordVoiceMessage audio focus requester for recording
separates recording from playback focus - willPausedWhenDucked is false
for recording so notification sounds don't interrupt mid-recording

Signed-off-by: vmfunc <celeste@linux.com>
2026-02-12 18:39:39 +01:00
vmfunc
84bfd7712a request audio focus when recording voice messages
Signed-off-by: vmfunc <celeste@linux.com>
2026-02-12 16:28:37 +01:00
Benoit Marty
0bb1a2f801 Fix warning 2026-02-12 14:28:28 +01:00
Benoit Marty
500cc0828b
Merge pull request #6048 from element-hq/renovate/app.cash.paparazzi-2.x
chore(deps): update plugin paparazzi to v2.0.0-alpha04
2026-02-10 16:42:54 +01:00
Jorge Martin Espinosa
6184a63ecc
Ensure aspect ratio of images in the timeline is restricted (#6168)
* Ensure aspect ratio of images in the timeline is restricted

Otherwise, this could cause a crash in Compose since the width and height values could become way too large.
2026-02-10 14:38:55 +00:00
Benoit Marty
ba70938667 Fix issues detected by Paparazzi 2026-02-10 15:30:14 +01:00
Karsten Knappe
7c7043c16a Merge remote-tracking branch 'kknappe/fix/start-voice-recording-when-permission-is-granted' into fix/start-voice-recording-when-permission-is-granted 2026-02-04 09:01:04 +01:00
Karsten Knappe
1db6477591 style: removes unwanted whitespace in DefaultVoiceMessageComposerPresenter 2026-02-04 09:00:56 +01:00
Karsten Knappe
307e6a7cd2
Merge branch 'develop' into fix/start-voice-recording-when-permission-is-granted 2026-02-03 11:23:26 +01:00
Karsten Knappe
cf79e1cd7d style: removes unwanted blank line in DefaultVoiceMessageComposerPresenter 2026-02-03 11:22:56 +01:00
Richard van der Hoff
e718ce2c77
Update icon shown for world_readable rooms (#6111)
* Update icon shown for world_readable rooms

Followup to #6090: having discussed this in the team, we want to show a
different icon (with different text) for rooms where the history_visibility is
`world_readable` rather than `shared`.

* delint

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-02-02 17:32:46 +00:00
Karsten Knappe
34e4b3e301 fix: use rememberUpdatedState for permissionsState in DefaultVoiceMessageComposerPresenter.kt 2026-02-02 15:17:49 +01:00
Benoit Marty
4aa56abada
Merge pull request #6122 from element-hq/sync-localazy
Sync Strings
2026-02-02 12:24:28 +01:00
ganfra
440eacc892
Merge pull request #6117 from element-hq/feature/fga/room_list_filter_rust
Refactor room list filtering to use Rust SDK
2026-02-02 10:58:21 +01:00
bmarty
2fefc0691b Sync Strings from Localazy 2026-02-02 00:39:17 +00:00
ganfra
babaa7351f Add tests and clean code after RoomList Filter rework 2026-01-30 15:33:51 +01:00
Benoit Marty
f4a9900a0d
Iterate on QrCode login error buttons (#6101)
* Iterate on login error: add a cancel button that fully close the flow.

tom

* Fix compilation warning: `Name contains character(s) that can cause problems on Windows: "`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-30 14:21:14 +01:00
Jorge Martin Espinosa
8c0c7a61df
Remove runBlocking in ThreadedMessagesNode (#6108)
* Remove `runBlocking` in `ThreadedMessagesNode`. This should help reducing the number of reported ANRs
2026-01-30 09:16:25 +00:00
Karsten Knappe
c33e6baaca Fix voice message recording not starting after permission is granted 2026-01-29 12:18:27 +01:00
Benoit Marty
c84a2d3d4a Fix compilation warning: Name contains character(s) that can cause problems on Windows: " 2026-01-28 16:20:14 +01:00
Skye Elliot
03bd85b3fc
Remove "history may be shared" banner. (#6087)
* Revert "Add alert to encrypted rooms with visible history (Android). (#5709)"

This reverts commit 59f51d8627.

* fix: Restore identity state change preview and snapshot.
2026-01-27 14:15:41 +00:00
Richard van der Hoff
e884cbf76e
Show an icon in the room header for shared history (#6090)
Add a decoration to the header for encrypted rooms with `history_visibility:
{shared|public}`.

Fixes: #6070

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-01-27 11:31:01 +00:00
Benoit Marty
9a6ebe9639 Use presenter test extension. 2026-01-27 10:08:25 +01:00
Benoit Marty
f4802d960e ReadReceiptBottomSheetEvents -> ReadReceiptBottomSheetEvent 2026-01-27 10:03:28 +01:00
Benoit Marty
0ca69f0e5c ReactionSummaryEvents -> ReactionSummaryEvent 2026-01-27 10:02:44 +01:00
Benoit Marty
b6fcb0240d EmojiPickerEvents -> EmojiPickerEvent 2026-01-27 10:02:08 +01:00
Benoit Marty
f9a39fd552 CustomReactionEvents -> CustomReactionEvent 2026-01-27 10:01:38 +01:00
Benoit Marty
3133db3cf6 ReportMessageEvents -> ReportMessageEvent 2026-01-27 10:00:44 +01:00
Benoit Marty
9227d96d3e PinnedMessagesListEvents -> PinnedMessagesListEvent 2026-01-27 10:00:02 +01:00
Benoit Marty
3af41c814f PinnedMessagesBannerEvents -> PinnedMessagesBannerEvent 2026-01-27 09:59:18 +01:00
Benoit Marty
79b8742e95 ResolveVerifiedUserSendFailureEvent -> ResolveVerifiedUserSendFailureEven 2026-01-27 09:58:44 +01:00
Benoit Marty
f74f6b0d45 AttachmentsPreviewEvents -> AttachmentsPreviewEvent 2026-01-27 09:57:36 +01:00
Benoit Marty
f5b5bee326 LinkEvents -> LinkEvent 2026-01-27 09:55:20 +01:00
Benoit Marty
dc3152af12 EventFromTimelineItem -> TimelineItemEvent 2026-01-27 09:47:49 +01:00
Benoit Marty
4d5ec1cf8b TimelineEvents -> TimelineEvent 2026-01-27 09:45:10 +01:00
Benoit Marty
bdd8d373c5 MessagesEvents -> MessagesEvent 2026-01-27 09:38:45 +01:00
Benoit Marty
a0b60394c4 Use presenter test extension. 2026-01-27 09:35:51 +01:00
Benoit Marty
5721ae2d3b ActionListEvents -> ActionListEvent 2026-01-27 09:34:18 +01:00
Benoit Marty
89fac40265 Add confirmation dialog when ending poll from the bottom sheet. 2026-01-27 09:26:03 +01:00
Benoit Marty
8db6409a42 Remove unused MessagesEvents.Dismiss 2026-01-27 09:13:07 +01:00
Benoit Marty
e8b14e62cf Sync all strings and fix compilation issue. 2026-01-26 14:13:06 +01:00
ElementBot
3ab67a5e15
Sync Strings from Localazy (#6085)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-26 12:06:38 +01:00
ganfra
5b700f7b98 Let SearchBar/SearchField use TextFieldState 2026-01-23 10:32:58 +01:00