Jorge Martin Espinosa
72d2265ae5
Replace textPlaceholder color usages with textSecondary ( #3873 )
...
* Replace `textPlaceholder` color usages with `textSecondary`
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io >
2024-11-15 07:55:33 +00:00
ganfra
79b758c228
Merge pull request #3834 from element-hq/feature/fga/design_system_text_field
...
Design system : implement new TextField
2024-11-12 11:18:07 +01:00
ganfra
2f6a09f957
design : format textfield code
2024-11-08 15:41:07 +01:00
ganfra
a293ea0f2b
design : TextField2 is now TextField
2024-11-08 15:37:10 +01:00
ganfra
6a68ebe467
design : remove some usages of TextField and LabelledTextField
2024-11-08 15:29:07 +01:00
ganfra
784b0a5c24
design : removes usage of OutlinedTextField
2024-11-08 15:15:08 +01:00
ganfra
a4b83fe024
design : updates TextField api
2024-11-08 15:14:48 +01:00
Benoit Marty
2091c5559d
Ensure the invisible buttons have the correct size.
2024-11-07 18:51:44 +01:00
ganfra
612dfa4c9a
design : new TextField api
2024-11-07 18:34:44 +01:00
Benoit Marty
e95613f3fe
Merge pull request #3750 from element-hq/feature/bma/cryptoIteration
...
UI iteration on the encryption settings
2024-10-30 11:11:35 +01:00
Benoit Marty
907bbe7bdf
Remove blank line.
2024-10-29 18:03:08 +01:00
Benoit Marty
5a1b4cbf55
Move TextWithLabelMolecule to the designsystem module.
2024-10-29 16:43:26 +01:00
Benoit Marty
e26802d8d3
ListItem: allow list item to be clickable even when disabled.
2024-10-29 12:20:25 +01:00
Jorge Martin Espinosa
dcfe595076
Update accent color for Checkbox, RadioButton and Switch components ( #3728 )
...
* Update accent color for `Checkbox`, `RadioButton` and `Switch` components
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io >
2024-10-24 11:14:15 +02:00
Benoit Marty
89493f870f
Merge pull request #3718 from element-hq/feature/bma/verifiedUserBadge
...
Verified user badge
2024-10-23 14:20:23 +02:00
Benoit Marty
ce3e240df8
Doc
2024-10-22 12:29:18 +02:00
Benoit Marty
7445d9633e
Remove RoundedIconAtomSize.Large, we must use BigIcon now.
2024-10-22 11:56:35 +02:00
Benoit Marty
f5edb6d8fd
Let IconTitleSubtitleMolecule use BigIcon.
2024-10-22 11:53:30 +02:00
Benoit Marty
46091b5b2d
Fix color of BigIcon according to Figma
2024-10-22 11:40:40 +02:00
Benoit Marty
75caeaaec2
Change model and create MatrixBadgeRowMolecule
2024-10-22 10:18:43 +02:00
Benoit Marty
86a839ea73
Move RoomBadge to atomic package and rename to MatrixBadge
2024-10-22 10:18:42 +02:00
Benoit Marty
6be3da1772
RoundedIconAtom: add new size Big.
2024-10-21 20:03:40 +02:00
Benoit Marty
16fb516edb
Remove blank line
2024-10-21 09:42:04 +02:00
Benoit Marty
337c6f9fd1
Fix supportingColor not correct on Destructive ListItem.
2024-10-18 15:12:32 +02:00
Benoit Marty
fe896883e2
Add more preview for Destructive ListItem. It reveals some errors.
2024-10-18 15:12:31 +02:00
Benoit Marty
35aefedc41
ListItem: Update the preview so that they all contain both enabled and disabled rendering.
2024-10-18 12:40:53 +02:00
Benoit Marty
0113cd522d
Rename some classes which implement PreviewParameterProvider according to the new naming convention.
...
`Provider` suffix is enough and more used than `PreviewProvider`, so let's make the codebase more consistent.
2024-10-16 11:17:46 +02:00
Benoit Marty
f2df8a2064
AsyncActionView: provide the value to the confirmationDialog lambda.
2024-10-14 11:02:47 +02:00
Benoit Marty
97fb7bc2fa
Let AsyncAction.Confirming be an interface, with a AsyncAction.ConfirmingNoParams data object.
...
This will allow inheritance of `AsyncAction.Confirming` with parameter(s).
2024-10-14 10:49:55 +02:00
Jorge Martin Espinosa
e44b5ad98d
Upgrade Kotlin to v2.0 ( #3594 )
...
* Bump Kotlin to v2.0
* Fix lots of issues due to the upgrade: lint issues, function signature incompatibilities, broken tests, etc.
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
2024-10-10 08:32:00 +00:00
renovate[bot]
6ec39e1e76
fix(deps): update dependency androidx.compose:compose-bom to v2024.09.03 ( #3583 )
...
* fix(deps): update dependency androidx.compose:compose-bom to v2024.09.03
* Fix the `LinearProgressIndicator` new style
* 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 <android@element.io >
2024-10-09 11:50:11 +00:00
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
Jorge Martin Espinosa
4a43fcb69a
Use Anvil KSP instead of the Square KAPT one ( #3564 )
...
* Use Anvil KSP instead of the Square KAPT one
* Fix several configuration cache, lint and test issues
* Allow incremental kotlin compilation in the CI
* Workaround Robolectric + Compose issue that caused `AppNotIdleException`
* Update the `enterprise` commit hash
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io >
2024-10-02 11:52:17 +00: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
renovate[bot]
9b061ca798
Update android.gradle.plugin to v8.5.2 ( #3004 )
...
* Update android.gradle.plugin
* Fix release builds with AGP 8.5 by removing the minification config in each library module. I believe this is now centralised.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2024-08-09 15:04:10 +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