Commit Graph

331 Commits

Author SHA1 Message Date
Benoit Marty
ac1d355f65 Cleanup: there are no androidTest on those modules. 2023-07-24 12:41:02 +02:00
ElementBot
78fb53645b Update screenshots 2023-07-24 08:18:21 +00:00
Benoit Marty
59a66479ab Merge branch 'develop' into feature/bma/noWarnings 2023-07-21 12:17:50 +02:00
David Langley
4c87138a48 Merge pull request #912 from vector-im/feature/dla_custom_reactions_layout
Reactions layout improvements
2023-07-21 11:00:43 +01:00
Benoit Marty
55538c2773 Enable detekt rules UnusedImports and cleanup the code. 2023-07-20 18:00:23 +02:00
Marco Romano
e7136715a6 Update permission request dialog copy. (#931)
As per new designs.

Part of:
- https://github.com/vector-im/element-meta/issues/1682
2023-07-20 14:50:24 +00:00
Marco Romano
ffaf24751a Use correct share my location icon in button (#936)
As per newer design specs.

Related to:
- https://github.com/vector-im/element-meta/issues/1678
2023-07-20 13:59:06 +00:00
Marco Romano
d5a93a50e0 Add screenshots with ~1.5 lines long desc to expanded location view (#923)
This will help in catching alignment regressions.

Related to:
- https://github.com/vector-im/element-meta/issues/1678
2023-07-20 13:42:35 +00:00
ElementBot
85c597b79e Update screenshots 2023-07-20 05:51:05 +00:00
Benoit Marty
c882cab67f Merge pull request #920 from vector-im/feature/bma/slidingSyncState
Sliding sync state rendering
2023-07-19 16:26:14 +02:00
ElementBot
c2b5902bb2 Update screenshots 2023-07-19 13:51:57 +00:00
Benoit Marty
0c33d0d0c1 Exclude app module for now. 2023-07-19 15:27:21 +02:00
Marco Romano
c135da2562 Location expanded view: show own location (#916)
If the location permission is granted:
- Shows the user's own location
- Shows a button to center the map on it

Part of:
- https://github.com/vector-im/element-meta/issues/1678
2023-07-19 13:26:06 +00:00
Benoit Marty
dc3c237176 Ensure uitest take preview from app module. 2023-07-19 14:47:30 +02:00
Benoit Marty
1f243dcb54 Ensure uitest take preview from appnav module. 2023-07-19 14:41:41 +02:00
Marco Romano
fb85cc0be4 Fix insets for nav bar in send location view (#915)
Improvement of https://github.com/vector-im/element-x-android/pull/770

- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 13:57:34 +02:00
Marco Romano
278f8ae4c6 Send My Location (#770)
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 09:58:13 +00:00
David Langley
cb04014bd6 Don't update non reaction screenshots 2023-07-19 09:36:09 +01:00
David Langley
a0af09b79f Update screenshots 2023-07-19 09:28:02 +01:00
ElementBot
f5667395aa Update screenshots 2023-07-18 16:38:41 +00:00
ganfra
e09b8aca0e 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
03013d5c2a Update screenshots 2023-07-18 14:51:59 +00:00
ganfra
f7c55f8d04 Merge branch 'develop' into feature/fga/better_media_handling 2023-07-18 15:13:59 +02:00
ElementBot
6ea6a5ca47 Update screenshots 2023-07-18 13:07:52 +00:00
ElementBot
c9b3b3f83f Update screenshots 2023-07-18 12:35:42 +00:00
ElementBot
ae209de51b Update screenshots 2023-07-18 10:39:24 +00:00
ElementBot
109945be9b Update screenshots 2023-07-18 10:23:43 +00:00
Benoit Marty
baf6497d33 Merge pull request #895 from vector-im/feature/bma/fixDarkWelcome
Fix dark welcome
2023-07-18 11:19:10 +02:00
ElementBot
a69b5a19b4 Update screenshots 2023-07-18 10:12:56 +02:00
ganfra
92db07ff83 Merge branch 'develop' into feature/fga/better_timeline_scroll 2023-07-17 23:35:41 +02:00
Jorge Martin Espinosa
280b7e32e0 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
e61af2eb7d 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
323a84db37 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
045d957f91 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
96ac1763a1 Merge branch 'develop' into feature/fga/better_timeline_scroll 2023-07-13 20:19:57 +02:00
ElementBot
866a7bd8ef Update screenshots 2023-07-13 15:38:07 +00:00
ganfra
231f278adb Timeline: fix some tests and a one more 2023-07-13 17:09:20 +02:00
Benoit Marty
be6b8c825b 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
2206f70acc Merge pull request #847 from vector-im/feature/bma/blockUserUx
Improve block/unblock user ux
2023-07-12 16:33:12 +02:00
ganfra
ff23a54acc Merge pull request #843 from vector-im/feature/fga/coroutine_dispatcher
Feature/fga/coroutine dispatcher
2023-07-11 20:42:01 +02:00
ElementBot
e34e615a7a Update screenshots 2023-07-11 16:19:22 +00:00
ElementBot
d989f45b78 Update screenshots 2023-07-11 09:41:37 +00:00
ganfra
c2c81d3747 Coroutine: remove diffUpdateDispatcher, not used anymore 2023-07-11 11:40:55 +02:00
Benoit Marty
4afdccb3ed 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
130c026d81 Merge pull request #824 from vector-im/misc/cjs/left-align-top-bars 2023-07-10 12:23:29 +01:00
ElementBot
03d470b190 Update screenshots 2023-07-10 10:12:38 +00:00
Marco Romano
026296eb43 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
299492713e Update screenshots (#831)
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-10 09:42:34 +02:00
jonnyandrew
565d943466 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
220a6087f9 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