Commit graph

56 commits

Author SHA1 Message Date
Florian Renaud
719dd20555 Remove useless OptIn in tests 2023-05-12 10:05:39 +02:00
Benoit Marty
4d7ec3916b Re-order parameters. 2023-05-05 11:49:27 +02:00
Benoit Marty
e89fcdcc94 Avoid using hard-coded key, use ShowkaseBrowserActivity.getIntent() instead. 2023-05-04 17:31:08 +02:00
Benoit Marty
6b77313fd6 Move the button to open the Showkase browser to the developer settings screen. (#389) 2023-05-04 17:29:03 +02:00
Chris Smith
581c5ab2d2 Move and refactor MatrixUser (#381)
Move and refactor MatrixUser

Instead of living in matrixui and having an AvatarData, this can
reside in the matrix module and just have the URL. An extension
method in matrixui can then provide the AvatarData when required.

This removes some small duplication, and pushes the UI-specific
information (i.e., what size of avatar is going to be rendered)
further down the stack. It also aligns the field names with those
used by the rust SDK (e.g. "displayName" instead of "userName").
2023-05-03 16:30:19 +00:00
Jorge Martin Espinosa
9a45e48d9e Group design components in Showkase for the Compound team (#375)
* Screenshot tests changes:

    - Group components for Showkase.
    - Set special Paparazzi config for scrolling screens using non null `Preview.heightDp`.
    - Add merged theme preview with `ElementThemedPreview` component.
2023-05-02 16:13:35 +00:00
ganfra
638b45930e Merge pull request #334 from vector-im/feature/fga/feature_flag
Feature/fga/feature flag
2023-04-18 15:24:04 +02:00
ganfra
991c7ff7f0 [FeatureFlag] add more tests 2023-04-18 12:05:29 +02:00
ganfra
a11b407038 FeatureFlag: first implementation 2023-04-17 19:44:29 +02: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
998178b70f [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02: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
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
442fb212ae Add some previews. 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
443076f636 Give the id to AvatarData to be able to compute initial properly. 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
1126040032 Add test for PreferencesRootPresenter 2023-02-09 12:19:04 +01:00
Benoit Marty
9d32b05fbb Rework Preview for a better rendering in the IDE. 2023-02-03 12:56:53 +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
3410b70af4 Optimize import 2023-01-30 16:36:51 +01:00
Benoit Marty
94b4f6ac63 Merge pull request #58 from vector-im/feature/bma/investigation
Add animation between screens
2023-01-25 11:49:01 +01:00
Benoit Marty
9b515a95ff Rename function (code review) 2023-01-25 11:14:50 +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
78cbca3193 Animation between screens 2023-01-24 17:24:40 +01:00
Benoit Marty
dd10fbe395 Naming convention and no need for a val for presenter 2023-01-24 09:48:35 +01:00
Benoit Marty
8647016e61 Use the modifier parameter. 2023-01-24 09:45:11 +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
907d7eba75 Rename matrix modules 2023-01-20 17:27:47 +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
bc9b8e6b90 Rename architecture module 2023-01-20 16:26:43 +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
ganfra
55d6ca566f Apply ktlint format 2023-01-13 18:37:28 +01:00
ganfra
f95b3b5d79 Add copyright on new files 2023-01-13 18:36:16 +01:00
ganfra
7a29ce1d8d Remove viewmodel/fragment references 2023-01-13 18:20:10 +01:00
ganfra
ad7bf21f6d Use EventSink lambda in state instead of Flow in Presenter 2023-01-11 15:53:52 +01:00
ganfra
e56ba5e315 Continue migrating BugReport/Rageshake/Crash screens 2023-01-10 21:18:16 +01:00
ganfra
ae273bd4ea Migrate Preferences to new architecture 2023-01-09 19:27: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