Commit graph

6734 commits

Author SHA1 Message Date
Hugh Nimmo-Smith
fd54aeb653 Escape paths in build_rust_sdk script 2024-05-01 10:04:36 +01:00
Jorge Martin Espinosa
988057925a
Split building the debug APK in CI (#2774)
* Split building the debug APK in CI

* Split building the debug APK in CI

* Upload only universal APK to save time
2024-04-30 18:42:30 +02:00
Jorge Martin Espinosa
6d924c3ca7
Don't display 'join room' screen while leaving a room. (#2770)
* Don't display 'join room' screen while leaving a room.

Centralise the navigation based on membership in a single point in `RoomFlowNode`.

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-30 16:08:42 +02:00
Joe Groocock
06a519ef98
Pretty-print event JSON in debug view (#2771)
* Pretty-print event JSON in debug view

Significantly improves readability

Signed-off-by: Joe Groocock <me@frebib.net>

* Update screenshots

Signed-off-by: Joe Groocock <me@frebib.net>

---------

Signed-off-by: Joe Groocock <me@frebib.net>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-30 16:08:04 +02:00
Jorge Martin Espinosa
c690b38b0f
Adjust typography in SelectedUser component (#2768)
* Adjust typography in `SelectedUser` component

* Set 2 max lines for `SelectedUser` component.

Also update the theme token references.

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-30 09:21:39 +00:00
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