Benoit Marty
4047f4395d
Let Konsist checks the license header
2024-07-01 11:12:02 +02:00
Benoit Marty
d43a8c8bea
Add first EnterpriseService.
2024-06-26 11:59:41 +02:00
Benoit Marty
a00ee18f96
Add Konsist test Class with 'ContributeBinding' annotation should have allowed prefix and fix exissting issues.
...
Also remove annotation `DefaultPreferences`, we only have one implementation.
2024-05-31 10:18:08 +02:00
Benoit Marty
9367f58216
Rename some class from Impl to Default
2024-05-31 09:47:27 +02:00
Benoit Marty
c0b00b0091
Add Konsist test about class name: Class implementing interface should have name not end with 'Impl' but start with 'Default'
2024-05-31 09:34:45 +02:00
Benoit Marty
319562e358
Exclude screenshot test classes from Classes name containing @Test must end with 'Test'
2024-05-30 11:19:33 +02:00
Benoit Marty
6a901f1d7b
Fix typo in test name
2024-05-30 10:11:30 +02:00
Benoit Marty
b8ab89422f
Fix deprecation warning.
2024-05-30 09:27:05 +02:00
Benoit Marty
8d3fe2daa5
Fix API break in Konsist 0.15.1
2024-05-29 18:05:03 +02:00
Benoit Marty
0f71b3eb64
Add a Konsist test to check function parameter name, and fix existing issue.
2024-05-29 15:31:49 +02:00
Benoit Marty
27e50cf6ad
Merge pull request #2911 from element-hq/feature/bma/reproducibleBuild
...
Reproducible build
2024-05-27 12:46:19 +02:00
Benoit Marty
c9d5a1027e
Add Konsist test to ensure that BuildConfig.VersionCode is not used.
2024-05-24 14:55:56 +02:00
Benoit Marty
b5c6723144
Exclude FakeRustRoom from this test.
2024-05-23 14:38:51 +02:00
Benoit Marty
9e45afece4
Exclude FakeFileSystem from this test.
2024-05-23 14:38:51 +02:00
Benoit Marty
909794f256
Exclude FakeImageLoader from this test.
2024-05-23 14:38:50 +02:00
Benoit Marty
5781d6eac6
Add Konsist test Fake classes must be named using Fake and the interface it fakes
2024-05-23 14:38:48 +02:00
Jorge Martin Espinosa
902dd24e72
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
Jorge Martin Espinosa
e1694fa4e8
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
Benoit Marty
f1a31e3b3c
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
cc48ea98e4
Split long line
2024-04-19 15:01:30 +02:00
Benoit Marty
7f38e14066
Add Konsist test to check preview function names.
2024-04-19 14:30:45 +02:00
Benoit Marty
35e0b479f1
Add Konsist check to ensure that 'org.jetbrains.annotations.VisibleForTesting' is not used.
2024-04-19 14:30:44 +02:00
Benoit Marty
3526df77d1
Add Konsist check to ensure that '@PreviewLightDark' is not used.
2024-04-18 14:08:18 +02:00
Jorge Martin Espinosa
517be47397
Move Konsist tests to quality checks ( #2558 )
...
* Move `Konsist` tests to quality checks
This should also help us avoid running them for every single test task, including Kover.
* Fix upload report path filter
2024-03-15 18:03:13 +01:00
Benoit Marty
d31cb17000
Konsist test: ignore Composable extensions.
2023-12-19 14:50:47 +01:00
Benoit Marty
a77ad88001
Add Konsist test to use isNull() instead of isEqualTo(null), and fix existing issue.
2023-12-04 15:30:57 +01:00
Benoit Marty
bd58d85b69
Add Konsist test to use isEmpty() instead of isEqualTo(empty), and fix existing issue.
2023-12-04 15:27:06 +01:00
Benoit Marty
7c58a843dc
Add Konsist test to use isTrue() instead of isEqualTo(true), and fix existing issues.
2023-12-04 15:23:36 +01:00
Benoit Marty
65924eac6b
Add Konsist test to use isFalse() instead of isEqualTo(false), and fix existing issues.
2023-12-04 15:21:50 +01:00
Benoit Marty
45883975c4
Add Konsist test to check that assertThat is imported, and fix existing issues.
2023-12-04 15:18:01 +01:00
Jorge Martin Espinosa
14cf2b0440
Iterate design on several screens: update icons, replace PreferenceTexts ( #1771 )
...
- Batch import new icons from the design team.
- Rename _september icons since they're just extra icons that need to be integrated in Compound in the future, and it should be ok if we don't distinguish between ic_september_*, ic_november_* etc., so all icons are now simply ic_* in the designsystem module.
- Create a new CompoundIconListPreviewProvider to add chunked lists of icons for previews. Add an exception for it to Konsist.
- Move some icons to use Compound icons.
- Remove most PreferenceText usages, use ListItem instead.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-11-15 10:52:37 +01:00
Benoit Marty
a9995886c0
Move remaining hard-coded dependency to Gradle catalog. We had 2 different version of material3 library.
2023-11-10 16:56:04 +01:00
Benoit Marty
760f4a284f
Fix Konsist test. Was causing issue with AsyncProvider : PreviewParameterProvider<Async<Unit>>
2023-11-06 15:00:46 +01:00
Benoit Marty
0608f1ff81
Rename test.
2023-11-03 15:19:55 +01:00
Benoit Marty
8b85aa51e2
Konsist: check that if sealed interface is used in parameter of Composable, it has the @Stable or @Immutable annotation
2023-11-03 15:19:55 +01:00
Benoit Marty
c5f3562454
Konsist: check if sealed class could be sealed interface and fix existing issues.
2023-11-03 15:19:55 +01:00
Benoit Marty
6cc60e7d35
Merge pull request #1662 from vector-im/feature/bma/secureBackupUi
...
Secure backup UI
2023-10-27 18:36:38 +02:00
Jorge Martin Espinosa
0bd9c78836
Initial support for member suggestions ( #1631 )
...
* Initial support for member suggestion (search and UI)
* Add custom `BottomSheetScaffold` implementation to workaround several scrolling bugs
* Start searching as soon as `@` is typed, add UI following initial designs
* Extract suggestion processing code
* Extract component, add previews, fix tests
* Add tests
* Add exception from kover to the forked bottom sheet code
* Add a feature flag for mentions
- Extract composer & mention suggestions to their composable.
- Extract mentions suggestions processing to its own class.
- Add `MatrixRoom.canTriggerRoomNotification` function.
- Update strings and conditions for displaying the `@room` mention.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-10-27 10:26:40 +00:00
Benoit Marty
bb55a5676c
Secure backup
2023-10-27 12:18:40 +02:00
Benoit Marty
e49c0c46eb
Konsist: add test to ensure that functions with @PreviewsDayNight are internal, and fix existing issues.
2023-10-23 12:23:27 +02:00
Benoit Marty
577527902f
Konsist: add test to ensure that functions with @PreviewsDayNight contain ElementTheme composable, and fix existing issues.
2023-10-23 12:23:27 +02:00
Jorge Martin Espinosa
7e2852bd47
Make sure Konsist tests always run ( #1590 )
...
* Make sure Konsist tests always run
* Update tests/konsist/build.gradle.kts
Co-authored-by: Benoit Marty <benoit@matrix.org >
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
2023-10-18 09:41:47 +00:00
Benoit Marty
41c8d6510f
Fix warning
...
Name contains characters which can cause problems on Windows: "
2023-10-12 18:44:33 +02:00
Benoit Marty
bdd7ecd789
Move konsist test to their own module.
2023-10-12 18:41:38 +02:00