Commit Graph

4782 Commits

Author SHA1 Message Date
ganfra
960945de34 Timeline : avoid crash when destroying 2023-12-12 15:36:27 +01:00
ganfra
ba13164b41 Poll history : branch edit flow 2023-12-12 15:35:52 +01:00
ganfra
e5080765b2 Poll history : use localazy strings 2023-12-12 14:36:07 +01:00
ganfra
424e9e266e Poll history : use pager to keep scrolling state when switching filter 2023-12-12 14:24:41 +01:00
ganfra
99e3ac7c63 Timeline: exposes simple request for backward pagination 2023-12-12 14:23:50 +01:00
ganfra
6203459fa5 PollHistory : use the new PollHistoryState in the view 2023-12-06 19:28:37 +01:00
ganfra
e263ea27a0 Theme : introduce SegmentedButton 2023-12-06 19:28:04 +01:00
ganfra
79d59eb5de PollHistory : simplify so we only have one Node. Also enrich PollHistoryState. 2023-12-06 19:27:50 +01:00
ganfra
67ec58a4f4 Polls: share logic around PollContent 2023-12-05 14:06:59 +01:00
Marco Romano
61b623041b WIP: Poll History 2023-12-01 09:28:07 +01:00
renovate[bot]
233e6d8de2 Update dependency io.element.android:compound-android to v0.0.2 (#1908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 09:22:34 +01:00
ganfra
270c4612f5 Merge pull request #1920 from vector-im/feature/fga/dynamic_room_list_incremental_load
RoomList: introduce incremental loading to improve performances.
2023-11-30 19:51:13 +01:00
ganfra
2a10dd20b3 Add changelog #1920 2023-11-30 18:13:11 +01:00
Jorge Martin Espinosa
48ef9cda19 Remove warnings in the compose compiler reports configuration gradle code (#1932) 2023-11-30 11:42:26 +01:00
renovate[bot]
482728425d Update dependency gradle to v8.5 (#1924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 10:59:42 +01:00
Jorge Martin Espinosa
0a91184e4a 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
renovate[bot]
b94ee9fb0a Update dependency androidx.compose.material3:material3 to v1.2.0-alpha12 (#1929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 10:30:13 +01:00
renovate[bot]
5bff4677fb Update dependency org.matrix.rustcomponents:sdk-android to v0.1.72 (#1928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 17:43:07 +00:00
Benoit Marty
605b971c0c Merge pull request #1926 from vector-im/renovate/actions-setup-java-4.x
Update actions/setup-java action to v4
2023-11-29 17:59:12 +01:00
renovate[bot]
4a95a49843 Update actions/setup-java action to v4 2023-11-29 16:04:07 +00:00
renovate[bot]
8953b9cdae Update wysiwyg to v2.20.0 (#1921)
* Update wysiwyg to v2.20.0

* Workaround line height for composer, remove unused test code.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-11-29 16:04:40 +01:00
Jorge Martin Espinosa
c739ebc0ee 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
c697baf585 Use the right avatar for DMs in DM rooms (#1917) 2023-11-29 13:06:48 +01:00
ganfra
a324e18982 RoomList: introduce incremental loading to improve performances. 2023-11-29 11:53:15 +01:00
Marco Romano
c6fdc79f83 Upgrade to rust sdk 0.1.71 (#1905)
https://github.com/matrix-org/matrix-rust-components-kotlin/releases/tag/sdk-v0.1.71

There are breaking changes as specified in: https://github.com/vector-im/element-x-android/issues/1898 plus the one related to the poll history feature.
2023-11-29 10:34:51 +01:00
Marco Romano
c69d610b6c 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
bbc4d18a9d 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
d0cc8c0b2f Merge pull request #1910 from vector-im/feature/bma/fixRRscroll
Fix issues around read receipt
2023-11-28 17:45:38 +01:00
jonnyandrew
ecc44f3d13 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
eed4278ffe Move TimelineItemRow to its own file. 2023-11-28 15:21:02 +01:00
ElementBot
4a7876b7d2 Update screenshots 2023-11-28 14:20:36 +00:00
Benoit Marty
d5a1a43900 Fix code quality. 2023-11-28 15:12:40 +01:00
Benoit Marty
16f5705dff Compute aggregatedReadReceipts in a background worker. 2023-11-28 15:10:42 +01:00
Benoit Marty
60332bf64a Reduce bottom padding for state event 2023-11-28 15:00:38 +01:00
Benoit Marty
76232746e1 Add read receipt on StateEvents 2023-11-28 14:46:15 +01:00
renovate[bot]
b409221d35 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
f7459b4b57 Add read receipt on GroupedEvents 2023-11-28 14:26:37 +01:00
jonnyandrew
7926995c24 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
3ff23bd6d8 Use List constructor. 2023-11-28 14:17:57 +01:00
ganfra
f4f56a71ee 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
4175bb8616 Add preview for expanded state of GroupedEvents. 2023-11-28 11:56:21 +01:00
Benoit Marty
4b44b99350 Create TimelineItemGroupedEventsRowContent to be able to preview the expanded state. 2023-11-28 11:50:45 +01:00
Benoit Marty
28be3af758 Create Composable TimelineItemGroupedEventRow and extract to its own dedicated file. 2023-11-28 11:45:51 +01:00
Benoit Marty
c24925b716 Create Composable TimelineItemGroupedEventRow and extract to its own dedicated file. 2023-11-28 11:45:28 +01:00
Benoit Marty
062cba7a25 Let the Read Receipt list be scrollable. 2023-11-28 11:23:17 +01:00
Jorge Martin Espinosa
4ca75a3bac 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
8ae8853c15 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
a62d1b297f Merge pull request #1903 from vector-im/feature/bma/kotlinDuration
Kotlin duration and MimeTypes
2023-11-28 09:45:31 +01:00
Marco Romano
c33c0f583c 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
4f32299280 Use MimeTypes object instead of hard-coded strings. 2023-11-27 21:58:58 +01:00