Commit Graph

87 Commits

Author SHA1 Message Date
bmarty 860777d20c Sync Strings from Localazy 2023-04-24 00:09:54 +00:00
Jorge Martin Espinosa de010545fb Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Benoit Marty 85b825e669 Ensure ellipsis char is used (fix lint issue). 2023-04-05 11:44:55 +02:00
Benoit Marty cca31af3f4 Invoke ./tools/localazy/downloadStrings.sh --all 2023-04-05 11:11:47 +02:00
Jorge Martin Espinosa ecc73dd325 [Room Details] Implement room details screen (#256)
* Implement Room Details screen

* Add option to create permalink from room id and alias, add share room action
2023-03-29 05:16:27 +00:00
Benoit Marty 998178b70f [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02:00
Benoit Marty 0af5ee0741 [Strings] Sync the strings. 2023-03-27 14:36:46 +02:00
Benoit Marty ac8d071d43 Cleanup and use indeterminate progress indicator 2023-03-16 16:34:20 +01:00
Benoit Marty 8302af2dc6 Fix close error dialog has no effect. 2023-03-16 15:47:10 +01:00
Benoit Marty fc2dfacd7e Change API of BugReporter (make it suspend) 2023-03-16 15:47:10 +01:00
Benoit Marty 0d73b962c2 Add explicit dependency to okhttp (was provided by coil), and inject the OkHttpClient to DefaultBugReporter. 2023-03-16 15:31:57 +01:00
ganfra 93ea68cd4c [Architecture] Fix UT compilation after removing duplicated class 2023-03-09 16:27:24 +01:00
Benoit Marty f1048f7578 Remove duplicated Fake class. 2023-03-09 14:16:48 +01:00
ganfra 1f69672597 [Architecture] Fix unittest compilation 2023-03-09 11:25:46 +01:00
ganfra bc9f3b69cc [Architecture] split all feature modules to api/impl 2023-03-08 16:13:45 +01:00
ganfra 84bfb14bd9 [Architecture] introduce nodeBuilder concept 2023-03-07 20:31:16 +01:00
ganfra 7f3679a15e Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +01:00
ganfra 68f65746c3 [Architecture] move back java file to the java directory 2023-03-03 18:14:45 +01:00
ganfra a94862d778 Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00
ganfra ba28628bdf [Architecture] clean up 2023-03-02 18:06:31 +01:00
ganfra 91863e2529 [Architecture] introduce BackstackNode 2023-03-02 17:55:26 +01:00
Benoit Marty c2dff7888c Move module matrixtest to matrix.test 2023-03-02 17:19:58 +01:00
ganfra 66922c2dfa [Architecture] use FeatureEntryPoint on Preferences 2023-03-02 15:59:25 +01:00
ganfra 5db0008116 [Architecture] Introduce EntryPoint and use createNode for ParentNode too 2023-03-02 12:33:18 +01:00
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