Commit Graph

2567 Commits

Author SHA1 Message Date
Benoit Marty 9cd267b7f7 Add userId and deviceId to rageshake data. 2023-07-10 14:43:03 +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
ganfra 0e47fa870e Merge pull request #834 from vector-im/feature/fga/avoid_multiple_sync_loops
Feature/fga/avoid multiple sync loops
2023-07-10 13:37:35 +02:00
ganfra 65210b72f5 Sync: add more safety to avoid some race conditions 2023-07-10 13:25:16 +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
ganfra 785c4a52f1 Sync: should avoid having multiple sync loops 2023-07-10 13:08:55 +02: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 c3ddc628a4 Add exepction for SwipeableActionsState. 2023-07-10 13:03:55 +02:00
Benoit Marty fa9c5a7ccc avoid typo report 2023-07-10 13:02:19 +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
ElementBot 5b9966f33c Update screenshots 2023-07-10 10:12:38 +00:00
Benoit Marty 3e0b9822f0 Attempt to reduce swipe sensitivity (#810) 2023-07-10 11:54:44 +02:00
Benoit Marty dca5ee8051 Improve preview rendering. 2023-07-10 11:52:27 +02:00
Benoit Marty 02dd796d83 Space must be above the item. 2023-07-10 11:52:27 +02:00
Benoit Marty 1c7c8e6c9a Add missing content when canReply is false. 2023-07-10 11:52:27 +02:00
Benoit Marty 1bc13d16d9 Improve animation of Swipe to reply: replace usage of SwipeToDismiss by Modifier.draggable 2023-07-10 11:52:27 +02:00
Benoit Marty aa7db3150d Fix bad modifier parameter usage. 2023-07-10 11:52:27 +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