Benoit Marty
3514933c53
Add component ComposerAlertMolecule
2024-10-07 22:15:34 +02:00
renovate[bot]
d67fae8d4c
fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.4.15 ( #3595 )
...
* Update dependency io.nlopez.compose.rules:detekt to v0.4.15
* Fix new detekt issues
* Fix KtLint
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-10-04 16:58:19 +02:00
ganfra
8181572dde
timeline : improve jumpTo precision (introducing animateScrollToItemCenter)
2024-10-03 15:33:03 +02:00
renovate[bot]
461677c425
Update dependency io.element.android:compound-android to v0.1.0 ( #3524 )
...
* Update dependency io.element.android:compound-android to v0.1.0
* Fix usages of `AvatarColorsProvider`
* Update screenshots
* Fix tests and lint issues
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <android@element.io>
2024-09-26 14:54:25 +00:00
renovate[bot]
0dac449fec
Update dependency androidx.compose:compose-bom to v2024.09.00 ( #3399 )
...
* Update dependency androidx.compose:compose-bom to v2024.09.00
* Adapt code for changes.
* Workaround crash when closing the RTE
* Fix broken bottom sheet colors and shape
* Fix tons of warnings and deprecations
* Fix lint issues
* Fix more M3 update changes
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2024-09-26 09:30:20 +02:00
Benoit Marty
c878e9beb5
Make text parts in bold.
2024-09-17 17:39:23 +02:00
Benoit Marty
ea355d29ed
Account deactivation.
2024-09-17 16:51:11 +02:00
ganfra
60365e46a5
Merge pull request #3461 from element-hq/feature/fga/send_failure_identity_changes
...
Require acknowledgement to send to a verified user if their identity changed or if a device is unverified.
2024-09-16 16:00:18 +02:00
Jorge Martin Espinosa
03786c1fd2
Add forced logout flow when the proxy is no longer available ( #3458 )
...
* Add `MatrixClient.isSlidingSyncProxySupported` function
* Update localazy strings
* Modify `ErrorDialog` to have an `onSubmit` call, which will be used for the submit action.
Also make the title text optional and dismissing the dialog by tapping outside/going back configurable.
* Check if a forced migration to SSS is needed because the proxy is no longer available.
In that case, display the non-dismissable dialog and force the user to log out after enabling SSS.
* Enable native/simplified sliding sync by default.
* Refactor the login to make sure we:
1. Always try native/simplified sliding sync login first, if available.
2. Then, if it wasn't available or failed with an sliding sync not supported error, try with the proxy instead (either discovered proxy or forced custom one).
* Move logic to `LoggedInPresenter` and the UI to `LoggedInView`
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-16 09:13:02 +00:00
ganfra
b38f016677
Send failure verified user : resolve ui and logic
2024-09-13 16:40:07 +02:00
ganfra
37d4e586d6
Design : allow passing ListItemColor to ListItem composable to customise as you want.
2024-09-13 16:40:06 +02:00
Jorge Martin Espinosa
8154aa3319
Add banner for optional migration to simplified sliding sync ( #3429 )
...
* Add banner for optional migration to native sliding sync
- Add `MatrixClient.isNativeSlidingSyncSupported()` and `MatrixClient.isUsingNativeSlidingSync` to check whether the home server supports native sliding sync and we're already using it.
- Add `NativeSlidingSyncMigrationBanner` composable to the `RoomList` screen when the home server supports native sliding sync but the current session is not using it.
- Add an extra logout successful action to the logout flow, create `EnableNativeSlidingSyncUseCase` so it can be used there.
* Update screenshots
* Make sure the sliding sync migration banner has lower priority than the encryption setup ones
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-09 18:13:19 +02:00
Benoit Marty
62a6e916a6
Migrate license to AGPL - XML files.
2024-09-06 17:43:35 +02:00
Benoit Marty
2b016227e9
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
34268a30ea
Iterate on shield mapping and rendering
...
Also handle click on the timeline and information displayed on long click.
2024-08-14 17:24:11 +02:00
ganfra
2d02c01d5f
Pinned event : hide/show banner on timeline scroll
2024-07-25 18:37:46 +02:00
ganfra
df09d82a58
Pinned messages : introduces banner view
2024-07-23 13:05:59 +02:00
Benoit Marty
8a0d7183ee
Remove the alpha channel on those 2 images.
...
Reduce the image size and fixes an issue in dark mode.
2024-07-18 16:20:00 +02:00
Benoit Marty
32f5c018d5
Ensure that the manual dark theme is rendering correctly regarding night resource and keyboard.
2024-07-18 14:37:47 +02:00
Benoit Marty
685f43374d
Rename val for clarity.
2024-07-17 18:42:15 +02:00
Benoit Marty
1dcdde98c2
Reduce the risk of text truncation in buttons.
2024-07-17 17:46:36 +02:00
Benoit Marty
29b115dfdf
Introduce ElementThemeApp to avoid code duplication.
2024-07-09 11:10:10 +02:00
Jorge Martin Espinosa
c0e1c33159
Fix MainActionButton layout for long texts ( #3158 )
...
* Fix `MainActionButton` layout for long texts
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-08 11:43:24 +00:00
Benoit Marty
ea62ed7c5a
Improve click behavior on room timeline title. #3063
2024-07-04 09:26:39 +02:00
Benoit Marty
c09e6d009b
Fix KDoc issue
2024-06-21 16:53:44 +02:00
Benoit Marty
e8fe8f51c8
Use DmAvatars in header of DM details.
2024-06-21 15:55:01 +02:00
Benoit Marty
f62be45303
Create DmAvatars to render both users of a DM.
2024-06-21 15:45:22 +02:00
Benoit Marty
5ea495da1b
Use repeat in the Preview.
2024-06-20 17:59:26 +02:00
Benoit Marty
84f42537b8
Use ImmutableList in Composable.
2024-06-20 15:56:33 +02:00
Benoit Marty
0b9f5a5214
Add enum Suggestion instead of reusing TimelineRoom
2024-06-20 15:00:26 +02:00
Benoit Marty
11e4ee34ed
Use heroes to render room avatars
2024-06-20 13:10:25 +02:00
Benoit Marty
ff63755165
Add enum EditProfileDetails instead of reusing RoomHeader
2024-06-20 11:43:15 +02:00
Benoit Marty
f886bf7105
Introduce CompositeAvatar to render heroes when main AvatarData does not have URL.
2024-06-20 11:28:52 +02:00
Benoit Marty
ce5b9e034a
Allow scroll in the "Enter recovery key" screen. #3042
2024-06-18 15:42:07 +02:00
Benoit Marty
e4bfc5ef8f
Merge pull request #3035 from element-hq/feature/bma/fixFdroidNotification
...
Feature/bma/fix fdroid notification
2024-06-18 12:55:27 +02:00
ganfra
873eeadb65
ProgressDialog : rename isCancellable param to showCancelButton on the ProgressDialogContent method.
2024-06-18 10:36:19 +02:00
Benoit Marty
2e8b63c006
Add a shortcut to navigate to the notification settings in case of error.
2024-06-17 16:29:10 +02:00
Benoit Marty
deb0e0aaac
Create component ErrorDialogWithDoNotShowAgain
2024-06-17 11:30:24 +02:00
ganfra
4f3cb5a1e5
Progress dialog : add dialog properties parameter
2024-06-14 18:59:42 +02:00
Benoit Marty
4a84350261
Remove empty manifest files.
2024-06-13 18:20:19 +02:00
Jorge Martin Espinosa
6f8de0b2c6
Element Call ringing notifications ( #2978 )
...
- Add `ActiveCallManager` to handle incoming and ongoing calls.
- Add ringing call notifications with full screen intents and missed call ones as part of the 'conversation' notifications.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-10 11:51:19 +02:00
Jorge Martin Espinosa
35702c04e9
Sign in with QR code ( #2793 )
...
* Add QR code login.
* Add FF to disable it in release mode.
* Force portrait orientation on the login flow.
* Create `NumberedList` UI components.
* Improve camera permission dialog.
* Make nodes in qrcode feature use `QrCodeLoginScope` instead of `AppScope`
* Bump SDK version.
* Fix maestro tests
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-31 14:38:27 +02:00
Benoit Marty
36102cc90b
Suppress ContentTrailingLambda for AlertDialogContent(
2024-05-29 12:40:14 +02:00
Benoit Marty
919849acc2
Move content @Composable to the end of the parameter list.
...
A @Composable `content` parameter should be moved to be the trailing lambda in a composable function.
2024-05-29 12:38:14 +02:00
Benoit Marty
87689d787e
Lambda parameters in a composable function should be in present tense, not past tense.
...
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
Benoit Marty
8cd392a2b8
Merge branch 'develop' into renovate/io.nlopez.compose.rules-detekt-0.x
2024-05-28 08:59:36 +02:00
Benoit Marty
a96351643e
UseLet
2024-05-28 00:14:23 +02:00
Benoit Marty
b32cebf2c0
supportingContent should be null if there is nothing to display.
2024-05-28 00:11:30 +02:00
Benoit Marty
ea93579b23
trailingContent and supportingContent should be null if there is nothing to display.
2024-05-27 17:33:29 +02:00
Benoit Marty
8339a6f1f3
No Composable if subtitle is null
2024-05-27 17:28:17 +02:00