Benoit Marty
f03a432bb2
Remove blank line.
3 days ago
Benoit Marty
229f843a2d
Move TextWithLabelMolecule to the designsystem module.
3 days ago
Benoit Marty
77e45d4523
ListItem: allow list item to be clickable even when disabled.
4 days ago
Jorge Martin Espinosa
384c4a55da
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>
1 week ago
Benoit Marty
fb353e9657
Doc
2 weeks ago
Benoit Marty
a29cedf112
Remove RoundedIconAtomSize.Large, we must use BigIcon now.
2 weeks ago
Benoit Marty
daaaf92a87
Let IconTitleSubtitleMolecule use BigIcon.
2 weeks ago
Benoit Marty
e3b77ce219
Fix color of BigIcon according to Figma
2 weeks ago
Benoit Marty
1ca8c5131b
Change model and create MatrixBadgeRowMolecule
2 weeks ago
Benoit Marty
77b87af52a
Move RoomBadge to atomic package and rename to MatrixBadge
2 weeks ago
Benoit Marty
7dc11a2226
RoundedIconAtom: add new size Big.
2 weeks ago
Benoit Marty
3094e47e11
Remove blank line
2 weeks ago
Benoit Marty
28eb7766dd
Fix supportingColor not correct on Destructive ListItem.
2 weeks ago
Benoit Marty
a613fcfe9d
Add more preview for Destructive ListItem. It reveals some errors.
2 weeks ago
Benoit Marty
6c92217a95
ListItem: Update the preview so that they all contain both enabled and disabled rendering.
2 weeks ago
Benoit Marty
6e27266988
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.
2 weeks ago
Benoit Marty
ecd7bb0458
AsyncActionView: provide the value to the confirmationDialog lambda.
3 weeks ago
Benoit Marty
fb52657b12
Let `AsyncAction.Confirming` be an interface, with a `AsyncAction.ConfirmingNoParams` data object.
...
This will allow inheritance of `AsyncAction.Confirming` with parameter(s).
3 weeks ago
Jorge Martin Espinosa
366db4791b
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>
3 weeks ago
renovate[bot]
1f2075f1b3
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>
3 weeks ago
Benoit Marty
81fc52dcfa
Add component ComposerAlertMolecule
4 weeks ago
renovate[bot]
98d9abecd9
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>
4 weeks ago
ganfra
adc03c9676
timeline : improve jumpTo precision (introducing animateScrollToItemCenter)
4 weeks ago
renovate[bot]
231217c438
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>
1 month ago
renovate[bot]
9756afc5d1
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>
1 month ago
Benoit Marty
5a6859b251
Make text parts in bold.
2 months ago
Benoit Marty
b87bec6228
Account deactivation.
2 months ago
Jorge Martin Espinosa
663362ac7f
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>
2 months ago
ganfra
ff368b4072
Send failure verified user : resolve ui and logic
2 months ago
ganfra
b2c7ea02fb
Design : allow passing ListItemColor to ListItem composable to customise as you want.
2 months ago
Jorge Martin Espinosa
67e262fdc8
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>
2 months ago
Benoit Marty
375ac25d8d
Migrate license to AGPL - XML files.
2 months ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
Benoit Marty
faf1e7da9f
Iterate on shield mapping and rendering
...
Also handle click on the timeline and information displayed on long click.
3 months ago
ganfra
03a0e4fa08
Pinned event : hide/show banner on timeline scroll
3 months ago
ganfra
c76ff38f00
Pinned messages : introduces banner view
3 months ago
Benoit Marty
930833300f
Remove the alpha channel on those 2 images.
...
Reduce the image size and fixes an issue in dark mode.
4 months ago
Benoit Marty
5ca0f645ad
Ensure that the manual dark theme is rendering correctly regarding night resource and keyboard.
4 months ago
Benoit Marty
2126556105
Rename val for clarity.
4 months ago
Benoit Marty
13853a39a5
Reduce the risk of text truncation in buttons.
4 months ago
Benoit Marty
bb5ae89b2f
Introduce ElementThemeApp to avoid code duplication.
4 months ago
Jorge Martin Espinosa
c550436500
Fix `MainActionButton` layout for long texts ( #3158 )
...
* Fix `MainActionButton` layout for long texts
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
4 months ago
Benoit Marty
6a1304a252
Improve click behavior on room timeline title. #3063
4 months ago
Benoit Marty
f0917ad38a
Fix KDoc issue
4 months ago
Benoit Marty
da1f8cd465
Use DmAvatars in header of DM details.
4 months ago
Benoit Marty
f4325aed50
Create DmAvatars to render both users of a DM.
4 months ago
Benoit Marty
3ce4af97cc
Use `repeat` in the Preview.
4 months ago
Benoit Marty
a2ff1dc933
Use ImmutableList in Composable.
4 months ago
Benoit Marty
a9f23c06b0
Add enum `Suggestion` instead of reusing `TimelineRoom`
4 months ago
Benoit Marty
ad02e05bf4
Use heroes to render room avatars
4 months ago