Commit graph

708 commits

Author SHA1 Message Date
Benoit Marty
ce09aac59d 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
3e1b1c29d1 Media Gallery 2024-12-09 16:48:48 +01:00
ganfra
9dac27a165
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
d1cfad4ec8
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
4cf0fdb00e Update doc and rename param. 2024-12-06 13:59:31 +01:00
ganfra
84299fc37a knock requests : start implementing banner ui 2024-12-06 13:29:31 +01:00
Benoit Marty
175431fa86 Fix BigIcon preview. 2024-12-06 13:22:56 +01:00
Benoit Marty
21f7bcd9f8 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
d57ec1c2f8 Merge branch 'develop' into feature/fga/requests_to_join_list 2024-12-04 14:24:40 +01:00
ganfra
a475cb8568 fix : hide keyboard when TextComposer is removed from composition 2024-12-03 12:11:41 +01:00
Benoit Marty
7a8b942dfb Slider: import design. 2024-11-27 16:05:51 +01:00
ganfra
bc09872bae knock requests : start knock requests list view 2024-11-26 21:12:11 +01:00
Jorge Martin Espinosa
1b6f77d25a
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
cffd2da10b
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
bb85e81311 design : format textfield code 2024-11-08 15:41:07 +01:00
ganfra
3910c42855 design : TextField2 is now TextField 2024-11-08 15:37:10 +01:00
ganfra
83caf94ccb design : remove some usages of TextField and LabelledTextField 2024-11-08 15:29:07 +01:00
ganfra
e378b20868 design : removes usage of OutlinedTextField 2024-11-08 15:15:08 +01:00
ganfra
0d7641b3b2 design : updates TextField api 2024-11-08 15:14:48 +01:00
Benoit Marty
8b21efa32a Ensure the invisible buttons have the correct size. 2024-11-07 18:51:44 +01:00
ganfra
6126e51f6f design : new TextField api 2024-11-07 18:34:44 +01:00
Benoit Marty
1c020bcf26
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
f03a432bb2 Remove blank line. 2024-10-29 18:03:08 +01:00
Benoit Marty
229f843a2d Move TextWithLabelMolecule to the designsystem module. 2024-10-29 16:43:26 +01:00
Benoit Marty
77e45d4523 ListItem: allow list item to be clickable even when disabled. 2024-10-29 12:20:25 +01:00
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>
2024-10-24 11:14:15 +02:00
Benoit Marty
95d95d4f89
Merge pull request #3718 from element-hq/feature/bma/verifiedUserBadge
Verified user badge
2024-10-23 14:20:23 +02:00
Benoit Marty
fb353e9657 Doc 2024-10-22 12:29:18 +02:00
Benoit Marty
a29cedf112 Remove RoundedIconAtomSize.Large, we must use BigIcon now. 2024-10-22 11:56:35 +02:00
Benoit Marty
daaaf92a87 Let IconTitleSubtitleMolecule use BigIcon. 2024-10-22 11:53:30 +02:00
Benoit Marty
e3b77ce219 Fix color of BigIcon according to Figma 2024-10-22 11:40:40 +02:00
Benoit Marty
1ca8c5131b Change model and create MatrixBadgeRowMolecule 2024-10-22 10:18:43 +02:00
Benoit Marty
77b87af52a Move RoomBadge to atomic package and rename to MatrixBadge 2024-10-22 10:18:42 +02:00
Benoit Marty
7dc11a2226 RoundedIconAtom: add new size Big. 2024-10-21 20:03:40 +02:00
Benoit Marty
3094e47e11 Remove blank line 2024-10-21 09:42:04 +02:00
Benoit Marty
28eb7766dd Fix supportingColor not correct on Destructive ListItem. 2024-10-18 15:12:32 +02:00
Benoit Marty
a613fcfe9d Add more preview for Destructive ListItem. It reveals some errors. 2024-10-18 15:12:31 +02:00
Benoit Marty
6c92217a95 ListItem: Update the preview so that they all contain both enabled and disabled rendering. 2024-10-18 12:40:53 +02:00
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.
2024-10-16 11:17:46 +02:00
Benoit Marty
ecd7bb0458 AsyncActionView: provide the value to the confirmationDialog lambda. 2024-10-14 11:02:47 +02:00
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).
2024-10-14 10:49:55 +02:00
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>
2024-10-10 08:32:00 +00:00
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>
2024-10-09 11:50:11 +00:00
Benoit Marty
81fc52dcfa Add component ComposerAlertMolecule 2024-10-07 22:15:34 +02:00
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>
2024-10-04 16:58:19 +02:00
ganfra
adc03c9676 timeline : improve jumpTo precision (introducing animateScrollToItemCenter) 2024-10-03 15:33:03 +02:00
Jorge Martin Espinosa
79c17f714f
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]
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>
2024-09-26 14:54:25 +00:00
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>
2024-09-26 09:30:20 +02:00
Benoit Marty
5a6859b251 Make text parts in bold. 2024-09-17 17:39:23 +02:00