Commit Graph

120 Commits

Author SHA1 Message Date
Benoit Marty
c8dc2a5e57 Merge pull request #394 from vector-im/feature/bma/moveShowkaseButton
Move showkase button
2023-05-05 16:40:01 +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
Chris Smith
2171f1a8ab Show badges for new invites (#355)
Show badges for new invites

Closes #238
2023-05-04 15:30:55 +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
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
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
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
f4c98aeef5 Merge branch 'develop' into feature/fga/some_room_related_fixes 2023-04-27 17:25:12 +02:00
Jorge Martin Espinosa
aef2b38983 [Room Details] Block & unblock user (#340) 2023-04-26 16:14:44 +02:00
Jorge Martin Espinosa
e2b2dbf59f [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
ganfra
4b4c8c9e4d Generate new snapshots 2023-04-25 11:37:27 +02:00
ganfra
c32c4c31b0 Merge develop into feature/fga/some_room_related_fixes 2023-04-24 18:13:12 +02:00
Chris Smith
ae97a034e5 Accepting and declining invites
Hook up accept and decline buttons in the invites UI. Accept
will attempt to accept and then navigate to the room; decline
shows a confirmation dialog.

Fixes #106
2023-04-21 15:01:27 +01:00
ganfra
b0152059ff Room : continue improving members loading 2023-04-21 14:39:47 +02:00
Jorge Martin Espinosa
e651d2f9c5 Fix: improve offline indicator designs (#341)
* Use the right font weight for the offline indicator title.

* Remove unneeded suppression in some build files.
2023-04-19 15:58:56 +02:00
Chris Smith
9a54bc9168 Merge pull request #297 from csmith/102-show-invites-list
Feat: show invites list
2023-04-19 12:40:29 +01:00
Chris Smith
e90211b5d8 Invite list view
Adds a CTA on the room list to view invites if there are any.

The invite list presents each invite with accept/decline buttons
and (for room invites) the sender details.

Fixes #102
2023-04-19 10:20:48 +01:00
Jorge Martin Espinosa
e704870e3f Validate several ids in constructors (#336)
* Validate ids in constructors.

* Remove redundant `.value` usage in string interpolation.

* Make a distinction between `SessionId` and `UserId` in `TestData`.
2023-04-18 16:17:13 +00:00
ganfra
f98fe8e52c Merge pull request #334 from vector-im/feature/fga/feature_flag
Feature/fga/feature flag
2023-04-18 15:24:04 +02:00
ganfra
f255d2649c [FeatureFlag] generate screenshot 2023-04-18 12:51:20 +02:00
Jorge Martin Espinosa
aa12feb4d4 [Room details] DM designs (#313)
* Implement member details screen

* Add DM-only sections to the room details screen.
2023-04-17 16:41:10 +00:00
Jorge Martin Espinosa
798bedcaed [Room List] Show offline indicator when the device is offline (#239)
* Implement the network status indicator.

* Add `networkmonitor` feature.
2023-04-17 17:01:16 +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
Florian Renaud
16aefb2039 update screenshots 2023-04-14 14:30:36 +02:00
Florian Renaud
6e0730a02a Merge remote-tracking branch 'origin/develop' into feature/fre/create_room_flow_persist_data 2023-04-13 23:45:33 +02:00
Florian Renaud
7d5b53b534 Merge pull request #308 from vector-im/feature/fre/create_room_screen
Create a room screen (UI)
2023-04-13 23:40:25 +02:00
Florian Renaud
0e1e1bbc76 Merge branch 'feature/fre/create_room_screen' into feature/fre/create_room_flow_persist_data 2023-04-13 23:28:19 +02:00
Florian Renaud
d5e62dfbf1 Split ConfigureRoomView into multiple files 2023-04-13 23:20:30 +02:00
Jorge Martin Espinosa
97b5fa7ea8 [Room Details] Implement member details screen (#302) 2023-04-13 16:41:57 +00:00
Florian Renaud
a7d273432d Update screenshots 2023-04-13 16:19:56 +02:00
Florian Renaud
5364bbd2cb Update screenshots 2023-04-13 16:19:55 +02:00
Florian Renaud
dde2aad600 screenshots 2023-04-13 15:49:03 +02:00
Florian Renaud
66b672e655 Change wording of create a room button 2023-04-13 15:44:44 +02:00
Benoit Marty
f4e4be7479 Improve asXId and make tests pass in release and debug mode. 2023-04-12 09:50:04 +02:00
Benoit Marty
7aca1d6bd5 Let this module generate screenshot preview. 2023-04-12 09:41:22 +02:00
Florian Renaud
e4c1c12061 update screenshots 2023-04-06 11:34:31 +02:00
Florian Renaud
16382a3eef screenshots tests 2023-04-05 13:29:00 +02:00
Florian Renaud
5899211413 Merge remote-tracking branch 'origin/develop' into
feature/fre/start_chat_with_matrix_id
2023-04-05 10:16:33 +02:00
Jorge Martin Espinosa
d7a6779343 [Room member list] Display room member list (#276)
* Implement room member list

* Move timeline initialization back to `TimelinePresenter`.

* Fix crash when the `innerRoom` inside a `RustMatrixRoom` is destroyed but `syncUpdateFlow` is still running.

* Address review comments
2023-04-04 16:07:57 +00:00
Florian Renaud
14ac9ff138 Add new screenshots 2023-04-04 15:44:38 +02:00
Jorge Martin Espinosa
1397fe42f5 Set a fixed number of emojis per row. (#271) 2023-03-31 10:51:49 +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
Jorge Martin Espinosa
c75ebfb1e7 Improve ButtonWithProgress component, replace login and change server buttons (#235)
* Improve `ButtonWithProgress` component.

* Replace `CircularProgresIndicator` with `ButtonWithProgress` in login and server selection screens.
2023-03-28 22:56:59 +02:00
Jorge Martín
3f70f57922 Fix tests using new OnBackPressedDispatcherOwner API 2023-03-28 13:01:41 +02:00
ganfra
2c2ce1b2e8 Merge pull request #260 from vector-im/feature/fga/module_templates
Feature/fga/module templates
2023-03-28 10:07:06 +02:00
ganfra
dde0f3480f Merge branch 'develop' into feature/fga/module_templates 2023-03-27 17:21:45 +02:00
Benoit Marty
117e08832e Record screenshots. 2023-03-27 14:47:03 +02:00
ganfra
d60a653d83 Add utility methods for automatically including api/impl feature modules 2023-03-23 18:06:32 +01:00