Commit graph

4424 commits

Author SHA1 Message Date
ganfra
d330180f5d RoomNodeView: remove contentWindowInsets=systemBars as it's default one 2023-07-10 15:33:32 +02:00
ganfra
12a22c5423 LoadingRoomNodeView: ConsumeWindowInsets... 2023-07-10 15:13:32 +02:00
Benoit Marty
cc43f8a1d2 Add version name as label. 2023-07-10 14:45:57 +02:00
Benoit Marty
9cd267b7f7 Add userId and deviceId to rageshake data. 2023-07-10 14:43:03 +02:00
renovate[bot]
89b14b4868
Update dependency gradle to v8.2.1 2023-07-10 12:40:34 +00:00
Jorge Martin Espinosa
a0c1f2c18a
Display room invitation notification (#735)
* Notifications: Add some extra mappings so we keep the original contents and can pass it later to an UI layer

* Fix notifications not appearing for a room if the app was on that room when it went to background.

* Modernize how we create spannable strings for notifications, remove unneeded dependency

* Remove actions from invite notifications temporarily

* Add `NotificationDrawerManager` interface to be able to clear membership notifications when accepting or rejecting a room invite

* Fix tests

* Add comment to clarify some weird behaviours

* Address review comments

* Set circle shape for `largeBitmap` in message notifications

* Fix no avatar in DM rooms

* Fix rebase issues

* Add invite list pending intent:

- Refactor pending intents.
- Make `DeepLinkData` a sealed interface.
- Fix and add tests.

* Rename `navigate__` functions to `attach__`

* Add an extra test case for the `InviteList` deep link

* Address most review comments.

* Fix rebase issue

* Add fallback notification type, allow dismissing invite notifications.

Fallback notifications have a different underlying type and can be dismissed at will.

* Fix tests
2023-07-10 14:34:58 +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
ganfra
fed958bc28 Update rust sdk to 0.1.29 (new back pagination status api) 2023-07-07 17:37:46 +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
ganfra
577eb7ae9f LoadingRoomNode : fix windowInsets... 2023-07-07 14:16:52 +02:00