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
Benoit Marty
ea3a7855b3
Fix test, NotificationSettingsEvents.RefreshSystemNotificationsEnabled is emitting first.
2024-05-28 09:25:29 +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
6c11fb8bac
Remove trailing comma
2024-05-27 17:23:42 +02:00
Benoit Marty
3a39e2a3ec
Merge pull request #2921 from element-hq/sync-localazy
...
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
Benoit Marty
1988c4c4da
Sync string again (fix lint issue)
2024-05-27 14:47:14 +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
afa90b827f
Merge pull request #2900 from element-hq/feature/bma/fakeClassesQuality
...
Fake classes name quality
2024-05-27 12:14:50 +02:00
bmarty
f24e537580
Sync Strings from Localazy
2024-05-27 00:17:53 +00:00
Valere
141e835dbc
more coverage
2024-05-23 18:28:39 +02:00
Valere
74c25fd717
More coverage
2024-05-23 17:47:53 +02:00
Valere
984575d5c5
fix test
2024-05-23 17:15:16 +02:00
Valere
60e2c5aae8
Improve coverage
2024-05-23 17:15:16 +02:00
Valere
cc5fbc2b64
Review: Cleaning / detekt / improve test
2024-05-23 17:15:16 +02:00
Valere
bd73f31f97
Add public device keys to rageshakes
2024-05-23 17:15:15 +02:00
Benoit Marty
3f46544de4
Merge pull request #2809 from frebib/frebib/filter-in-front
...
Bring selected filter to front
2024-05-23 16:26:55 +02:00
Jorge Martin Espinosa
72ab632233
Restore MarkdownTextInput contents ( #2902 )
...
* Restore `MarkdownTextInput` contents: create a `MarkdownTextInputStateSaver` and use it to save and restore the text and selection.
* Add default text flags to the markdown composer
2024-05-23 14:59:08 +02:00
Benoit Marty
7911fda1fa
Rename class (code quality)
2024-05-23 14:42:06 +02:00
Benoit Marty
6f44ef7a8f
Rename class (code quality)
2024-05-23 14:38:52 +02:00
Benoit Marty
6fe461f346
Rename class (code quality)
2024-05-23 14:38:52 +02:00
Benoit Marty
8215661ada
Rename class (code quality)
2024-05-23 14:38:50 +02:00
Benoit Marty
7b372e24b4
Rename class (code quality)
2024-05-23 14:38:49 +02:00
Benoit Marty
c295cae7ff
Rename class (code quality)
2024-05-23 14:38:49 +02:00
Benoit Marty
f930796f57
Move FakeBugReporterMode to FakeBugReporter.Mode
2024-05-23 14:38:49 +02:00
Benoit Marty
d79fcb3aaa
Rename class (code quality)
2024-05-23 14:38:48 +02:00
Benoit Marty
980a80bcf5
Cleanup
2024-05-22 15:29:27 +02:00
Benoit Marty
fe771a37c2
isCalledExactly(1) -> isCalledOnce()
2024-05-22 15:26:53 +02:00
Benoit Marty
707a530752
Fix wrong package name.
2024-05-22 14:44:35 +02:00
Joe Groocock
b852578ffc
Animate room list filters when clearing
...
They animate cleanly back to their original locations now, and correctly
overlap each other when doing so. The only thing that is mildly jarring
is the reappearing chips, but there's no way to animate appearance in
the current version of jetpack compose, so that'll have to be fixed
later.
Signed-off-by: Joe Groocock <me@frebib.net>
2024-05-21 22:29:34 +00:00
Joe Groocock
7aa9d856b8
Animate room filter colours
...
This is much closer to how iOS looks, and is much nicer on the eyes.
Signed-off-by: Joe Groocock <me@frebib.net>
2024-05-21 22:29:33 +00:00
Joe Groocock
eb97bce6c6
Ensure selected/deselected filters stay on top
...
This looks a little more "sane", and more closely matches what iOS does
with it's filter chips. This has to manually track which filters were
"just-deselected" and move those even higher up the z stack to ensure
they appear above even when sliding right. This is because the order is
determined by the position left-to-right of the _final_ destination of
the chip. In this case we want anything that's either currently
selected, or was selected and is still fading out to appear on top.
Signed-off-by: Joe Groocock <me@frebib.net>
2024-05-21 22:16:39 +00:00
Benoit Marty
9db215c2a9
Cleanup dependencies about junit.
2024-05-21 18:14:32 +02:00
Benoit Marty
71763e3fed
Merge pull request #2873 from element-hq/feature/bma/pushProviderSwitch
...
Push provider switch
2024-05-21 16:52:01 +02:00
ganfra
ac123bdcd8
Merge pull request #2874 from element-hq/feature/fga/fix_2692
...
Fix modal contents overlapping screen lock pin #2692
2024-05-21 15:53:51 +02:00
Benoit Marty
06d80ee497
Add ui test on AdvancedSettingsView.
2024-05-21 14:46:41 +02:00
Benoit Marty
4f03486675
distributors and distributorNames do not need to be mutable.
2024-05-21 14:45:51 +02:00
Benoit Marty
936579ddcc
Rename members for clarity
2024-05-21 14:45:51 +02:00
Benoit Marty
ada777e45c
Add test for push distributor change.
2024-05-21 14:45:20 +02:00
Benoit Marty
92d6b72b2a
Localazy
2024-05-21 14:45:19 +02:00
Benoit Marty
82a2992ab3
Cleanup
2024-05-21 14:45:19 +02:00
Benoit Marty
7f9a30a033
Improve code and display error.
2024-05-21 14:45:16 +02:00
Benoit Marty
d88ef8769e
Add distributor selection in advanced settings
2024-05-21 14:45:15 +02:00
Jorge Martin Espinosa
880ebb4de8
Plain text editor implementation based on markdown input ( #2840 )
...
* Add plain text editor based on markdown input
- Fix autofocus of message composer.
- Remove `Message` data class, fetch the details in `MessagesPresenter` instead.
- Remove `enable rich text` option from advanced settings, set it as a build configuration instead.
* Fix MentionSpanProvider
* Bump RTE library to released `v2.37.3`
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-21 13:58:53 +02:00