Commit Graph

2978 Commits

Author SHA1 Message Date
Joe Groocock
3e9ae00090 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
Benoit Marty
f5060defa1 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
51d87a8309 Merge pull request #2759 from element-hq/feature/fga/permalink_timeline
Permalink timeline
2024-04-30 10:58:33 +02:00
Benoit Marty
f8a490f734 Add missing preview case. 2024-04-30 09:51:29 +02:00
Benoit Marty
c1568e3ce8 Remove unnecessary parenthesis 2024-04-30 09:47:20 +02:00
Benoit Marty
405a4840a8 Fix tests after change on InReplyTo classes 2024-04-29 23:05:40 +02:00
Jorge Martin Espinosa
b881643423 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
Benoit Marty
20e376896e Handle click on reply navigation. 2024-04-29 17:55:45 +02:00
Benoit Marty
2e2d1277e8 Map all replyTo data and add preview for loading and erorr case. 2024-04-29 17:41:25 +02:00
Benoit Marty
65db3d597a Remove unused newTimelineById 2024-04-29 14:09:06 +02:00
Benoit Marty
b511f24355 Add test on focusRequestState for event TimelineEvents.FocusOnEvent and TimelineEvents.JumpToLive 2024-04-29 12:31:23 +02:00
Benoit Marty
a5eb3f8f91 focusOnLive() is not suspendable. 2024-04-29 12:15:14 +02:00
Benoit Marty
f0b9029607 Test TimelineView regarding "Jump to bottom" button. 2024-04-29 10:07:20 +02:00
Benoit Marty
0532f79a19 Extract extension setTimelineView 2024-04-29 09:56:19 +02:00
Benoit Marty
de4b21cab1 Remove unused method 2024-04-29 09:48:14 +02:00
bmarty
7383ac6678 Sync Strings from Localazy 2024-04-29 00:18:59 +00:00
Benoit Marty
5aff720c4e Make FocusRequestState immutable. 2024-04-26 18:56:04 +02:00
Benoit Marty
2bc8d6e632 Add unit test on TimelineItemIndexer 2024-04-26 18:50:20 +02:00
Benoit Marty
16f0d9d446 Test TimelineController 2024-04-26 18:27:10 +02:00
Benoit Marty
5f1c1dcd23 No need to have a MutableStateFlow for the live timeline. 2024-04-26 17:28:54 +02:00
Benoit Marty
525c8cbc69 Clearer code. 2024-04-26 17:21:11 +02:00
Benoit Marty
138f4d9525 Compact code. 2024-04-26 17:21:11 +02:00
Benoit Marty
fdb13ebca5 Create proper PreviewParameterProvider for TimelineItemEncryptedContent
And remove `@Suppress("UNUSED_PARAMETER")`
2024-04-26 17:21:11 +02:00
Valere
808bbf33a4 Expected UTDs due to membership support 2024-04-26 17:21:10 +02:00
Benoit Marty
7b55b0e327 Add mapping on FocusEventException.
Extract FocusRequestState to its own file and add preview.
2024-04-26 16:40:09 +02:00
Benoit Marty
03040e5507 Do not ignore those tests.
(was committed by mistake)
2024-04-26 16:40:09 +02:00
Benoit Marty
9b4fa0f03d Fix detekt issues 2024-04-26 15:23:24 +02:00
Benoit Marty
ee7f0bac8b Improve preview of TimelineLoadingMoreIndicator 2024-04-26 14:51:33 +02:00
Benoit Marty
471eb2cadc Move LiveTimelineProvider to the test module. 2024-04-26 14:47:01 +02:00
Benoit Marty
cd2b78459a Fix issue with Gradient rendering. 2024-04-26 14:40:54 +02:00
Benoit Marty
174b1a4888 Improve focusedEvent rendering when sender information are displayed. 2024-04-26 14:29:02 +02:00
Benoit Marty
31946a98ad Add preview for focusedEvent. 2024-04-26 14:21:12 +02:00
Benoit Marty
21ddeb00fe Format and cleanup files 2024-04-26 13:57:08 +02:00
Benoit Marty
a11bfb5d29 Merge branch 'develop' into feature/fga/permalink_timeline 2024-04-26 12:50:38 +02:00
Benoit Marty
9f2e8d44ce Let the SDK manage the file log cleanup, and keep one week of log. 2024-04-26 12:33:20 +02:00
ganfra
345d4c7da3 Timeline : try to get better forward pagination. 2024-04-25 23:34:04 +02:00
ganfra
82d833b434 Timeline permalink : scroll to fetched event when known 2024-04-25 17:41:10 +02:00
Benoit Marty
2b121d97ac Remove flag RoomListFilters.
This is also fixing the filter reset issue when going back to the room list.
2024-04-25 15:55:29 +02:00
Jorge Martin Espinosa
fe9b3f7cdb Always display 'lost recovery key?' option (#2745)
* Always display 'lost recovery key?' option

* Use `isLastDevice` it to display only 'enter recovery key' option for verification.

* Update strings. This should fix the wrong term 'passcode' being used in the recovery key screen title.

* Disable 'lost your recovery key?' button while the screen is in a loading state

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-25 15:28:24 +02:00
ganfra
b46f8a5c27 Timeline : rename isTimelineEmpty to hasAnyEvent 2024-04-25 15:13:19 +02:00
ganfra
cf1c728eab Timeline : makes sure all tests are passing 2024-04-25 14:35:37 +02:00
ganfra
9ffed34303 Timeline : continue to fix more tests... 2024-04-25 12:41:34 +02:00
Benoit Marty
f1a31e3b3c Ensure roomId are not rendered in the UI.
Add preview to see the effect.
Use RoomAvatar data fallback everywhere, to not use roomId (`!` char) for the avatar initial, but rather `#`.
2024-04-25 11:52:40 +02:00
Benoit Marty
354e0df824 Use Dash avatar for room with no name and no avatar. 2024-04-25 09:50:51 +02:00
Benoit Marty
49439034e4 Add screen to render Spaces (they are not supported yet) 2024-04-25 09:50:51 +02:00
Benoit Marty
1ed593926f Avoid rendering roomId on screen. 2024-04-25 09:49:58 +02:00
Benoit Marty
871265117a Add a preview with the minimum available data. 2024-04-25 09:49:05 +02:00
Benoit Marty
9adbf6c811 Introduce RoomType 2024-04-25 09:49:05 +02:00
Benoit Marty
a7a8d97188 i18n 2024-04-25 09:49:04 +02:00
ganfra
60192bd080 Timeline permalink : start updating tests 2024-04-24 21:33:20 +02:00