Commit graph

802 commits

Author SHA1 Message Date
Benoit Marty
6582a3efae
Merge pull request #1992 from vector-im/feature/bma/notificationUserAvatar
Render images in notification
2023-12-11 17:35:05 +01:00
Benoit Marty
5d064f0cd9
Merge pull request #1981 from vector-im/feature/bma/noAvatarInDM
Hide sender info in direct rooms, and add a timeline preview for DM
2023-12-11 14:59:52 +01:00
Benoit Marty
419a162f77 Extract MxcTools and add test. 2023-12-11 14:53:02 +01:00
Benoit Marty
39cca2ce09 Sync localazy using fixed script 2023-12-08 19:24:35 +01:00
Benoit Marty
09cca9ab26 Hide sender info in direct rooms, and add a timeline preview for DM (#1979) 2023-12-08 12:05:25 +01:00
Benoit Marty
573dc2a7af Ensure user display name is clipped to the Text area (#1950) 2023-12-05 17:20:58 +01:00
Benoit Marty
b98351ec36
Merge pull request #1952 from vector-im/sync-localazy
Sync Strings
2023-12-05 13:47:44 +01:00
Benoit Marty
24d3981261 Run the script again. 2023-12-05 12:25:59 +01:00
Benoit Marty
5af1a786e5 Sync string again after removing problematic translations from Localazy. 2023-12-04 18:03:21 +01:00
Benoit Marty
abd90acd8c Add Konsist test to use isNull() instead of isEqualTo(null), and fix existing issue. 2023-12-04 15:30:57 +01:00
Benoit Marty
ab8e4f1422 Add Konsist test to use isTrue() instead of isEqualTo(true), and fix existing issues. 2023-12-04 15:23:36 +01:00
Benoit Marty
b2d9b41946 Add Konsist test to use isFalse() instead of isEqualTo(false), and fix existing issues. 2023-12-04 15:21:50 +01:00
Benoit Marty
fa590202c3 Add Konsist test to check that assertThat is imported, and fix existing issues. 2023-12-04 15:18:01 +01:00
bmarty
fced91addb Sync Strings from Localazy 2023-12-04 00:09:56 +00:00
Benoit Marty
b7361f2b48
Merge pull request #1925 from vector-im/feature/bma/testAndroidMediaPreProcessor
Feature/bma/test android media pre processor
2023-12-01 13:53:55 +01:00
Benoit Marty
fa3422f858
Merge pull request #1934 from vector-im/feature/bma/timelineFixes
Timeline fixes
2023-12-01 09:37:41 +01:00
Benoit Marty
5d92919611 Fix compilation warning 2023-11-30 13:55:55 +01:00
Benoit Marty
ef530debc0 Read Receipt Row should not swipe when user swipe to reply to a message. 2023-11-30 11:08:45 +01:00
Benoit Marty
18bbc8ca24 Expand group when clicking on grouped read receipt. 2023-11-30 11:00:17 +01:00
Jorge Martin Espinosa
2e8d5ac86a
Set a default power level to join calls in room (#1927)
* Set a default power level to join calls.

Also, create new rooms taking this power level into account.

* Modify test to make sure we display the disabled state even when there is an ongoing call

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-30 09:47:48 +00:00
Benoit Marty
6bb296240b Fix chevron orientation according to design and animate the change. 2023-11-30 10:07:33 +01:00
Benoit Marty
813983c452 Log errors 2023-11-29 17:02:38 +01:00
Jorge Martin Espinosa
ba4d3a70c7
Try to make all collections used in Compose code immutable (#1922)
* Try to make all collections used in Compose code immutable.

Mark sealed interfaces as `@Immutable` too

* Add gradle code to check the compose compiler reports

* Fix some more unstable classes
2023-11-29 15:02:08 +00:00
Jorge Martin Espinosa
8b7c53262f
Use the right avatar for DMs in DM rooms (#1917) 2023-11-29 13:06:48 +01:00
Jorge Martin Espinosa
ab8402a4dc
Open room member avatar in a media viewer (#1911)
* Open room member avatar in viewer.

The `MediaViewer` was extracted to its own library module.

* Update screenshots

* Restore KSP processor in `:libraries:mediaviewer:api`, this should generate Showkase components again.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-28 17:39:41 +00:00
Benoit Marty
76d6d1f12b
Merge pull request #1910 from vector-im/feature/bma/fixRRscroll
Fix issues around read receipt
2023-11-28 17:45:38 +01:00
Benoit Marty
bc60abd30b Move TimelineItemRow to its own file. 2023-11-28 15:21:02 +01:00
Benoit Marty
14b504b715 Fix code quality. 2023-11-28 15:12:40 +01:00
Benoit Marty
40c91a8196 Compute aggregatedReadReceipts in a background worker. 2023-11-28 15:10:42 +01:00
Benoit Marty
ea3bb87bac Reduce bottom padding for state event 2023-11-28 15:00:38 +01:00
Benoit Marty
fe10c970dc Add read receipt on StateEvents 2023-11-28 14:46:15 +01:00
Benoit Marty
682c681fb2 Add read receipt on GroupedEvents 2023-11-28 14:26:37 +01:00
Benoit Marty
393feb7215 Use List constructor. 2023-11-28 14:17:57 +01:00
ganfra
7bc0b29603
Merge pull request #1879 from vector-im/feature/fga/timeline_always_scroll_send
Timeline : Scroll to end of timeline when sending a new message #1877
2023-11-28 14:06:46 +01:00
Benoit Marty
f95093821e Add preview for expanded state of GroupedEvents. 2023-11-28 11:56:21 +01:00
Benoit Marty
71dd7a1ed2 Create TimelineItemGroupedEventsRowContent to be able to preview the expanded state. 2023-11-28 11:50:45 +01:00
Benoit Marty
c9a5eb63ae Create Composable TimelineItemGroupedEventRow and extract to its own dedicated file. 2023-11-28 11:45:51 +01:00
Benoit Marty
b824f58570 Create Composable TimelineItemGroupedEventRow and extract to its own dedicated file. 2023-11-28 11:45:28 +01:00
Benoit Marty
446422af3f Let the Read Receipt list be scrollable. 2023-11-28 11:23:17 +01:00
ElementBot
12b3196471
Sync Strings (#1892)
* Sync Strings from Localazy

---------

Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: jonnyandrew <jonnya@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-11-28 09:52:23 +01:00
Benoit Marty
02fa7bb441
Merge pull request #1903 from vector-im/feature/bma/kotlinDuration
Kotlin duration and MimeTypes
2023-11-28 09:45:31 +01:00
Marco Romano
7bdb310ceb
Merge TimelineItemEventRow's textForInReplyTo and attachmentThumbnailInfoForInReplyTo functions (#1859)
The flow is somewhat misleading so its logic has been merged into `InReplyToDetails.metadata()`.
2023-11-27 22:13:19 +00:00
Benoit Marty
1df3817808 Use MimeTypes object instead of hard-coded strings. 2023-11-27 21:58:58 +01:00
Benoit Marty
9059126b2e Use kotlin.time.Duration instead of java.time.Duration. Also use Duration in TimelineItemVideoContent, like in TimelineItemAudioContent and TimelineItemVoiceContent 2023-11-27 21:58:58 +01:00
Jorge Martin Espinosa
087d2728d5
Extract compound tokens and theming to compound-android library (#1888)
* Replace tokens & icons with the external Compound ones

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-27 10:30:07 +01:00
jonnyandrew
8fcec4a006
Allow polls to be edited (#1869)
Polls can be edited if they do not have any votes

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-24 16:47:58 +00:00
Benoit Marty
dcf894e3ee
Merge pull request #1866 from vector-im/feature/bma/morePreview
More preview on TimelineItemEventRow
2023-11-24 17:21:53 +01:00
ganfra
02e65e4eac Timeline : Scroll to end of timeline when sending a new message #1877 2023-11-24 16:31:20 +01:00
Benoit Marty
05ba424e75
Merge pull request #1862 from vector-im/feature/bma/moreTests
Remove lambda default value
2023-11-24 11:00:34 +01:00
Benoit Marty
27daadd6ca Add test for TimelineItemContentMessageFactory 2023-11-23 20:18:53 +01:00