Commit Graph

1453 Commits

Author SHA1 Message Date
Marco Romano
907ae36fee Create CODEOWNERS
This change, together with enabling the "Require review from Code Owners" option in the Github's branch protection rule will effectively auto assign a reviewer to any non-draft PR.
2023-05-09 17:07:23 +02:00
Benoit Marty
019e2d17ac Merge pull request #401 from vector-im/sync-localazy
Sync Strings
2023-05-09 10:08:13 +02:00
Benoit Marty
b713911c42 trigger CI 2023-05-09 09:50:08 +02:00
bmarty
367b659edc Sync Strings from Localazy 2023-05-08 00:08:48 +00:00
Florian Renaud
6eba85a993 Merge pull request #399 from vector-im/bugfix/fre/fix_create_room_navigation
Fix navigation broken
2023-05-05 17:28:12 +02:00
Florian Renaud
25adc1cc60 Fix navigation broken 2023-05-05 17:11:45 +02: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
b1c5eb53ae Fix test. 2023-05-05 16:22:00 +02:00
Benoit Marty
f5a8805640 Cleanup 2023-05-05 15:38:21 +02:00
Benoit Marty
8d6caeedd6 Merge pull request #392 from vector-im/renovate/org.robolectric
Update dependency org.robolectric:robolectric to v4.10.2
2023-05-05 15:16:01 +02:00
Benoit Marty
0bf77bbd20 Merge pull request #395 from vector-im/renovate/com.squareup-kotlinpoet-1.x
Update dependency com.squareup:kotlinpoet to v1.13.2
2023-05-05 15:15:34 +02:00
renovate[bot]
ebb90c56fe Update dependency com.squareup:kotlinpoet to v1.13.2 2023-05-05 10:13:05 +00:00
Benoit Marty
3fc4604f9c Merge pull request #332 from vector-im/renovate/kotlin
Update kotlin
2023-05-05 12:12:29 +02:00
Benoit Marty
f881bd849d Re-order parameters. 2023-05-05 11:49:27 +02:00
Chris Smith
1d041578f7 Make danger check view changes (#391)
Make danger check view changes

Add a check that if a file with @Preview or @LargeHeightPreview
in it is changed, then the corresponding build file includes
the showkase processor.

Also change the check that prompts about screenshots to use
the same @Preview logic instead of checking for "/layout" in
the path which doesn't work with compose.

Also add missing showkase processors
2023-05-05 08:24:12 +00:00
Benoit Marty
6e9eb254ef Record screenshot tests. 2023-05-05 09:49:28 +02:00
Benoit Marty
59e630c99e Update documentation about screenshot test. 2023-05-05 09:47:10 +02:00
Benoit Marty
d5363a1d3f Fix issue in task, previous screenshot were never deleted. 2023-05-05 09:43:08 +02:00
renovate[bot]
8eb826370d Update dependency com.google.android.material:material to v1.9.0 (#393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 09:32:26 +02:00
renovate[bot]
d11ad873c6 Update dependency org.robolectric:robolectric to v4.10.2 2023-05-04 20:39:10 +00:00
Benoit Marty
232ae32051 Avoid using hard-coded key, use ShowkaseBrowserActivity.getIntent() instead. 2023-05-04 17:31:08 +02:00
Chris Smith
2171f1a8ab Show badges for new invites (#355)
Show badges for new invites

Closes #238
2023-05-04 15:30:55 +00:00
Benoit Marty
e8049f81a4 Move the button to open the Showkase browser to the developer settings screen. (#389) 2023-05-04 17:29:03 +02:00
Florian Renaud
6447e4fe36 Merge pull request #379 from vector-im/feature/fre/get_profile_on_search
Enable start chat feature and perform get profile request when searching for a matrix ID
2023-05-04 16:55:08 +02:00
Florian Renaud
95a90c0b1d Add tests 2023-05-04 16:34:38 +02:00
Florian Renaud
031251c499 changelog 2023-05-04 16:28:19 +02:00
Florian Renaud
60e63c36dc Enable create DM action 2023-05-04 16:27:50 +02:00
Florian Renaud
e1dbc8fadf Perform get profile request on matrix ID 2023-05-04 16:27:50 +02:00
Chris Smith
7e6341c4f3 Add Marco to dangerfile (#388) 2023-05-04 12:39:40 +00:00
Chris Smith
54510e13f5 Add debounce/minimum length for add user search (#387)
This functionality was already implemented, it just didn't
have the right parameters configured for the user list
presenter.

Closes #109
2023-05-04 12:30:20 +00:00
Jorge Martin Espinosa
31ac97d17a [Media upload] Add media pickers to the Room screen and the composer (#380)
* Add media pickers to the Room screen and the composer.

* Fix exclude rules for translations
2023-05-04 11:51:03 +02:00
renovate[bot]
87e57f5b51 Update kotlin 2023-05-03 17:40:41 +00:00
Chris Smith
5c935818c6 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
Chris Smith
908bdcf6cd Fix screenshot tests for userlists (#382)
These were recorded before Paparazzi's rendering mode was changed
to SHRINK.
2023-05-03 18:00:08 +02:00
Chris Smith
63168d4656 Search for users to start a new DM. (#376)
Search for users to start a new DM.

Hooks up the create room UI to the matrix client to get
search results. Searches are debounced for 500ms and
only executed when 3 or more characters are entered.

Wrap the result state so we can distinguish between
"no results because we haven't searched yet" and
"no results because the API returned nothing", and
add a "No results found" message in the UI for the
latter case.

Closes #95
2023-05-03 13:26:31 +00:00
Benoit Marty
c196174a95 Merge pull request #377 from vector-im/renovate/major-io.element.android
Update dependency io.element.android:wysiwyg to v2
2023-05-03 14:17:25 +02:00
renovate[bot]
bace2b4245 Update dependency io.element.android:wysiwyg to v2 2023-05-03 06:26:38 +00:00
renovate[bot]
df5ebbd300 Update dependency org.robolectric:robolectric to v4.10.1 (#378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 08:21:43 +02:00
Jorge Martin Espinosa
921fb55220 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
Benoit Marty
977c87c141 Merge pull request #370 from vector-im/sync-localazy
Sync Strings
2023-05-02 17:45:50 +02:00
jonnyandrew
d2d01c08df Allow custom push gateway to use non-default port (#374) 2023-05-02 15:04:47 +00:00
Jorge Martin Espinosa
e5a8548ab9 Design fixes for room detail, dm & room member detail screens (#363)
* Design fixes for room detail, dm & room member detail screens.

* Record new screenshots, improve RoomDetailsStateProvider.

* Move MainActionButton to its own component in the design system.
2023-05-02 14:02:51 +00:00
ganfra
56f6ad69a9 Merge pull request #353 from vector-im/feature/fga/some_room_related_fixes
Feature/fga/some room related fixes
2023-05-02 13:20:10 +02:00
ganfra
f256f7b225 Merge pull request #367 from vector-im/feature/fga/update-rust-sdk-0.1.11
Feature/fga/update rust sdk 0.1.11
2023-05-02 13:05:26 +02:00
ganfra
e73d92124e Update tests and avoid useless recomposition 2023-05-02 13:04:00 +02:00
Benoit Marty
8068915b32 Merge pull request #373 from vector-im/feature/bma/upgrade_gradle_build_action
Upgrade gradle/gradle-build-action to v2.4.2
2023-05-02 11:10:10 +02:00
Benoit Marty
fd9910ad45 Merge pull request #371 from vector-im/renovate/android_gradle_plugin
Update android_gradle_plugin to v8.0.1
2023-05-02 10:59:28 +02:00
Benoit Marty
94f6fd293b Merge pull request #359 from vector-im/renovate/org.jlleitschuh.gradle.ktlint-11.x
Update plugin ktlint to v11.3.2
2023-05-02 10:58:49 +02:00
Benoit Marty
6180205efd Merge pull request #372 from vector-im/renovate/major-com.google.firebase
Update dependency com.google.firebase:firebase-bom to v32
2023-05-02 10:58:28 +02:00
Benoit Marty
c7a3362700 Merge pull request #368 from vector-im/renovate/dagger
Update dagger to v2.46
2023-05-02 10:57:26 +02:00