Benoit Marty
5d4eaae933
Ensure test does not fail.
11 months ago
Benoit Marty
ff2fc7ff3a
Also linkify emails.
11 months ago
Benoit Marty
d800b225b6
Consider the returned value of `LinkifyCompat.addLinks`
11 months ago
Benoit Marty
74729fe534
Apply the same fix for emotes, notices and other message type.
11 months ago
Benoit Marty
70abf6226f
Use `buildSpannedString`
11 months ago
Benoit Marty
94e7b59e37
Format file.
11 months ago
Benoit Marty
7d55116347
Ensure link are clickable on simple body ( #2038 )
11 months ago
ganfra
f961d81eb0
Timeline : uniqueId exposed as String directly from matrix module.
11 months ago
Jorge Martin Espinosa
7ed460b282
Fix scaling of timeline images ( #1941 )
...
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Benoit Marty <benoitm@matrix.org>
11 months ago
Benoit Marty
788b445e99
Scroll to bottom if the new event is from me, even if sent from another device #1877 .
...
This fixes the issue that the timeline does not scroll when sending an attachment to the room, since there is no local echo (yet) for such event.
11 months ago
ganfra
9bdb388d9e
MessagesPresenter : remove useless test
11 months ago
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