Commit graph

63 commits

Author SHA1 Message Date
Benoit Marty
3f44b895fc Test higher level. 2023-02-14 17:03:02 +01:00
Benoit Marty
6bb01d640f Make @Preview internal.
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
92d3a1c811 Add a way to Preview images. 2023-02-14 17:03:02 +01:00
Benoit Marty
968f7f80fc Improve coverage of BugReportView. 2023-02-14 17:03:02 +01:00
Benoit Marty
e120ca7163 Extract Provider (and rename them) to their own file and move fixture(s) there. 2023-02-14 17:03:02 +01:00
Benoit Marty
afe5499158 PreviewParameterProvider FTW 2023-02-14 17:03:02 +01:00
Benoit Marty
0f0c001c3c Enforce no default value in state. 2023-02-14 17:03:02 +01:00
Benoit Marty
3142b884c5 Move test data to TestData.kt 2023-02-09 18:41:58 +01:00
Benoit Marty
996537a890 Add a test 2023-02-09 18:22:16 +01:00
Benoit Marty
059d8ec6ce More tests for RageshakeDetectionPresenterTest 2023-02-09 15:17:42 +01:00
Benoit Marty
165697a80e Fix dependency issue. 2023-02-09 12:04:31 +01:00
Benoit Marty
3b4a4694ab Add test for RageshakeDetectionPresenter 2023-02-09 10:34:45 +01:00
Benoit Marty
31eb86ebe4 Add test for BugReportPresenter 2023-02-08 18:42:17 +01:00
Benoit Marty
e954dccad9 Convert ScreenshotHolder to an interface for testing purpose. 2023-02-08 17:25:05 +01:00
Benoit Marty
e2b4056493 Convert BugReporter to an interface for testing purpose.
Cannot use `@ContributesBinding(AppScope::class)`, so provide the implementation in AppModule.
2023-02-08 17:19:28 +01:00
Benoit Marty
101ed1f272 Add test for CrashDetectionPresenter 2023-02-08 15:23:47 +01:00
Benoit Marty
e8c005de9a Convert CrashDataStore to an interface for testing purpose. 2023-02-08 15:11:06 +01:00
Benoit Marty
4b48825065 Add test for RageshakePreferencesPresenter 2023-02-08 15:06:39 +01:00
Benoit Marty
ef6f1e9f2b Convert Rageshake to an interface for testing purpose. 2023-02-08 14:44:00 +01:00
Benoit Marty
c4195f64cb Convert RageshakeDataStore to an interface for testing purpose. 2023-02-08 14:34:00 +01:00
Benoit Marty
bbe10382b0 ElementTheme + MaterialTheme3 2023-02-03 12:57:42 +01:00
Benoit Marty
201508678a Rename component. No need for Element prefix 2023-02-03 12:57:42 +01:00
Benoit Marty
cdfc13cb15 Material3 only in designsystem. 2023-02-03 12:56:53 +01:00
Benoit Marty
9d32b05fbb Rework Preview for a better rendering in the IDE. 2023-02-03 12:56:53 +01:00
Benoit Marty
2b7c965236 Remove bad usage of ElementSurface 2023-02-03 12:56:53 +01:00
Benoit Marty
7d85d8da30 Add ElementCircularProgressIndicator and ElementOutlinedTextField. 2023-02-03 12:56:53 +01:00
Benoit Marty
e4cc733f4a First draft of full custom theme.
ElementTheme everywhere

Create ElementButton
2023-02-03 12:55:36 +01:00
Benoit Marty
a4f9354e8a Merge pull request #66 from vector-im/feature/bma/sonar
Sonar / Kover / Codecov
2023-02-02 11:33:12 +01:00
ganfra
9cf88fff5f Merge branch 'develop' into feature/fga/fix_restoration 2023-02-01 16:05:05 +01:00
ganfra
fc07ff29f5 Remove PresenterConnector and molecule runtime in feature modules, directly call Presenter.present method 2023-02-01 15:56:07 +01:00
Benoit Marty
f0721e484d Avoid hardcoded dispatchers.
Fix issue detected by sonar.
2023-02-01 15:17:54 +01:00
Benoit Marty
fce1569ee3 Fix sonar issue: do not ignore result of File:delete(). 2023-02-01 14:46:00 +01:00
Benoit Marty
3410b70af4 Optimize import 2023-01-30 16:36:51 +01:00
ganfra
942cef1534 Merge pull request #57 from vector-im/feature/fga/gradle_perf
Feature/fga/gradle perf
2023-01-24 21:00:44 +01:00
ganfra
87d0191324 Change/move some gradle modules to be better separated. Let core module be a kotlin lib. 2023-01-24 17:38:57 +01:00
Benoit Marty
88473bccf8 This java class must be defined in the java folder. 2023-01-23 14:56:31 +01:00
Benoit Marty
059a5ec1a4 Use dedicated GH project to host rageshakes, so no need to add label of prefix. 2023-01-23 14:42:53 +01:00
ganfra
dd00f99f0c enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") 2023-01-20 19:13:44 +01:00
ganfra
5748bc53a6 Finish removing x. from packages (keep it in app module for now) 2023-01-20 18:52:59 +01:00
ganfra
e616d75d9d Rename all features modules 2023-01-20 18:35:03 +01:00
ganfra
caa04aa485 Rename uistrings module 2023-01-20 17:42:09 +01:00
ganfra
bbbbc3495d Rename di module 2023-01-20 17:12:40 +01:00
ganfra
a2f0c64921 Rename designsystem module 2023-01-20 17:09:12 +01:00
ganfra
f6672fa5de Rename core module 2023-01-20 16:34:04 +01:00
ganfra
bc9b8e6b90 Rename architecture module 2023-01-20 16:26:43 +01:00
Benoit Marty
a43c3ec86f Naming convention for Previews 2023-01-18 15:49:57 +01:00
Benoit Marty
af7a47a3ce Fix some Preview 2023-01-18 15:33:46 +01:00
Benoit Marty
948d4f64f7 Do not use theme in the Preview, it breaks the screenshots building. 2023-01-18 15:29:07 +01:00
Benoit Marty
862900ed9a Rename folders java to kotlin 2023-01-18 13:51:30 +01:00
Benoit Marty
468d3f6192 Create dedicated modules for Strings and apply the plugin com.likethesalad.stem
Remove translations
2023-01-18 11:54:02 +01:00