Marco Romano
f186a85ed0
Rename params in NodeFactories for clarity ( #1916 )
...
- `context` is now `buildContext` to reflect that it's of type `BuildContext` (and not an android `Context`).
- `NODE` generic type param is now `N` to stick with Java convention: https://docs.oracle.com/javase/tutorial/java/generics/types.html .
2023-11-29 10:01:07 +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
jonnyandrew
4e43a93dde
Confirm back navigation when editing a poll only if the poll was changed ( #1886 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-28 15:33:49 +00:00
Benoit Marty
bc60abd30b
Move TimelineItemRow to its own file.
2023-11-28 15:21:02 +01:00
ElementBot
08887e6e1c
Update screenshots
2023-11-28 14:20:36 +00: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
renovate[bot]
c1098ab91b
Update wysiwyg to v2.19.0 ( #1909 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 14:42:01 +01:00
Benoit Marty
682c681fb2
Add read receipt on GroupedEvents
2023-11-28 14:26:37 +01:00
jonnyandrew
a0548dfdc4
Add option to delete a poll while editing the poll ( #1895 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-28 13:25:18 +00: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
Jorge Martin Espinosa
4de256b69c
Add special notifications for mentions ( #1846 )
...
* Add special notifications for mentions
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-28 10:41:50 +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
Benoit Marty
b8436fc77e
Merge pull request #1899 from vector-im/feature/bma/testNotificationFactory
...
Test notification factory
2023-11-27 18:22:19 +01:00
Benoit Marty
22aa559728
Merge pull request #1894 from vector-im/renovate/gradle-gradle-build-action-2.x
...
Update gradle/gradle-build-action action to v2.10.0
2023-11-27 17:42:55 +01:00
Benoit Marty
586e93c65b
Merge pull request #1891 from vector-im/renovate/io.gitlab.arturbosch.detekt-1.x
...
Update plugin detekt to v1.23.4
2023-11-27 17:42:20 +01:00
Benoit Marty
9afba239bb
Fix: This number should be separated by underscores in order to increase readability
2023-11-27 17:17:10 +01:00
Benoit Marty
886627d633
Increase Global minimum code coverage boundaries.
2023-11-27 17:13:59 +01:00
Benoit Marty
a02c5c2b44
Add test for DefaultNotificationDrawerManager
2023-11-27 16:44:47 +01:00
Benoit Marty
b61b45dd0c
NotificationEventPersistence is now an interface, to allow in-memory implementation.
2023-11-27 16:44:47 +01:00
Benoit Marty
a09fa1c5ad
Add test for NotificationEventPersistence
2023-11-27 16:44:47 +01:00
Benoit Marty
73ebffab2e
Add coverage for NotificationBitmapLoader
2023-11-27 16:44:47 +01:00
Benoit Marty
7cb6740dd6
Remove useless try catch.
2023-11-27 16:43:58 +01:00
Benoit Marty
abf1de7f42
Fix issue in RoomGroupMessageCreator
2023-11-27 16:43:58 +01:00
Benoit Marty
435827af28
Add test for RoomGroupMessageCreator
2023-11-27 16:43:58 +01:00
Benoit Marty
5a979e6237
Add test for NotificationCreator
2023-11-27 16:43:58 +01:00
Benoit Marty
1fdf8dad1f
Rename NotificationFactory to NotificationCreator to fix the name clash.
2023-11-27 16:43:58 +01:00
Benoit Marty
3b6c92943c
Remove dead code.
2023-11-27 16:43:58 +01:00
renovate[bot]
abddf3c3da
Update plugin dependencycheck to v9.0.1 ( #1890 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 10:04:20 +00:00
renovate[bot]
2ba771dcb7
Update gradle/gradle-build-action action to v2.10.0
2023-11-27 09:30:38 +00: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
renovate[bot]
298e5a6304
Update dependency org.jsoup:jsoup to v1.17.1 ( #1893 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 07:57:29 +01:00
renovate[bot]
272edaf458
Update dependency app.cash.molecule:molecule-runtime to v1.3.1 ( #1889 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 07:55:10 +01:00
renovate[bot]
031ff296e3
Update plugin detekt to v1.23.4
2023-11-26 13:47:09 +00:00
Benoit Marty
8681cbb450
Merge pull request #1887 from vector-im/feature/bma/viewSource
...
Change wording for view source
2023-11-24 19:17:42 +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
ganfra
4e52244b86
Merge pull request #1885 from vector-im/feature/fga/room_list_all_not_left_filter
...
Fix see room in room list after leaving
2023-11-24 17:45:24 +01:00