Commit Graph

843 Commits

Author SHA1 Message Date
Benoit Marty a7c5e620a4 Use icon from library and move and rename retry.xml to the library.
Also fix contentDescription for pause button.
2023-12-20 17:33:49 +01:00
Benoit Marty f697d62831 Use Thread icon from Compound and delete ic_thread_decoration 2023-12-20 17:33:49 +01:00
Benoit Marty c18959f0a0 Use VideoCallSolid and also delete local ic_video_call.xml icon. 2023-12-20 17:33:49 +01:00
Benoit Marty fa600357c4 Fix reaction offset in DM and follow design #2076 2023-12-20 16:00:09 +01:00
Jorge Martin Espinosa 9ec67e3cbb Rework timestamp positioning (#2075)
* Rework timestamp positioning

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-20 13:37:28 +00:00
ganfra 921e9d2ca4 Merge pull request #2059 from element-hq/feature/fga/appyx_overlay
Appyx Overlay
2023-12-20 11:17:23 +01:00
Benoit Marty baa3bfc0d1 Merge pull request #1975 from element-hq/feature/bma/extractForward
Extract RoomList select to its own module
2023-12-19 13:32:41 +01:00
ganfra 78bd6915c7 BackstackParentNode now become BaseFlowNode and adds Overlay navModel into it. 2023-12-19 12:55:14 +01:00
Benoit Marty 37a0982a67 Merge pull request #2050 from element-hq/feature/bma/bottomSheetAvatar
Message bottom sheet: always show user avatar
2023-12-18 22:32:44 +01:00
Benoit Marty cde8e0df25 Merge pull request #2040 from element-hq/feature/bma/fixLinkify
fix linkify
2023-12-18 14:51:14 +01:00
Benoit Marty d0324323b9 Always show user avatar in message action sheet #2032 2023-12-18 14:36:44 +01:00
bmarty e60508a631 Sync Strings from Localazy 2023-12-18 00:10:14 +00:00
Benoit Marty 5d4eaae933 Ensure test does not fail. 2023-12-15 20:07:11 +01:00
Benoit Marty ff2fc7ff3a Also linkify emails. 2023-12-15 20:07:11 +01:00
Benoit Marty d800b225b6 Consider the returned value of LinkifyCompat.addLinks 2023-12-15 20:07:11 +01:00
Benoit Marty 74729fe534 Apply the same fix for emotes, notices and other message type. 2023-12-15 20:07:11 +01:00
Benoit Marty 70abf6226f Use buildSpannedString 2023-12-15 20:07:11 +01:00
Benoit Marty 94e7b59e37 Format file. 2023-12-15 20:07:11 +01:00
Benoit Marty 7d55116347 Ensure link are clickable on simple body (#2038) 2023-12-15 20:07:11 +01:00
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>
2023-12-15 13:26:20 +01:00
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.
2023-12-15 09:17:34 +01:00
ganfra 9bdb388d9e MessagesPresenter : remove useless test 2023-12-14 19:00:32 +01:00
ganfra 5dfd64a23b Fix androidTest compilation 2023-12-14 18:33:59 +01:00
Benoit Marty ecf974334e Remove duplicated preview, but add editable case (isMine must be true) 2023-12-14 16:58:42 +01:00
Benoit Marty 664e8b6d5b Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-14 16:58:23 +01:00
Benoit Marty e725747ea3 Merge pull request #2015 from element-hq/feature/bma/asyncMedia
ReadReceipt
2023-12-14 16:03:09 +01:00
Benoit Marty ab3ac137fb Cleanup: Inline val for code clarity / compact. 2023-12-14 15:25:45 +01:00
ganfra 5ac3f273ea Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-14 15:17:13 +01:00
ganfra bb7123afbd Fix tests and warnings 2023-12-14 13:13:11 +01:00
Jorge Martin Espinosa 2492584786 Handle tapping on user mentions (#2021) 2023-12-14 11:56:59 +00:00
ganfra 5d37c66caf Merge pull request #1897 from element-hq/jonny/timeline-poll-edited
Display edited indicator for polls in the timeline
2023-12-14 08:13:11 +01:00
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>
2023-12-13 18:09:53 +01:00
Benoit Marty 36ccc1ccbd Fix API break regarding ReceiptType 2023-12-13 18:02:06 +01:00
ganfra 863d156e4d Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-13 17:22:55 +01:00
ganfra 6378f6cffe Poll history : add tests and fix others 2023-12-13 16:20:01 +01:00
Benoit Marty 6582a3efae Merge pull request #1992 from vector-im/feature/bma/notificationUserAvatar
Render images in notification
2023-12-11 17:35:05 +01:00
Benoit Marty 5d064f0cd9 Merge pull request #1981 from vector-im/feature/bma/noAvatarInDM
Hide sender info in direct rooms, and add a timeline preview for DM
2023-12-11 14:59:52 +01:00
Benoit Marty 419a162f77 Extract MxcTools and add test. 2023-12-11 14:53:02 +01:00
Benoit Marty 39cca2ce09 Sync localazy using fixed script 2023-12-08 19:24:35 +01:00
Benoit Marty 09cca9ab26 Hide sender info in direct rooms, and add a timeline preview for DM (#1979) 2023-12-08 12:05:25 +01:00
Benoit Marty 411d8100d4 Remove unused client. 2023-12-08 08:59:15 +01:00
Benoit Marty 5e5662f194 Extract RoomList select to its own module 2023-12-07 18:36:15 +01:00
Benoit Marty 573dc2a7af Ensure user display name is clipped to the Text area (#1950) 2023-12-05 17:20:58 +01:00
ganfra 4a2cbb1ed4 Polls: share logic around PollContent 2023-12-05 14:06:59 +01:00
Benoit Marty b98351ec36 Merge pull request #1952 from vector-im/sync-localazy
Sync Strings
2023-12-05 13:47:44 +01:00
Benoit Marty 24d3981261 Run the script again. 2023-12-05 12:25:59 +01:00
Benoit Marty 5af1a786e5 Sync string again after removing problematic translations from Localazy. 2023-12-04 18:03:21 +01:00
Benoit Marty e4e10cc253 Fix compilation issue after merge from GH... 2023-12-04 17:34:55 +01:00
Benoit Marty f6ec76b5ef Merge branch 'develop' into jonny/timeline-poll-edited 2023-12-04 16:01:09 +01:00
Benoit Marty abd90acd8c Add Konsist test to use isNull() instead of isEqualTo(null), and fix existing issue. 2023-12-04 15:30:57 +01:00