Commit graph

6729 commits

Author SHA1 Message Date
Benoit Marty
47fd2e85d4
Merge pull request #2764 from element-hq/renovate/telephoto
Update telephoto to v0.11.2
2024-04-30 11:04:14 +02:00
Benoit Marty
60c8d6e147
Merge pull request #2754 from element-hq/feature/valere/expected_utd_integration
Expected UTDs due to membership support
2024-04-30 11:03:36 +02:00
Benoit Marty
ae8ee8704f
Merge pull request #2759 from element-hq/feature/fga/permalink_timeline
Permalink timeline
2024-04-30 10:58:33 +02:00
ElementBot
cf9f2c0be4 Update screenshots 2024-04-30 08:01:47 +00:00
Benoit Marty
2c85d86c7a Add missing preview case. 2024-04-30 09:51:29 +02:00
Benoit Marty
207c4929aa Cleanup 2024-04-30 09:50:21 +02:00
Benoit Marty
80497a8b30 Remove unnecessary parenthesis 2024-04-30 09:47:20 +02:00
Valere
937f440df7 Update changelog 2024-04-30 09:34:02 +02:00
Valere
7d2e3d586f test for utd cause 2024-04-30 09:30:05 +02:00
Benoit Marty
906650b8d2 Fix tests after change on InReplyTo classes 2024-04-29 23:05:40 +02:00
Jorge Martin Espinosa
eaeebf9e75
User display name overflows in timeline messages (#2767)
* User display name overflows in timeline messages

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-29 17:26:58 +00:00
Jorge Martin Espinosa
d9c4c189af
Fix dependencyAnalysis plugin (#2766)
* Fix dependencyAnalysis plugin.

For some reason the plugin needs to be manually applied to all the libs, otherwise running `./gradlew buildHealth` does nothing.

Also, I had to add it to the convention plugins instead of using the `subprojects { ... }` approach because of the `:libraries:rustsdk` and `:libraries:textcomposer:lib` modules, which aren't proper Java/Kotlin modules.

* Add some extra checks to the dependency analysis plugin
2024-04-29 19:03:04 +02:00
Benoit Marty
544f1d43b3
Merge pull request #2757 from element-hq/feature/bma/fixDeadlock
Fix potential infinite loading at first startup.
2024-04-29 18:57:03 +02:00
Benoit Marty
65b61e5d09
Merge pull request #2765 from element-hq/sync-localazy
Sync Strings
2024-04-29 18:52:09 +02:00
Benoit Marty
4de8713b5f changelog 2024-04-29 17:57:02 +02:00
Benoit Marty
200b43246e Handle click on reply navigation. 2024-04-29 17:55:45 +02:00
Benoit Marty
a60779a28c Fix issue when retrieving Event detail. The wrong method was used. 2024-04-29 17:55:45 +02:00
ElementBot
e49d098172 Update screenshots 2024-04-29 15:50:42 +00:00
Benoit Marty
b7970b2db8 Map all replyTo data and add preview for loading and erorr case. 2024-04-29 17:41:25 +02:00
Benoit Marty
49dd4ad803 Ensure editMessage, enterSpecialMode and replyMessage are called on the current timeline. 2024-04-29 15:50:56 +02:00
Benoit Marty
ddb00a2c51 Add log in case of error. 2024-04-29 15:48:58 +02:00
Benoit Marty
0190d5da45 Remove unnecessary default value. 2024-04-29 14:28:04 +02:00
Benoit Marty
37d0b9c6ef No need to keep innerTimeline as a class member. 2024-04-29 14:27:07 +02:00
Benoit Marty
8eccd1b6e1 Code optimization. 2024-04-29 14:20:46 +02:00
Benoit Marty
a8d66ec7e2 Add documentation on new API. 2024-04-29 14:16:12 +02:00
Benoit Marty
1be2e183c8 Remove unused newTimelineById 2024-04-29 14:09:06 +02:00
Benoit Marty
4704b1229b Add test on focusRequestState for event TimelineEvents.FocusOnEvent and TimelineEvents.JumpToLive 2024-04-29 12:31:23 +02:00
Benoit Marty
137bfdfda9 focusOnLive() is not suspendable. 2024-04-29 12:15:14 +02:00
Benoit Marty
33f1cb4abf Test TimelineView regarding "Jump to bottom" button. 2024-04-29 10:07:20 +02:00
Benoit Marty
683a593b50 Extract extension setTimelineView 2024-04-29 09:56:19 +02:00
Benoit Marty
f09ae93e3d Remove unused method 2024-04-29 09:48:14 +02:00
bmarty
4f82baa2b0 Sync Strings from Localazy 2024-04-29 00:18:59 +00:00
renovate[bot]
c8096d511d
Update telephoto to v0.11.2 2024-04-28 10:39:43 +00:00
Benoit Marty
8330fe79c8 Make FocusRequestState immutable. 2024-04-26 18:56:04 +02:00
Benoit Marty
260c7af096 Add unit test on TimelineItemIndexer 2024-04-26 18:50:20 +02:00
ElementBot
931ede8776 Update screenshots 2024-04-26 16:37:12 +00:00
Benoit Marty
d6e02ea503 Test TimelineController 2024-04-26 18:27:10 +02:00
Benoit Marty
bd2a11a51c No need to have a MutableStateFlow for the live timeline. 2024-04-26 17:28:54 +02:00
Benoit Marty
f65025f841 Clearer code. 2024-04-26 17:21:11 +02:00
Benoit Marty
8a532769e3 Compact code. 2024-04-26 17:21:11 +02:00
Benoit Marty
7e5f270e2b Create proper PreviewParameterProvider for TimelineItemEncryptedContent
And remove `@Suppress("UNUSED_PARAMETER")`
2024-04-26 17:21:11 +02:00
Valere
971f44c0d3 Expected UTDs due to membership support 2024-04-26 17:21:10 +02:00
Benoit Marty
27b91c293a
Merge pull request #2758 from element-hq/feature/bma/logRotation
Let the SDK manage the file log cleanup, and keep one week of log.
2024-04-26 17:14:21 +02:00
Benoit Marty
734ffc2627
Merge pull request #2756 from element-hq/renovate/com.google.testparameterinjector-test-parameter-injector-1.x
Update dependency com.google.testparameterinjector:test-parameter-injector to v1.16
2024-04-26 16:52:33 +02:00
Benoit Marty
a4c6e6c281 Add mapping on FocusEventException.
Extract FocusRequestState to its own file and add preview.
2024-04-26 16:40:09 +02:00
Benoit Marty
d3d5081084 Do not ignore those tests.
(was committed by mistake)
2024-04-26 16:40:09 +02:00
ElementBot
923811c733 Update screenshots 2024-04-26 13:37:58 +00:00
Benoit Marty
636c024d9a Fix detekt issues 2024-04-26 15:23:24 +02:00
Benoit Marty
cf06acabe6 Improve preview of TimelineLoadingMoreIndicator 2024-04-26 14:51:33 +02:00
Benoit Marty
f4f5888d5b Move LiveTimelineProvider to the test module. 2024-04-26 14:47:01 +02:00