ganfra
5dfd64a23b
Fix androidTest compilation
11 months ago
Benoit Marty
ecf974334e
Remove duplicated preview, but add editable case (isMine must be true)
11 months ago
Benoit Marty
ab3ac137fb
Cleanup: Inline val for code clarity / compact.
11 months ago
ganfra
bb7123afbd
Fix tests and warnings
11 months ago
Jorge Martin Espinosa
2492584786
Handle tapping on user mentions ( #2021 )
11 months ago
Jorge Martin Espinosa
1e86d8279b
Use RTE `TextView` for timeline text messages, add mention pills to messages ( #1990 )
...
* Add `formattedBody` to `TimelineItemTextBasedContent`.
This is pre-computed when timeline events are being mapped from the Rust SDK.
* Update `HtmlConverterProvider` styles.
* Improve `MentionSpan` to add missing `@` or `#` if needed
* Replace `HtmlDocument` with the `TextView` based component
* Improve extra padding calculation for timestamp by rounding the float offset result instead of truncating it.
* Remove composer line height workaround
* Use `ElementRichTextEditorStyle` instead of `RichTextEditorDefaults` for the theming
* Use slightly different styles for composer and messages (top/bottom line height discrepancies, mostly).
* Add `formattedBody` to notice and emote events.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
Benoit Marty
36ccc1ccbd
Fix API break regarding ReceiptType
11 months ago
ganfra
6378f6cffe
Poll history : add tests and fix others
11 months ago
Benoit Marty
419a162f77
Extract MxcTools and add test.
11 months ago
Benoit Marty
39cca2ce09
Sync localazy using fixed script
11 months ago
Benoit Marty
09cca9ab26
Hide sender info in direct rooms, and add a timeline preview for DM ( #1979 )
11 months ago
Benoit Marty
411d8100d4
Remove unused client.
11 months ago
Benoit Marty
5e5662f194
Extract RoomList select to its own module
11 months ago
Benoit Marty
573dc2a7af
Ensure user display name is clipped to the Text area ( #1950 )
11 months ago
ganfra
4a2cbb1ed4
Polls: share logic around PollContent
11 months ago
Benoit Marty
24d3981261
Run the script again.
11 months ago
Benoit Marty
5af1a786e5
Sync string again after removing problematic translations from Localazy.
11 months ago
Benoit Marty
e4e10cc253
Fix compilation issue after merge from GH...
11 months ago
Benoit Marty
abd90acd8c
Add Konsist test to use isNull() instead of isEqualTo(null), and fix existing issue.
11 months ago
Benoit Marty
ab8e4f1422
Add Konsist test to use isTrue() instead of isEqualTo(true), and fix existing issues.
11 months ago
Benoit Marty
b2d9b41946
Add Konsist test to use isFalse() instead of isEqualTo(false), and fix existing issues.
11 months ago
Benoit Marty
fa590202c3
Add Konsist test to check that `assertThat` is imported, and fix existing issues.
11 months ago
bmarty
fced91addb
Sync Strings from Localazy
11 months ago
Benoit Marty
5d92919611
Fix compilation warning
11 months ago
Benoit Marty
ef530debc0
Read Receipt Row should not swipe when user swipe to reply to a message.
11 months ago
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
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
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
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
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