Commit Graph

1342 Commits

Author SHA1 Message Date
ElementBot
8dbf35518e Update screenshots 2025-08-18 15:30:03 +00:00
Benoit Marty
c0fe9f2616 Allow preview function name to end with RtlPreview 2025-08-18 17:16:48 +02:00
ElementBot
a4cee52815 Sync Strings from Localazy (#5178)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-08-18 11:09:27 +02:00
Benoit Marty
8e37d16f9f Merge pull request #5166 from element-hq/feature/fga/create_room_flow_rework
Create room flow rework
2025-08-18 09:38:28 +02:00
ElementBot
72aa0be6b3 Update screenshots 2025-08-14 15:09:26 +00:00
Benoit Marty
35544c848e Merge pull request #5161 from element-hq/feature/bma/movePushHistory
Move push history entry point from notification settings to developer settings
2025-08-14 09:00:31 +02:00
ElementBot
e1cc402e4b Update screenshots 2025-08-13 15:13:24 +00:00
Benoit Marty
0a4a4e20db Merge pull request #5160 from element-hq/feature/bma/cleanupFeatureFlags
Remove old feature flags
2025-08-12 18:21:44 +02:00
ElementBot
18e95578ce Update screenshots 2025-08-12 15:44:48 +00:00
ElementBot
56e3b1a9c4 Update screenshots 2025-08-12 15:02:25 +00:00
ElementBot
98ffec0205 Update screenshots 2025-08-12 14:22:02 +00:00
Jorge Martin Espinosa
00e72aae44 Hide the recovery key while we are entering it (#5147)
* Hide the recovery key while we are entering it (#5134)

This is the Element X Android part of
https://github.com/element-hq/element-meta/issues/2888

* Move the textfield contents being visible to the state so we can preview and test it

* Always use the password visual transformation for the recovery key field

* Update screenshots

---------

Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2025-08-12 14:46:00 +02:00
ElementBot
c774d059f8 Update screenshots 2025-08-12 08:11:44 +00:00
Benoit Marty
37b50e0139 Merge branch 'develop' into feature/bma/rageshakeConfigStep2 2025-08-11 17:35:06 +02:00
Jorge Martin Espinosa
a170d80cb3 Add media file limit size warning and media quality selection (#5131)
* Add `VideoCompressorPreset` enum

This represents the different compression presets used for processing videos before uploading them

* Add `VideoCompressorHelper` util class to calculate the scaled output size of the video given an input size and its optimal bitrate

Also add `MediaOptimizationConfig` which will be used to decide how to apply compression in `MediaPreProcessor`

* Add `RustMatrixClient.getMaxFileUploadSize()` function and `MaxUploadSizeProvider` so we can import only this functionality into other components

* Try preloading the max file upload size the first time we get network connectivity - it's a best effort

This should help ensure we'll have this value available later, even if we still need to load it asynchronously.

* Split the `compressMedia` preference into `compressImages` and `compressMediaPreset`

* Modify the media processing parts to use the new classes and utils

* Add `MediaOptimizationSelectorPresenter`, which will retrieve the compression values and the max file upload size, also estimating the compressed video file sizes if needed.

* Add a feature flag to allow selecting the media upload quality per upload

* Integrate the previous changes with the attachments preview screen

Add strings from localazy too.

* Adapt the rest of the app calls to upload media to using the media optimization configs

* Allow modifying the default compression values in advanced settings, based on the feature flag value

* Pass the `fileSize` in `MediaUploadInfo` too, to be able to check it against the `maxUploadSize`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-08-11 17:22:46 +02:00
Benoit Marty
aa1c51f5c9 Code cleanup 2025-08-11 14:53:40 +02:00
ElementBot
badbc5189e Sync Strings (#5146)
* Sync Strings from Localazy

* Remove unused WelcomeView.

* Remove unused WelcomeView.

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-08-11 12:49:29 +00:00
Benoit Marty
1fe15e7b23 Add Konsist test to check that files do not have double license header.
It seems that sometimes Android Studio is doing this mistake.
2025-08-11 10:36:40 +02:00
Benoit Marty
b1a48ec863 Merge pull request #5126 from element-hq/feature/bma/redirectToElementPro
Redirect FOSS user to Element Pro according to element .well-known file
2025-08-08 09:38:59 +02:00
ElementBot
d48ace6244 Update screenshots 2025-08-06 12:57:33 +00:00
Benoit Marty
4a6765db20 Merge pull request #5120 from element-hq/feature/bma/a11y/contextMenuKeyboard
[a11y] Open context menu with the keyboard
2025-08-06 14:50:12 +02:00
ElementBot
0ce65f5fee Update screenshots 2025-08-06 08:37:58 +00:00
Jorge Martin Espinosa
955263bee1 Force last owner of a room to pass ownership when leaving (#5094)
* Move `ChangeRoles*` classes to their own module so they can be shared

* Hook the change roles screen to the leave room action, add confirmation dialogs

* Use enum instead of sealed interface for `ChangeRoomMemberRolesListType`

* Try to improve communications between nodes

* refactor (leave room) : makes sure to expose only necessary code from api module

* Add `:libraries:previewutils` module to share some test fixtures used for UI previews

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: ganfra <francoisg@matrix.org>
2025-08-05 17:24:14 +02:00
ElementBot
81ed07a641 Update screenshots 2025-08-05 10:11:31 +00:00
Jorge Martin Espinosa
8298404630 Adapt 'change roles' screens to the new creator/owner role (#5076)
* Replace `RoomMember.Role.CREATOR` with `RoomMember.Role.Owner` - Make `RoomMember.Role` a sealed interface instead

* Adapt room member role mapping to include the power level to distinguish between admins and owners

* Use new `RoomMember.Role` sealed interface through the app

* Change how `MembersByRole` groups members to add owners to the admins section

* Adapt the `ChangeRoles` screen to the new roles:
    - Owners can't modify other owner's roles.
    - They can modify the roles of any other user, without confirmation.

* Adapt 'roles and permissions' screen:
    - Owners can't demote themselves.
    - The admin count also counts owners.

* Add more tests and screenshots

* Add owners to its own section in the 'change roles' screen

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-07-29 14:07:16 +00:00
Jorge Martin Espinosa
2750835a36 Make sure we display errors when we create a recovery key and it fails (#5079)
* Make sure we display errors when we create a recovery key and it fails

* Add another preview for the error state

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-07-25 13:36:43 +02:00
Jorge Martin Espinosa
1ad78b54f8 Use lower level APIs to draw the message bubbles (#5056)
Co-authored-by: ElementBot <android@element.io>
2025-07-21 12:00:31 +02:00
Benoit Marty
c40badec65 Merge pull request #5017 from element-hq/feature/bma/a11y/sessionVerification
[a11y] Improve session verification screens
2025-07-17 15:45:32 +02:00
ElementBot
84ca361d22 Update screenshots 2025-07-16 08:26:06 +00:00
ElementBot
d759125206 Update screenshots 2025-07-16 09:47:09 +02:00
Benoit Marty
370daea759 Cleanup 2025-07-11 16:19:11 +02:00
ElementBot
83e0296f29 Update screenshots 2025-07-09 12:59:13 +00:00
ElementBot
d301018b44 Update screenshots 2025-07-08 19:25:52 +00:00
Benoit Marty
470ed51758 Add preview for mentions in the context of the timeline. 2025-07-08 18:49:22 +02:00
ElementBot
b24118e045 Update screenshots 2025-07-08 08:41:16 +00:00
Benoit Marty
39cf20e686 Fix issue after rebase. 2025-07-07 17:24:58 +02:00
ElementBot
3dbcd4d979 Update screenshots 2025-07-07 15:07:10 +00:00
Benoit Marty
bcc01d5007 Apply gradient to focused Event. 2025-07-07 15:03:30 +02:00
Benoit Marty
5541ca7427 Improve Konsist test. 2025-07-07 14:49:09 +02:00
Benoit Marty
ea94ec32b4 Remove bloom effect and replace by linear gradient
Use semantic colors.
2025-07-07 14:49:07 +02:00
renovate[bot]
e50bfd6790 Update dependency io.element.android:compound-android to v25.7.4 (#4984)
* Update dependency io.element.android:compound-android to v25.7.4

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ElementBot <android@element.io>
2025-07-04 17:38:24 +02:00
ElementBot
0d6f758343 Update screenshots 2025-07-04 10:28:37 +00:00
Benoit Marty
5de36fcf1b Fix wrong TopAppBar usage 2025-07-04 09:43:30 +02:00
Benoit Marty
69a8dcc795 Merge pull request #4964 from element-hq/feature/bma/roomListNavigationBar
Home navigation bar
2025-07-01 17:22:21 +02:00
ElementBot
eef0fdfd82 Update screenshots 2025-07-01 07:14:32 +00:00
ElementBot
95a8ec3f55 Update screenshots 2025-06-30 17:23:15 +00:00
ElementBot
7d50f87f03 Update screenshots 2025-06-30 08:09:42 +00:00
ElementBot
4e1fe610c6 Update screenshots 2025-06-27 14:25:41 +00:00
Benoit Marty
d065c30d49 Merge pull request #4944 from element-hq/feature/bma/version
Replace the Report a problem button with the app's version on the on boading screen.
2025-06-27 14:45:18 +02:00
Jorge Martin Espinosa
3c9b2144cd Element Call: remove top app bar and add it inside the webview instead (#4927)
Co-authored-by: ElementBot <android@element.io>
2025-06-27 08:41:10 +02:00