Commit graph

1424 commits

Author SHA1 Message Date
Chris Smith
e5912edfb5 Add Marco to dangerfile (#388) 2023-05-04 12:39:40 +00:00
Chris Smith
a6569387e3 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
014c0f4186 [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
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
Chris Smith
271c66588a 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
99f571b4eb 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
c411faa93d 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]
1c30a5d64d Update dependency io.element.android:wysiwyg to v2 2023-05-03 06:26:38 +00:00
renovate[bot]
53fa178781 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
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
Benoit Marty
79cc6161a3 Merge pull request #370 from vector-im/sync-localazy
Sync Strings
2023-05-02 17:45:50 +02:00
jonnyandrew
6239aca8cb Allow custom push gateway to use non-default port (#374) 2023-05-02 15:04:47 +00:00
Jorge Martin Espinosa
d4c311545d 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
ca6a47edcd 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
3b76ec726f 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
58e2c93018 Update tests and avoid useless recomposition 2023-05-02 13:04:00 +02:00
Benoit Marty
8c0934a1e0 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
9baf5cf28b 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
3ff602bf0d 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
cb21145589 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
a8798fca0f Merge pull request #368 from vector-im/renovate/dagger
Update dagger to v2.46
2023-05-02 10:57:26 +02:00
Benoit Marty
ad7bc5fecc Upgrade gradle/gradle-build-action to v2.4.2 2023-05-02 10:55:05 +02:00
Benoit Marty
7a189867de trigger CI 2023-05-02 10:50:04 +02:00
renovate[bot]
b10caa1e06 Update dependency net.zetetic:android-database-sqlcipher to v4.5.4 (#364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 09:56:20 +02:00
renovate[bot]
51760fc2b6 Update dependency org.jsoup:jsoup to v1.16.1 (#369)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 08:17:37 +02:00
renovate[bot]
756371a79b Update dependency com.google.firebase:firebase-bom to v32 2023-05-02 01:03:43 +00:00
renovate[bot]
1aa9874f32 Update android_gradle_plugin to v8.0.1 2023-05-01 20:29:50 +00:00
bmarty
8f1793ffa4 Sync Strings from Localazy 2023-05-01 00:09:50 +00:00
renovate[bot]
9c4407e7b0 Update dagger to v2.46 2023-04-28 22:29:38 +00:00
ganfra
2c70fdeb61 Merge pull request #366 from vector-im/renovate/com.squareup-kotlinpoet-1.x
Update dependency com.squareup:kotlinpoet to v1.13.1
2023-04-28 18:40:14 +02:00
ganfra
154bd5e714 Update rust-sdk : make the app compiles again 2023-04-28 18:26:32 +02:00
renovate[bot]
cd9320e06a Update dependency com.squareup:kotlinpoet to v1.13.1 2023-04-28 14:54:19 +00:00
ganfra
5cd8e7c6c0 Merge branch 'develop' into feature/fga/some_room_related_fixes 2023-04-28 15:58:54 +02:00
ganfra
23a7b871f7 RoomMembers: change the API again.. 2023-04-28 15:04:33 +02:00
renovate[bot]
82b50d9e4a Update dependency org.matrix.rustcomponents:sdk-android to v0.1.11 2023-04-28 11:05:14 +00:00
Jorge Martin Espinosa
eeca1c9ee3 Add PickerLauncher wrapper for media/file pickers. (#361)
* Add `PickerLauncher` wrapper for media/file pickers.

* Add FileProvider path, handle Camera picker and add NoOp implementation to fix tests.

* Move media pickers to their own module.

* Add missing media pickers

* Add feature flag and some extra tests
2023-04-28 10:52:34 +02:00
ganfra
4b9f2fdae0 Don't pass RoomMember to Node but a UserId instead 2023-04-27 22:38:52 +02:00
ganfra
64c50d4468 Ignore/Unignore: makes more sense to be at the client level than room 2023-04-27 22:13:25 +02:00
ganfra
b433725783 RoomDetailsPresenter: fix dm test 2023-04-27 17:34:27 +02:00
ganfra
40f3f2873b Merge branch 'develop' into feature/fga/some_room_related_fixes 2023-04-27 17:25:12 +02:00
Jorge Martin Espinosa
78a715ce8d Fix NotificationData?.orDefault using an invalid UserId (#362) 2023-04-27 12:46:32 +02:00
Jorge Martin Espinosa
2376d32b9e [Room Details] Block & unblock user (#340) 2023-04-26 16:14:44 +02:00
renovate[bot]
dc5a446b5c Update plugin ktlint to v11.3.2 2023-04-25 19:36:57 +00:00
ganfra
5e8636d66e Update kotlinc.xml with kotlin 1.8.20 2023-04-25 18:26:18 +02:00
Jorge Martin Espinosa
0389f782c9 Fix: Maestro tests fail when using settings (#358)
* Fix Maestro tests using 'Settings' to open the settings screen.

* Try to allow manually running Maestro tests.

* Also adjust logout flow.
2023-04-25 18:01:54 +02:00
Kat Gerasimova
40f927fbdf Update labelled issue automation
Migrate from graphql to actions.

Add QA team
2023-04-25 13:29:27 +01:00
Jorge Martin Espinosa
0234553bca [Room list] Search & menu improvements (#356)
* Remove settings menu item, start splitting search UI. Also, add `applyIf` and `circularReveal` modifiers.

* Split UI & logic for room list search

* Suppress `composed` warning, improve its debuggability

* Add content description to the user's avatar, fix window insets. Also, remove unused `SearchRoomListTopBar`.
2023-04-25 11:35:36 +00:00
Benoit Marty
b59ea181eb Merge pull request #352 from vector-im/sync-localazy
Sync Strings
2023-04-25 11:47:25 +02:00
ganfra
10ea382e35 Generate new snapshots 2023-04-25 11:37:27 +02:00
ganfra
1ab96e2f34 Some clean up 2023-04-25 11:17:05 +02:00