Commit Graph

315 Commits

Author SHA1 Message Date
ElementBot 404caed314 Update screenshots 2023-07-20 05:51:05 +00:00
David Langley ec3c524cae Don't update non reaction screenshots 2023-07-19 09:36:09 +01:00
David Langley 26864eb826 Update screenshots 2023-07-19 09:28:02 +01:00
ElementBot 913527670f Update screenshots 2023-07-18 16:38:41 +00:00
ganfra d7cb8e076c Merge pull request #900 from vector-im/feature/fga/better_media_handling
Feature/fga/better media handling
2023-07-18 17:52:41 +02:00
ElementBot e98aee9f39 Update screenshots 2023-07-18 14:51:59 +00:00
ganfra 84500d41eb Merge branch 'develop' into feature/fga/better_media_handling 2023-07-18 15:13:59 +02:00
ElementBot 1a51b0410a Update screenshots 2023-07-18 13:07:52 +00:00
ElementBot bb6132c0fd Update screenshots 2023-07-18 12:35:42 +00:00
ElementBot bfef2c0a6b Update screenshots 2023-07-18 10:39:24 +00:00
ElementBot 12a30ed914 Update screenshots 2023-07-18 10:23:43 +00:00
Benoit Marty bb3aee6d7e Merge pull request #895 from vector-im/feature/bma/fixDarkWelcome
Fix dark welcome
2023-07-18 11:19:10 +02:00
ElementBot b8d9655e8e Update screenshots 2023-07-18 10:12:56 +02:00
ganfra 8f01e8133f Merge branch 'develop' into feature/fga/better_timeline_scroll 2023-07-17 23:35:41 +02:00
Jorge Martin Espinosa 2488432805 Hide encryption history + FTUE flow (#839)
* First attempt at implementing encrypted history banner and removing old UTDs

* Get the right behavior in the timeline

* Implement the designs

* Extract post-processing logic, add tests

* Add encryption banner to timeline screenshots

* Create FTUE feature to handle welcome screen and analytics

* Move classes to their own packages, add tests for `DefaultFtueState`.

* Remove unnecessary private MutableStateFlow

* Move some FTUE related methods and classes back to the `impl` module

* Handle back press at each FTUE step

* Remove unneeded `TestScope` receiver for `createState` in tests.

* Use light & dark previews for the banner view.

* Move color customization from `TextStyle` to `Text` component.

* Rename `InfoList` design components, use them in `AnalyticsOptInView` too.

* Cleanup MatrixClient.

* Fix copy&paste error

Co-authored-by: Benoit Marty <benoit@matrix.org>

* Fix typo

* Fix Maestro tests

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-07-17 18:34:36 +02:00
Jorge Martin Espinosa 9247cd765a Fix: make sure we ignore notifications for open rooms (#867)
* Make sure we ignore notifications for open rooms
- Listen to process lifecycle changes in `AppForegroundStateService`. Use initializers to reliable create it.
- Merge `AppNavigationState` with `AppForegroundState`. Renamed the previous `AppNavigationState` to `NavigationState`, created a new `AppNavigationState` which contains both the navigation state and the foreground state.
2023-07-17 17:02:06 +02:00
Jorge Martin Espinosa 8865cc2b57 Disable Paparazzi tasks when Kover is running. (#884)
* Disable Paparazzi tasks when Kover is running.

It allows us to split the test jobs between unit tests, screenshot test and coverage reports.

* Move Sonar upload to the quality workflow, since we have no lint info in tests.
2023-07-17 10:55:51 +02:00
ElementBot e75438a8e3 Sync Strings (#882)
* Sync Strings from Localazy

* Update screenshots

---------

Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-07-17 10:22:15 +02:00
ganfra 33e495caa3 Merge branch 'develop' into feature/fga/better_timeline_scroll 2023-07-13 20:19:57 +02:00
ElementBot edb025a549 Update screenshots 2023-07-13 15:38:07 +00:00
ganfra f80f6f5bd9 Timeline: fix some tests and a one more 2023-07-13 17:09:20 +02:00
Benoit Marty c919618bc0 Fix account provider change on nightly and release (#861)
* Use parallelMap (same code)

* Add proguard rules. Fixes #818

* Rename file proguard-rules.pro to consumer-rules.pro for coherency.

* Remove empty and non-referenced proguard files.
2023-07-13 14:46:57 +02:00
Benoit Marty 281d0dde56 Merge pull request #847 from vector-im/feature/bma/blockUserUx
Improve block/unblock user ux
2023-07-12 16:33:12 +02:00
ganfra 21f9093e78 Merge pull request #843 from vector-im/feature/fga/coroutine_dispatcher
Feature/fga/coroutine dispatcher
2023-07-11 20:42:01 +02:00
ElementBot 2cc548f145 Update screenshots 2023-07-11 16:19:22 +00:00
ElementBot b871136373 Update screenshots 2023-07-11 09:41:37 +00:00
ganfra d77ff60f03 Coroutine: remove diffUpdateDispatcher, not used anymore 2023-07-11 11:40:55 +02:00
Benoit Marty 0fbf799d15 Merge pull request #826 from vector-im/feature/bma/swipeAction
Improve swipe to reply rendering
2023-07-10 13:56:29 +02:00
Chris Smith 20bdf98db6 Merge pull request #824 from vector-im/misc/cjs/left-align-top-bars 2023-07-10 12:23:29 +01:00
ElementBot 5b9966f33c Update screenshots 2023-07-10 10:12:38 +00:00
Marco Romano 3e69985fd6 Use @DayNightPreviews for static map (#832)
* Use @DayNightPreviews for static map

To properly screenshot the dark pin.

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-10 10:45:11 +02:00
Jorge Martin Espinosa 3436d74368 Update screenshots (#831)
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-10 09:42:34 +02:00
jonnyandrew 3c6f658a1f Truncate and ellipsize long reactions (#821)
* Truncate and ellipsize long reactions

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-08 17:53:29 +01:00
Marco Romano c48fcac2f1 Use @DayNightPreviews to correctly render the PinIcon in dark mode (#795)
- Fixes rendering of `-night` resources in screenshot tests by overriding the `nightMode` with `paparazzi.unsafeUpdateConfig()`.
2023-07-07 16:35:34 +02:00
ElementBot 8940ba1714 Update screenshots 2023-07-07 13:56:16 +00:00
ElementBot 31ed77e79c Update screenshots 2023-07-07 13:24:14 +00:00
jonnyandrew d8fcfc5844 Collapse long lists of message reactions (#806)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-07 13:19:11 +00:00
ganfra 10c2859fac Merge branch 'develop' into feature/fga/waiting_ss_room 2023-07-07 11:34:45 +02:00
Jorge Martin Espinosa 5ee2418a1c [Design] Use outlined textfields in login screen (#801)
* Use outlined textfields in the login screen

* Fix enabled status

* Fix loading state for button in `ConfirmAccountProviderView` too

* Update subtitle string

* Remove no longer used translation

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-07 10:08:38 +02:00
Jorge Martin Espinosa ea381cda2c Force the default locale to the selected one for screenshot tests (#805) 2023-07-07 10:06:20 +02:00
Benoit Marty 59a45e5185 Merge pull request #804 from vector-im/feature/bma/missingPreview2
Add a missing preview using DayNightPreviews annotation
2023-07-06 20:54:30 +02:00
Benoit Marty 77e2ff4953 Merge pull request #781 from vector-im/feature/bma/waitingListScreen
Implement waiting list screen (error IO_ELEMENT_X_WAIT_LIST)
2023-07-06 18:24:41 +02:00
ElementBot c4dde65d76 Update screenshots 2023-07-06 18:22:48 +02:00
jonnyandrew 5b7c42a50a Fix multi-line reactions blocking message content (#785)
Fixes vector-im/element-x-android#753

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-06 12:44:37 +00:00
ElementBot 4911fdc15e Update screenshots 2023-07-06 10:40:20 +00:00
Marco Romano 3449ea486a Optional day night preview annotation (#793)
Adds the `@DayNightPreviews` annotation that when used on a composable will:
- Display both a day mode and night mode preview in Android Studio.
- Produce both a day and night screenshot during screenshot testing.

The usage of this new annotation is optional, all the current previews continue to work without breakages.
New code can use, when appropriate, the new `@DayNightPreviews` annotation and replace the pattern using three `LightPreview/DarkPreview/ContentToPreview` functions with:

```
@DayNightPreviews
@Composable
fun MyScreenPreview(@PreviewParameter(MyStateProvider::class) state: MyState) {
    ElementPreview {
        MyScreen(
            state = state,
        )
    }
}
```
2023-07-06 12:35:54 +02:00
ElementBot aafd4f8347 Update screenshots 2023-07-06 09:59:04 +00:00
Chris Smith 5cfaae24b8 Merge pull request #783 from vector-im/feature/cjs/location-descriptions 2023-07-06 10:33:59 +01:00
ElementBot 6191361398 Update screenshots 2023-07-06 09:13:08 +00:00
Chris Smith 27bc3c60b8 Merge remote-tracking branch 'origin/develop' into feature/cjs/location-descriptions 2023-07-06 10:01:31 +01:00