Commit graph

48 commits

Author SHA1 Message Date
Benoit Marty
e85090226b Merge pull request #198 from vector-im/renovate/kotlin-monorepo
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.8.10
2023-03-23 14:23:35 +01:00
renovate[bot]
93948e4a5b Update dependency io.nlopez.compose.rules:detekt to v0.1.5 2023-03-17 11:12:09 +00:00
renovate[bot]
1795a844a1 Update dependency io.nlopez.compose.rules:detekt to v0.1.4 (#221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 14:49:48 +01:00
renovate[bot]
33b1ac9c84 Update dependency io.nlopez.compose.rules:detekt to v0.1.3 2023-03-15 17:51:17 +00:00
Benoit Marty
2e4308642f Adapt kover rules. 2023-03-14 16:26:11 +01:00
renovate[bot]
86860ac7df Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.8.10 2023-03-09 16:55:53 +00:00
ganfra
7f3679a15e Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +01:00
Jorge Martin Espinosa
ea454ff1c3 Add consumer proguard rules for SQLCipher (#138)
* Add consumer proguard rules for SQLCipher

* Add changelog

* Explain why these rules are necessary

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>

* Try to switch to a supported version of Compose Rules to avoid dependency issues

---------

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2023-03-06 19:40:05 +01:00
Jorge Martin Espinosa
c87c0ea28c Refine sign in flow to match designs and iOS flow (#100)
* Fix dark theme

* First attempt at replicating iOS' UI & flows.

* Try to fix Maestro tests

* Add error dialogs and tests

* Remove unused modifiers

* Try to fix detekt issues

* Tidy up maestro login flow a bit

* Add `CompoundColorPalette` with some needed colors

* Fixes to designs

* Fix detekt issues

* More design fixes

* Some other minor design fixes

* Add changelog

* Minor tweaks.

* Remove legacy dark material theme as it's no longer needed.

* Move sliding sync 'learn more' url to constants object

* Remove unused focusManager

* Change how the displayed homeserver works

* Keep user input as homeserver if it's valid

* Remove `CompoundColorPalette`, try to fix issue when toggling dark mode.

* Add `@Stable` to the theme, adjust how it toggles in dark mode

* Remove unused strings

* Update screenshots

* Re-organize components in LoginRootScreen

* Bump min coverage to 55, max to 60

* Always replace the snapshots contents when running `recordPaparazzi`

* Fix dark theme preview of components using content colors

* Add `BackButton` component

* Handle errors with dialogs in a generic way

* Align our Dialog components with the designs, use them were needed

* Use a `MatrixHomeserverDetails` data class instead of just an URL.

* `AuthenticationService.getHomeserverDetails()` now returns a `StateFlow`.

Also, try to fix coverage issues in tests.
2023-03-06 09:30:16 +01:00
ganfra
a94862d778 Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00
Jorge Martin Espinosa
f300842a87 CI: make sure Paparazzi test failures stop the test flow (#117)
* Run Paparazzi tests just once when koverMergedReport is used.
* Make sure a Paparazzi failure breaks the test flow and blocks merging.
* Change ./gradlew check call in quality.yml to custom runQualityChecks task.
2023-03-02 09:15:47 +01:00
Benoit Marty
20084d0e88 Code coverage is now 55.89% 🚀 2023-02-15 15:46:33 +01:00
Benoit Marty
40399d5c37 Update documentation related to tests and naming rules. 2023-02-14 17:03:02 +01:00
Benoit Marty
ccdd54f2b7 Ignore file generated by Showkase 2023-02-14 17:03:02 +01:00
Benoit Marty
2a8a4c094c Code coverage is now 50.52% 🚀 2023-02-14 17:03:02 +01:00
Benoit Marty
3cde7d5356 Better to use INSTRUCTION. 2023-02-14 17:03:02 +01:00
Benoit Marty
03aa2a606e Add *deactivated* rule to check code coverage of Views. 2023-02-14 17:03:02 +01:00
Benoit Marty
a418d31fd6 Run test in parallel. 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
41965a8bcc Typo 2023-02-14 17:03:02 +01:00
Benoit Marty
4475265403 Global coverage is now 45.7 🚀 2023-02-09 18:43:17 +01:00
Benoit Marty
285ae6083b Exclude Node classes from code coverage metrics. 2023-02-09 18:28:05 +01:00
Benoit Marty
5e842dd683 Add rule for minimum test coverage on States 2023-02-09 18:23:28 +01:00
Benoit Marty
a57a6f45bb Exclude generated classes from code coverage metrics. 2023-02-09 18:09:03 +01:00
Benoit Marty
ce482a29bc Update coverage thresholds 2023-02-09 17:13:32 +01:00
Benoit Marty
41a5d599fa Add link to the plugin documentation. 2023-02-07 16:32:24 +01:00
Benoit Marty
d02744bc17 Kover: add verify rules: global and for Presenters 2023-02-07 16:29:57 +01:00
Benoit Marty
f52b8efa87 Cleanup 2023-02-01 15:02:47 +01:00
Benoit Marty
b1f8c000c8 Setup Kover 2023-02-01 11:29:06 +01:00
Benoit Marty
e9502462ce Sonar: analyse what's in kotlin folders. 2023-02-01 10:09:43 +01:00
Benoit Marty
c338e1d34e First setup of sonar. 2023-01-31 16:11:01 +01:00
ganfra
f7d9665eaf Add some refactoring and first simple test on RoomListPresenter 2023-01-18 17:57:34 +01:00
ganfra
0f3ad7414c Merge branch 'develop' into feature/fga/navigation 2023-01-16 17:13:15 +01:00
ganfra
55d6ca566f Apply ktlint format 2023-01-13 18:37:28 +01:00
ganfra
9e211b5e04 Merge branch 'develop' into feature/fga/navigation First step: makes it compile by disabling the new screens (need to migrate to nodes) 2023-01-06 19:22:52 +01:00
Benoit Marty
d83e82b6ee Set up dependency check plugin 2023-01-06 17:03:35 +01:00
ganfra
e176a41ecf Introduce molecule 2023-01-03 19:50:23 +01:00
Benoit Marty
e393e8f52b Fix warning 2022-12-23 15:19:24 +01:00
Benoit Marty
237f9f935e Check 2022-12-22 18:39:18 +01:00
Benoit Marty
19301756e3 Add missing Copyright 2022-12-22 13:51:56 +01:00
Benoit Marty
dd9e2b76f4 Add module graph plugin and expose the graph in the README 2022-12-22 12:28:14 +01:00
ganfra
4c88d8e3c2 Merge develop into feature/fga/dagger_setup 2022-12-19 16:14:14 +01:00
Benoit Marty
73371008a8 Declare the plugin version in the catalog 2022-12-13 10:57:05 +01:00
Benoit Marty
c8b344644b Ktlint for all modules + run it 2022-12-12 17:48:07 +01:00
Benoit Marty
bcfae5e341 Detekt for all modules. 2022-12-12 15:50:53 +01:00
ganfra
cb92ff5d3b Dagger: start setup 2022-12-09 19:27:04 +01:00
Benoit Marty
f2f08b40e0 Format project again 2022-12-09 12:06:37 +01:00
ganfra
5034daed6c Continue cleaning gradle files 2022-12-08 18:52:55 +01:00