Commit graph

7220 commits

Author SHA1 Message Date
Jorge Martin Espinosa
a1adc7476d
Bump Matrix Rust SDK to v0.2.21 and fix conflicts (#2938) 2024-05-29 13:12:44 +02:00
Benoit Marty
b8ed7cc2e4 Suppress ContentTrailingLambda for ExpandableBottomSheetScaffold 2024-05-29 12:40:49 +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
7eb7e21d27 Rename Event of PollHistoryEvents 2024-05-29 12:34:47 +02:00
Benoit Marty
ea63f2aa32 Rename some fun regarding polls 2024-05-29 12:32:51 +02:00
Benoit Marty
fc161c11d1 Rename some Events regarding polls 2024-05-29 12:31:12 +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
renovate[bot]
0ba5537082
Update dependency io.nlopez.compose.rules:detekt to v0.4.3 2024-05-29 08:07:21 +00:00
ganfra
3080dac220
Merge pull request #2635 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.4.0
2024-05-29 10:06:37 +02:00
Jorge Martin Espinosa
04e503177b
Notifications: simplify the flow by removing persistence (#2924)
* Notifications: simplify the flow by removing persistence. 
* Bump of minSdk to `24` (Android 7).
* Add migration to remove `notification.bin` file
2024-05-29 08:03:23 +00:00
Benoit Marty
635a88e585 Cleanup import 2024-05-29 01:54:06 +02:00
Benoit Marty
7156dab7dc Make anId a const. 2024-05-29 00:37:28 +02:00
Benoit Marty
edded63473 Fix compilation issue 2024-05-29 00:30:38 +02:00
Benoit Marty
17678add86
Merge pull request #2928 from element-hq/feature/bma/movePushSetting
Move push provider setting
2024-05-29 00:29:24 +02:00
Benoit Marty
35a02a2a12 Fix test 2024-05-28 18:47:27 +02:00
Benoit Marty
f74032d87a
Merge pull request #2930 from element-hq/feature/bma/blockedUserData
Render blocked user data (behind a disabled feature flag)
2024-05-28 18:30:37 +02:00
Benoit Marty
21802be5c6 Fix changelog name 2024-05-28 18:30:08 +02:00
Benoit Marty
15dc423345 Add test on DefaultAnalyticsService 2024-05-28 18:27:53 +02:00
Benoit Marty
5a1896ae3d Remove dead code AnalyticsService.onSignOut.
DefaultAnalyticsService is observing the Session.
2024-05-28 17:37:25 +02:00
Benoit Marty
011aba4887 Make AnalyticsStore an interface and create DefaultAnalyticsStore 2024-05-28 17:36:48 +02:00
ElementBot
e18394a668 Update screenshots 2024-05-28 12:54:33 +00:00
Benoit Marty
6c3afb3e63 Changelog 2024-05-28 14:45:37 +02:00
Benoit Marty
b2c8299be3 Remove obsolete comment. 2024-05-28 14:43:50 +02:00
Benoit Marty
48b58b47b9 Add UI test on BlockedUserView 2024-05-28 14:33:21 +02:00
Benoit Marty
643acb17b6 Render data of blocked users (behind deactivated feature flag). 2024-05-28 14:33:21 +02:00
Benoit Marty
9a24e7d4af Change type of NotificationSettingsState.currentPushDistributor from AsyncAction to AsyncData 2024-05-28 14:18:00 +02:00
Benoit Marty
ab99137baf Apply .toImmutableList() only once. 2024-05-28 14:12:46 +02:00
Benoit Marty
3349df5a24 Set the value of currentDistributorName by reading again the value from the service. 2024-05-28 14:08:20 +02:00
renovate[bot]
f0cfa684d4
Update dependencyAnalysis to v1.32.0 2024-05-28 08:59:17 +00:00
Benoit Marty
c511d59510
Merge pull request #2926 from element-hq/renovate/com.squareup-kotlinpoet-1.x
Update dependency com.squareup:kotlinpoet to v1.17.0
2024-05-28 10:57:39 +02:00
ElementBot
bd46321c2a Update screenshots 2024-05-28 07:44:49 +00:00
Benoit Marty
ea3a7855b3 Fix test, NotificationSettingsEvents.RefreshSystemNotificationsEnabled is emitting first. 2024-05-28 09:25:29 +02:00
renovate[bot]
71352e4bfe
Update dependency com.squareup:kotlinpoet to v1.17.0 2024-05-28 06:59:54 +00: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
15e7b2b7db
Merge pull request #2923 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.3.0
2024-05-28 08:58:14 +02:00
Benoit Marty
0ba595ff1b Changelog 2024-05-28 08:57:13 +02:00
Benoit Marty
c253da11b0 Remove unnecessary boundType parameter 2024-05-28 08:55:42 +02:00
Benoit Marty
05b3337e6f Hide the advance setting section if there is no error and their is only one available push distributor. 2024-05-28 08:55:41 +02:00
Benoit Marty
300ca40af4 Move setting to change push provider to the Notifications setting screen. #2912
Also improve previews of NotificationSettingsView.
2024-05-28 08:55:41 +02:00
Benoit Marty
d0b2233a7b
Merge pull request #2922 from element-hq/feature/bma/iterateOnPreferenceDesign2
Iterate on preference design
2024-05-28 00:36:28 +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
ElementBot
6339bb6235 Update screenshots 2024-05-27 15:47:01 +00: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
6c11fb8bac Remove trailing comma 2024-05-27 17:23:42 +02:00
Marco Antonio Alvarez
a9835e0dd1
Add rich content listener to markdown text input (#2918)
* add rich content listener to markdown text input

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-05-27 16:36:32 +02:00