Commit Graph

2548 Commits

Author SHA1 Message Date
Benoit Marty
da0b4d573b Space must be above the item. 2023-07-10 11:52:27 +02:00
Benoit Marty
73074b3a68 Add missing content when canReply is false. 2023-07-10 11:52:27 +02:00
Benoit Marty
1d6bfd19f1 Improve animation of Swipe to reply: replace usage of SwipeToDismiss by Modifier.draggable 2023-07-10 11:52:27 +02:00
Benoit Marty
6e65b7db86 Fix bad modifier parameter usage. 2023-07-10 11:52:27 +02: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
10d5ada93d Remove extra syncService.startSync() call (#830) 2023-07-10 10:45:02 +02:00
Chris Smith
f059970db1 Merge pull request #802 from vector-im/feature/cjs/stop-editing-dms 2023-07-10 09:14:43 +01:00
Jorge Martin Espinosa
ac0b799b6e Make Showkase browser work in the nightly versions (#829) 2023-07-10 10:10:22 +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
Benoit Marty
84b2415226 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
734d2b71f7 Merge pull request #823 from vector-im/feature/bma/snackbarFix
Snackbar fix
2023-07-07 22:04:37 +02: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
Benoit Marty
50aa4946d9 Fix test. 2023-07-07 16:22:42 +02:00
Benoit Marty
15c42ff9c3 Cleanup 2023-07-07 16:15:59 +02:00
Benoit Marty
be73fc7ba2 Fix Snackbar colors. 2023-07-07 15:39:43 +02:00
Benoit Marty
f8ff8d5e09 Use the CoroutineScope from the LaunchedEffect. 2023-07-07 15:35:16 +02:00
Benoit Marty
3e9396e27c Show Snackbar once the verification is finish in the correct screen (#812) 2023-07-07 15:34:15 +02:00
jonnyandrew
850781444b 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
54d2a881b8 ignore typo. 2023-07-07 15:14:53 +02:00
Chris Smith
4f014fcde2 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
0f8cf50244 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
2b901f2678 Merge pull request #817 from vector-im/misc/cjs/drop-coverage-threshold 2023-07-07 14:08:39 +01:00
Chris Smith
7b6d98c7d8 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
2347c815a7 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]
d12b6ad1a5 Update dependency io.nlopez.compose.rules:detekt to v0.1.12 2023-07-07 11:26:39 +00:00
Chris Smith
e0d5096afb Merge pull request #797 from vector-im/feature/cjs/hide-self-in-search 2023-07-07 12:26:05 +01:00
Chris Smith
9e075e9647 Rename var 2023-07-07 12:04:06 +01:00
Chris Smith
a00e6fbb33 Introduce MatrixClient.isMe for checking sessionID 2023-07-07 12:03:43 +01:00
ganfra
3922736083 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
da27970116 Merge branch 'develop' into feature/fga/waiting_ss_room 2023-07-07 11:34:45 +02:00
ganfra
f780e71026 Await room: add tests on LoadingRoomStateFlowFactory 2023-07-07 11:32:23 +02:00
ganfra
1907745b1f Room: add extension method awaitAllRoomsAreLoaded with Timeout 2023-07-07 10:51:43 +02:00
ganfra
b70fbb24a6 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
17a0c7b865 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
df8f447e23 [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
f98427a41a Force the default locale to the selected one for screenshot tests (#805) 2023-07-07 10:06:20 +02:00
Benoit Marty
b43bd37419 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
3209025250 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
ec4855cfdf Room : Fix tests as there is less recomposition 2023-07-06 19:58:06 +02:00
ganfra
b1ebaf17f9 Matrix rust sdk: update to 0.1.28 2023-07-06 18:56:11 +02:00
Jorge Martin Espinosa
827c6e25ba 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
b2232fdd37 Merge branch 'develop' into feature/fga/app_nav_node_fixes 2023-07-06 18:37:02 +02:00
Benoit Marty
4e8725d390 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
05fd196e66 Update screenshots 2023-07-06 18:22:48 +02:00
Benoit Marty
fb16ef4c02 Add missing screenshot for AttachmentSourcePickerMenu. 2023-07-06 18:22:48 +02:00
ganfra
5c41f0188a Node: rework LoggedInFlowNode analytics pop 2023-07-06 18:12:45 +02:00
ganfra
b72313bc84 Nodes: rework RootFlowNode with cache service 2023-07-06 18:08:29 +02:00
Benoit Marty
a2e04f7dc2 Use a val for the StateFlow, and expose a StateFlow. 2023-07-06 17:25:02 +02:00
Benoit Marty
45df9f113c Merge pull request #798 from vector-im/kittykat-patch-2
Update template for user story
2023-07-06 16:23:56 +02:00