Benoit Marty
18bbc8ca24
Expand group when clicking on grouped read receipt.
11 months ago
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>
11 months ago
Benoit Marty
6bb296240b
Fix chevron orientation according to design and animate the change.
11 months ago
Benoit Marty
813983c452
Log errors
11 months ago
ganfra
ab2dc827f0
Creates a startDM method so we can reuse it for the new flow
11 months ago
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
11 months ago
Jorge Martin Espinosa
8b7c53262f
Use the right avatar for DMs in DM rooms ( #1917 )
11 months ago
Marco Romano
6ea26dd6c4
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.
11 months ago
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 .
11 months ago
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>
11 months ago
jonnyandrew
4e43a93dde
Confirm back navigation when editing a poll only if the poll was changed ( #1886 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
Benoit Marty
bc60abd30b
Move TimelineItemRow to its own file.
11 months ago
Benoit Marty
14b504b715
Fix code quality.
11 months ago
Benoit Marty
40c91a8196
Compute aggregatedReadReceipts in a background worker.
11 months ago
Benoit Marty
ea3bb87bac
Reduce bottom padding for state event
11 months ago
Benoit Marty
fe10c970dc
Add read receipt on StateEvents
11 months ago
Benoit Marty
682c681fb2
Add read receipt on GroupedEvents
11 months ago
jonnyandrew
a0548dfdc4
Add option to delete a poll while editing the poll ( #1895 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
Benoit Marty
393feb7215
Use List constructor.
11 months ago
Benoit Marty
f95093821e
Add preview for expanded state of GroupedEvents.
11 months ago
Benoit Marty
71dd7a1ed2
Create TimelineItemGroupedEventsRowContent to be able to preview the expanded state.
11 months ago
Benoit Marty
c9a5eb63ae
Create Composable TimelineItemGroupedEventRow and extract to its own dedicated file.
11 months ago
Benoit Marty
b824f58570
Create Composable TimelineItemGroupedEventRow and extract to its own dedicated file.
11 months ago
Benoit Marty
446422af3f
Let the Read Receipt list be scrollable.
11 months ago
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>
11 months ago
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()`.
11 months ago
Benoit Marty
1df3817808
Use MimeTypes object instead of hard-coded strings.
11 months ago
Benoit Marty
9059126b2e
Use `kotlin.time.Duration` instead of `java.time.Duration`. Also use `Duration` in `TimelineItemVideoContent`, like in `TimelineItemAudioContent` and `TimelineItemVoiceContent`
11 months ago
jonnyandrew
583131de6a
Display edited poll indicator in the timeline
11 months ago
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>
11 months ago
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>
11 months ago
Benoit Marty
40d777087f
Migrate AdvancedSettingsView items from `PreferenceSwitch` to `ListItem`.
11 months ago
Benoit Marty
133d8a2658
Chnage wording of developer mode. #1868
11 months ago
Benoit Marty
93ec54b4ce
Test the request which has been done.
11 months ago
ganfra
02e65e4eac
Timeline : Scroll to end of timeline when sending a new message #1877
11 months ago
Benoit Marty
628d02beb1
Add test for DefaultBugReporter
11 months ago
Benoit Marty
4ca6ed37d8
Cleanup DefaultBugReporter before testing it.
11 months ago
Benoit Marty
b7aea75815
Add test for VectorUncaughtExceptionHandler
11 months ago
Benoit Marty
27daadd6ca
Add test for TimelineItemContentMessageFactory
11 months ago
Benoit Marty
68463c2e0c
Remove `UnknownMessageType`, should be handled by `OtherMessageType` now.
11 months ago
Benoit Marty
19883cd3bf
Move test to `impl` sub package and optimize imports.
11 months ago
Benoit Marty
3e598ac2c1
Create TimelineItemEventRowWithRRPreview to preview read receipts and send state in a timeline.
...
Also introduce ATimelineItemEventRow.
12 months ago
Benoit Marty
5e5d0bf76c
Improve TimelineItemEventRowWithReplyPreview and coverage for `fun attachmentThumbnailInfoForInReplyTo`
12 months ago
Benoit Marty
3aec7b74e9
Simplify: TimelineItemEventRowWithReplyPreview. Short reply text and remove reactions.
12 months ago
Benoit Marty
ab5e9bbe67
Split previews of TimelineItemEventRow to multiple files, to improve performance of the rendering in the IDE, and before adding more previews. No code change.
12 months ago
Jorge Martin Espinosa
d413aa1ee3
Add plain text representation of messages ( #1850 )
...
* Add plain text representation of messages.
This is used in the room list as the last message in a room, in the message summary when a message is selected, in the 'replying to' block, in the 'replied to' block in a message in the timeline, and in notifications.
12 months ago
ganfra
0fb4eb005c
RoomList : rework a bit the api and make usage of entriesWithDynamicAdapters
12 months ago
Benoit Marty
ae0c3edd24
Remove default value for lambda.
...
We enforce a value to be provided and it's better for code coverage.
12 months ago
Marco Romano
bc5c02c1cb
Show poll question in timeline replies ( #1857 )
...
Forgot to add this bit to: https://github.com/vector-im/element-x-android/pull/1848
12 months ago
Benoit Marty
9520e35374
Remove default value for lambda.
...
We enforce a value to be provided and it's better for code code coverage.
12 months ago