Commit graph

50 commits

Author SHA1 Message Date
Benoit Marty
8ce6af7951 Setup Google services Gradle plugin. 2023-04-05 16:18:44 +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
ganfra
df13ec7445 Introduce molecule 2023-01-03 19:50:23 +01:00
Benoit Marty
243ee07bfc Fix warning 2022-12-23 15:19:24 +01:00
Benoit Marty
0fcdd25919 Check 2022-12-22 18:39:18 +01:00
Benoit Marty
e2515020cf Add missing Copyright 2022-12-22 13:51:56 +01:00
Benoit Marty
90f9a7a69f Add module graph plugin and expose the graph in the README 2022-12-22 12:28:14 +01:00
ganfra
c040e18431 Merge develop into feature/fga/dagger_setup 2022-12-19 16:14:14 +01:00
Benoit Marty
c2932cab90 Declare the plugin version in the catalog 2022-12-13 10:57:05 +01:00
Benoit Marty
3e86fa48d8 Ktlint for all modules + run it 2022-12-12 17:48:07 +01:00
Benoit Marty
3e8d11efce Detekt for all modules. 2022-12-12 15:50:53 +01:00
ganfra
4452abb461 Dagger: start setup 2022-12-09 19:27:04 +01:00
Benoit Marty
72be56b6b7 Format project again 2022-12-09 12:06:37 +01:00
ganfra
ef0252aa94 Continue cleaning gradle files 2022-12-08 18:52:55 +01:00