Commit Graph

625 Commits

Author SHA1 Message Date
Benoit Marty 5180ce388c Add a shortcut to navigate to the notification settings in case of error. 2024-06-17 16:29:10 +02:00
Benoit Marty 675f93a5ad Create component ErrorDialogWithDoNotShowAgain 2024-06-17 11:30:24 +02:00
Benoit Marty 11711e8f67 Remove empty manifest files. 2024-06-13 18:20:19 +02:00
Jorge Martin Espinosa 30a1367714 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 c8bd04ceb1 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 ec8cb2e32f Change Test class suffix. 2024-05-30 10:11:18 +02:00
Benoit Marty c6f4c9e12a Suppress ContentTrailingLambda for AlertDialogContent( 2024-05-29 12:40:14 +02:00
Benoit Marty e97e21e785 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 37d9a9f5a9 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 683f7d4748 Merge branch 'develop' into renovate/io.nlopez.compose.rules-detekt-0.x 2024-05-28 08:59:36 +02:00
Benoit Marty 414e2bb3f1 UseLet 2024-05-28 00:14:23 +02:00
Benoit Marty 79057678d7 supportingContent should be null if there is nothing to display. 2024-05-28 00:11:30 +02:00
Benoit Marty f743934e0f trailingContent and supportingContent should be null if there is nothing to display. 2024-05-27 17:33:29 +02:00
Benoit Marty ef4cf42b71 No Composable if subtitle is null 2024-05-27 17:28:17 +02:00
Benoit Marty cf057310b4 Add preview without subtitle 2024-05-27 17:27:20 +02:00
Benoit Marty 8eeb95e867 Remove unused parameter. 2024-05-27 17:25:02 +02:00
Benoit Marty e74f82b640 Fix formatting issue. 2024-05-27 14:19:30 +02:00
Benoit Marty b30076ecca Fix test by making the whole ListItem clickable.
Also improve height of View to let the test see the View.
2024-05-27 13:51:18 +02:00
Benoit Marty 34f7819702 Let Preference composables use ListItem.
Let PreferenceCheckbox use ListItem and add missing previews.
Let PreferenceCategory use ListSectionHeader
Let PreferenceSlide use ListItem
Let PreferenceRow use ListItem
Let PreferenceText use ListItem
2024-05-27 12:19:10 +02:00
Benoit Marty 25b46ee230 Suppress warning for ModifierComposed (detekt) 2024-05-17 17:00:28 +02:00
Benoit Marty 07ca064ac4 Supress warning ModifierComposed for autofill, there is a low risk of performance issue here. 2024-05-17 17:00:27 +02:00
Benoit Marty 000bcb448c Rework Modifier.applyIf.
It was using `Modifier.composed` which is not good for performance and detekt is warning about this.
2024-05-17 17:00:27 +02:00
Benoit Marty 193081a554 Migrate AvatarActionBottomSheet to Material3 BottomSheet
Also correctly handle the back press when this bottom sheet is opened, previously it was leaving the room edition screen.
ModalBottomSheetLayout can now be deleted.
2024-05-15 16:20:47 +02:00
Jorge Martin Espinosa 48bb0f4122 Add room badges (#2822)
* Add room badges

* Remove no longer used `onShareRoomMember` callback

* Update screenshots

* Add changelog

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-09 08:38:40 +02:00
Jorge Martin Espinosa 46b22d7db7 UX cleanup: room details (#2816)
* UX cleanup: room details screen

Add new CTA buttons for Invite and Call actions

* Update screenshots

* Fix maestro

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-08 11:42:33 +02:00
Benoit Marty b8cb2d92e9 Add missing color preview. 2024-04-26 14:30:51 +02:00
Benoit Marty 300d3e34b1 Format and cleanup files 2024-04-26 13:57:08 +02:00
Benoit Marty 2c8abbed0c Merge branch 'develop' into feature/fga/permalink_timeline 2024-04-26 12:50:38 +02:00
Benoit Marty ce7bb11724 Ensure roomId are not rendered in the UI.
Add preview to see the effect.
Use RoomAvatar data fallback everywhere, to not use roomId (`!` char) for the avatar initial, but rather `#`.
2024-04-25 11:52:40 +02:00
Benoit Marty 2c2bf7c687 Add screen to render Spaces (they are not supported yet) 2024-04-25 09:50:51 +02:00
Benoit Marty 132b4e87ea Avoid rendering roomId on screen. 2024-04-25 09:49:58 +02:00
ganfra 20e172c2a6 Timeline permalink : add focused event modifier 2024-04-23 16:58:23 +02:00
Benoit Marty d06ec9099b Add Ui test on DeveloperSettingsView 2024-04-23 13:55:28 +02:00
Benoit Marty 6b2a4f8cc0 Move OnboardingBackground to a sub package 2024-04-19 18:11:14 +02:00
Benoit Marty 52f7b29577 Fix missing background issue. 2024-04-19 18:11:14 +02:00
Benoit Marty 74a9a54719 Rename Preview to follow code convention 2024-04-19 14:30:45 +02:00
Benoit Marty f1668b8abe Update doc. 2024-04-18 20:13:10 +02:00
Benoit Marty 4489df1085 Apply Gradient Background to JoinRoomView and RoomAliasResolverView. 2024-04-18 17:47:20 +02:00
Benoit Marty 57870fa624 Gradient Background 2024-04-18 17:32:06 +02:00
Benoit Marty 9c7c66b222 Fix padding issue on RoomPreviewMembersCountMolecule 2024-04-18 11:35:54 +02:00
Benoit Marty b7d4fa655e Readability 2024-04-18 09:04:06 +02:00
Benoit Marty 7528bb7ffa Add Modifier and preview for RoomPreviewMembersCountMolecule. Also increase end padding to ensure that rendering is correct for big numbers. 2024-04-18 01:27:33 +02:00
Benoit Marty 1b8dd2cded Create Atom and Molecule for RoomPreview screens 2024-04-18 00:04:26 +02:00
Benoit Marty d0fdaaeb86 Move ContentScaffold to design system and rename to RoomPreviewOrganism 2024-04-18 00:04:25 +02:00
Benoit Marty 1286ea7e77 Merge pull request #2696 from element-hq/misc/add-super-button-component
Compound: add SuperButton and GradientFAB components
2024-04-16 00:06:03 +02:00
Benoit Marty 88b3c33eaf Format 2024-04-15 14:17:42 +02:00
Benoit Marty 933263ee96 Remove unnecessary Box wrapping. 2024-04-15 13:46:48 +02:00
Jorge Martín efde2af29e Compound: add SuperButton and GradientFloatingActionButton components
Also add `ButtonSize.Small` and adjust existing `Button` component
2024-04-12 17:01:06 +02:00
ganfra 11979167c5 Room navigation : some clean up 2024-04-12 15:58:15 +02:00
ganfra a2329fc7df Join room : change state and view 2024-04-12 14:10:32 +02:00