Commit Graph

708 Commits

Author SHA1 Message Date
Benoit Marty
caf8c7392e Add audio file support in the gallery and in the media viewer.
Make MediaPlayerControllerView compatible to control audio playback
2024-12-13 09:45:45 +01:00
Benoit Marty
28725a364f Media Gallery 2024-12-09 16:48:48 +01:00
ganfra
b603c0e289 Merge pull request #4005 from element-hq/feature/fga/requests_to_join_banner
feat(knock) : Knock Requests Banner UI
2024-12-09 11:54:43 +01:00
Benoit Marty
783166bba4 Merge pull request #4004 from element-hq/feature/bma/customAlertSolid
Add destructive param to BigIcon.Style.Default to be able to render icons with red tint
2024-12-06 16:58:05 +01:00
Benoit Marty
2518295271 Update doc and rename param. 2024-12-06 13:59:31 +01:00
ganfra
b149acff26 knock requests : start implementing banner ui 2024-12-06 13:29:31 +01:00
Benoit Marty
c80037d7b6 Fix BigIcon preview. 2024-12-06 13:22:56 +01:00
Benoit Marty
3cc1f46795 Add destructive param to BigIcon.Style.Default to be able to render icons with red tint. 2024-12-06 11:58:52 +01:00
ganfra
fdd0445906 Merge branch 'develop' into feature/fga/requests_to_join_list 2024-12-04 14:24:40 +01:00
ganfra
3803ec7544 fix : hide keyboard when TextComposer is removed from composition 2024-12-03 12:11:41 +01:00
Benoit Marty
9c31a15b36 Slider: import design. 2024-11-27 16:05:51 +01:00
ganfra
62dc795023 knock requests : start knock requests list view 2024-11-26 21:12:11 +01:00
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