Commit graph

62 commits

Author SHA1 Message Date
renovate[bot]
cbea64bd18 Update dependency io.nlopez.compose.rules:detekt to v0.1.7 2023-05-24 15:37:07 +00:00
renovate[bot]
d552f5b4b3 Update dependency io.nlopez.compose.rules:detekt to v0.1.6 2023-05-23 14:46:56 +00:00
Benoit Marty
c8dc2a5e57 Merge pull request #394 from vector-im/feature/bma/moveShowkaseButton
Move showkase button
2023-05-05 16:40:01 +02:00
Benoit Marty
d5363a1d3f Fix issue in task, previous screenshot were never deleted. 2023-05-05 09:43:08 +02:00
renovate[bot]
87e57f5b51 Update kotlin 2023-05-03 17:40:41 +00:00
renovate[bot]
9f88cb4886 Update kotlin 2023-04-21 16:29:06 +02:00
Benoit Marty
328a6ba31a Upgrade ktlint to 0.48.2 2023-04-17 15:18:07 +02:00
Jorge Martin Espinosa
afd58f1634 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
2926b7443d Cleanup rule, TemplatePresenter does not exist anymore 2023-04-12 09:40:04 +02:00
Benoit Marty
1a33f6fc50 Merge branch 'develop' into feature/bma/push 2023-04-06 09:13:24 +02:00
Benoit Marty
efe3d3add4 Ignore some classes about coverage. 2023-04-06 09:12:44 +02:00
Benoit Marty
8ce6af7951 Setup Google services Gradle plugin. 2023-04-05 16:18:44 +02:00
Florian Renaud
831eb7c840 exclude fakes from code coverage 2023-04-05 14:25:29 +02:00
Jorge Martin Espinosa
0fb061fb2e [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
59218490ee 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]
5e0e6733b3 Update dependency io.nlopez.compose.rules:detekt to v0.1.5 2023-03-17 11:12:09 +00:00
renovate[bot]
18c45ad620 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]
fe0f0e8163 Update dependency io.nlopez.compose.rules:detekt to v0.1.3 2023-03-15 17:51:17 +00:00
Benoit Marty
3bbb857a19 Adapt kover rules. 2023-03-14 16:26:11 +01:00
renovate[bot]
faa0f42e7b Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.8.10 2023-03-09 16:55:53 +00:00
ganfra
9d91fb06cc Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +01:00
Jorge Martin Espinosa
e0bb1da258 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
33b88b8026 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
43b304e523 Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00
Jorge Martin Espinosa
633f65e557 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
887e95bd71 Code coverage is now 55.89% 🚀 2023-02-15 15:46:33 +01:00
Benoit Marty
54b0ef9629 Update documentation related to tests and naming rules. 2023-02-14 17:03:02 +01:00
Benoit Marty
aec6c4f8f0 Ignore file generated by Showkase 2023-02-14 17:03:02 +01:00
Benoit Marty
36a103d653 Code coverage is now 50.52% 🚀 2023-02-14 17:03:02 +01:00
Benoit Marty
fbfb1ccd85 Better to use INSTRUCTION. 2023-02-14 17:03:02 +01:00
Benoit Marty
414430b5da Add *deactivated* rule to check code coverage of Views. 2023-02-14 17:03:02 +01:00
Benoit Marty
13e016c690 Run test in parallel. 2023-02-14 17:03:02 +01:00
Benoit Marty
41e63173b3 Make @Preview internal.
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
4ca5cdd512 Typo 2023-02-14 17:03:02 +01:00
Benoit Marty
beb9df262d Global coverage is now 45.7 🚀 2023-02-09 18:43:17 +01:00
Benoit Marty
173f768301 Exclude Node classes from code coverage metrics. 2023-02-09 18:28:05 +01:00
Benoit Marty
4b8c03fc31 Add rule for minimum test coverage on States 2023-02-09 18:23:28 +01:00
Benoit Marty
ce0ed5226d Exclude generated classes from code coverage metrics. 2023-02-09 18:09:03 +01:00
Benoit Marty
bc862d1668 Update coverage thresholds 2023-02-09 17:13:32 +01:00
Benoit Marty
cde9e20638 Add link to the plugin documentation. 2023-02-07 16:32:24 +01:00
Benoit Marty
312cc4ce22 Kover: add verify rules: global and for Presenters 2023-02-07 16:29:57 +01:00
Benoit Marty
059c5dc003 Cleanup 2023-02-01 15:02:47 +01:00
Benoit Marty
37e96b1d44 Setup Kover 2023-02-01 11:29:06 +01:00
Benoit Marty
0572789f28 Sonar: analyse what's in kotlin folders. 2023-02-01 10:09:43 +01:00
Benoit Marty
704674e92b First setup of sonar. 2023-01-31 16:11:01 +01:00
ganfra
1f2a9026ea Add some refactoring and first simple test on RoomListPresenter 2023-01-18 17:57:34 +01:00
ganfra
679c21f1dc Merge branch 'develop' into feature/fga/navigation 2023-01-16 17:13:15 +01:00
ganfra
1919058aac Apply ktlint format 2023-01-13 18:37:28 +01:00
ganfra
7d65a4a1e7 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
e43b654a1b Set up dependency check plugin 2023-01-06 17:03:35 +01:00