Commit Graph

2553 Commits

Author SHA1 Message Date
Chris Smith 20bdf98db6 Merge pull request #824 from vector-im/misc/cjs/left-align-top-bars 2023-07-10 12:23:29 +01:00
Benoit Marty bfc850907d Merge pull request #828 from vector-im/sync-localazy
Sync Strings
2023-07-10 13:08:03 +02:00
Benoit Marty 73fa6fc6be Remove the legacy script which imports Strigns from Element Android project. 2023-07-10 12:15:41 +02:00
Benoit Marty 6ee4056cca Sync again after adding missing value in Localazy. 2023-07-10 12:14:25 +02: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 4d8c929ad3 Remove extra syncService.startSync() call (#830) 2023-07-10 10:45:02 +02:00
Chris Smith f4ae9eaba7 Merge pull request #802 from vector-im/feature/cjs/stop-editing-dms 2023-07-10 09:14:43 +01:00
Jorge Martin Espinosa c0df303c22 Make Showkase browser work in the nightly versions (#829) 2023-07-10 10:10:22 +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
bmarty fd6cf1d7fd Sync Strings from Localazy 2023-07-10 00:11:05 +00: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
Benoit Marty 5e444406e6 Merge pull request #814 from vector-im/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.1.12
2023-07-07 22:18:47 +02:00
Benoit Marty b0ec6ba7a5 Merge pull request #823 from vector-im/feature/bma/snackbarFix
Snackbar fix
2023-07-07 22:04:37 +02: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
Benoit Marty 6eab2ea694 Fix test. 2023-07-07 16:22:42 +02:00
Benoit Marty 4b90904bc0 Cleanup 2023-07-07 16:15:59 +02:00
ElementBot 8940ba1714 Update screenshots 2023-07-07 13:56:16 +00:00
Chris Smith eea92b9d36 Create room: close icon should be on the left
This is a navigation icon, which goes on the LHS of the top bar.
2023-07-07 14:46:28 +01:00
Benoit Marty cd469e67bd Fix Snackbar colors. 2023-07-07 15:39:43 +02:00
Benoit Marty 7fef755234 Use the CoroutineScope from the LaunchedEffect. 2023-07-07 15:35:16 +02:00
Benoit Marty af323d8636 Show Snackbar once the verification is finish in the correct screen (#812) 2023-07-07 15:34:15 +02: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
Benoit Marty 03a80292e5 ignore typo. 2023-07-07 15:14:53 +02:00
Chris Smith 8eabb3bd94 Add test for leaving rooms
Completely unrelated to what I was doing, but might appease the
code coverage gods?
2023-07-07 14:13:18 +01:00
Chris Smith 587117484e Room details: don't allow edits in DMs
If the room is a DM, we won't allow any editing functionality
regardless of power levels.

If there is no topic set, then the entire section is hidden,
like in rooms without a topic where you lack the power level
to change it.

Closes #799
2023-07-07 14:13:18 +01:00
Chris Smith 54c7e8bb57 Merge pull request #817 from vector-im/misc/cjs/drop-coverage-threshold 2023-07-07 14:08:39 +01:00
Chris Smith 043ed3e0aa Remove CenterAlignedTopAppBar
Centering the titles is very iOS-y and not aligned with the material
guidelines (which say center aligned top bars are only for the main
root page in the app). They also present issues when we have titles
and textual actions that end up being quite long in other languages,
as they end up merging together.

Fixes #655
2023-07-07 13:59:05 +01:00
Chris Smith aedcb93bca Reduce code coverage threshold for presenters
Drop from 90% to 85% to allow for smaller presenters where the
number of untestable instructions generated by kotlin/compose
can reach ~10% of the entire file.
2023-07-07 13:22:28 +01:00
Benoit Marty 8f4af0c16b Merge pull request #811 from vector-im/feature/bma/verificationSnackbar
Display the "verification success" Snackbar only when the state is `VerificationFlowState.Finished`.
2023-07-07 14:12:52 +02:00
renovate[bot] 8beb8c5f6b Update dependency io.nlopez.compose.rules:detekt to v0.1.12 2023-07-07 11:26:39 +00:00
Chris Smith 1ca7b0ab55 Merge pull request #797 from vector-im/feature/cjs/hide-self-in-search 2023-07-07 12:26:05 +01:00
Chris Smith 31056f0511 Rename var 2023-07-07 12:04:06 +01:00
Chris Smith 303a0a6677 Introduce MatrixClient.isMe for checking sessionID 2023-07-07 12:03:43 +01:00
ganfra f32a0ca1ad Merge pull request #794 from vector-im/feature/fga/waiting_ss_room
Feature/fga/waiting ss room
2023-07-07 12:08:19 +02:00
ganfra 10c2859fac Merge branch 'develop' into feature/fga/waiting_ss_room 2023-07-07 11:34:45 +02:00
ganfra 7dd243cd70 Await room: add tests on LoadingRoomStateFlowFactory 2023-07-07 11:32:23 +02:00
ganfra 8852514652 Room: add extension method awaitAllRoomsAreLoaded with Timeout 2023-07-07 10:51:43 +02:00
ganfra 3b6385fef5 Merge pull request #803 from vector-im/feature/fga/app_nav_node_fixes
Feature/fga/app nav node fixes
2023-07-07 10:26:59 +02:00
Benoit Marty 9079825f81 Display the "verification success" Snackbar only when the state is VerificationFlowState.Finished.
Apply the same fix for `displayLeftRoomMessage`
2023-07-07 10:23:08 +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 f7dd327cb6 Merge pull request #808 from vector-im/feature/fga/update-rust-sdk-0.1.28
Matrix rust sdk: update to 0.1.28
2023-07-07 09:43:33 +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
ganfra 7dbac91cd3 Room : Fix tests as there is less recomposition 2023-07-06 19:58:06 +02:00
ganfra b89e357520 Matrix rust sdk: update to 0.1.28 2023-07-06 18:56:11 +02:00
Jorge Martin Espinosa c133a6e606 Fix displaying reaction row in message action list (#788)
* Fix displaying reaction row in message action list

* Rename `sendState` to `localSendState` and make it nullable.

Create an `isRemote` helper to detect if an event comes from the server instead.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-06 16:51:51 +00:00
ganfra a07808c314 Merge branch 'develop' into feature/fga/app_nav_node_fixes 2023-07-06 18:37:02 +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