Commit Graph

2984 Commits

Author SHA1 Message Date
Benoit Marty 0036fa7104 Sort imports. 2024-05-03 12:17:41 +02:00
Benoit Marty fa4ad4a934 Improve documentation 2024-05-03 12:16:46 +02:00
Benoit Marty 4dfec7ac55 Format 2024-05-03 09:34:54 +02:00
Benoit Marty 0fb89bd4b2 Let MainActivity manage Element Call https links. 2024-05-02 15:37:57 +02:00
Benoit Marty 0476bd95c8 Open user profile and room with event from permalink 2024-05-02 12:25:21 +02:00
Benoit Marty 528e7b390b Remove the FtueEntryPoint.Callback, LoggedInFlowNode is already observing the Ftue state to change the root target. 2024-05-01 13:49:57 +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
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
Benoit Marty 2c85d86c7a Add missing preview case. 2024-04-30 09:51:29 +02:00
Benoit Marty 80497a8b30 Remove unnecessary parenthesis 2024-04-30 09:47:20 +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
Benoit Marty 200b43246e Handle click on reply navigation. 2024-04-29 17:55:45 +02: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 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
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
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 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
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
Benoit Marty 83d9e77c6a Fix issue with Gradient rendering. 2024-04-26 14:40:54 +02:00
Benoit Marty 2dd122e9e9 Improve focusedEvent rendering when sender information are displayed. 2024-04-26 14:29:02 +02:00
Benoit Marty 076d2243a3 Add preview for focusedEvent. 2024-04-26 14:21:12 +02:00
Benoit Marty 300d3e34b1 Format and cleanup files 2024-04-26 13:57:08 +02:00
Benoit Marty 2c8abbed0c Merge branch 'develop' into feature/fga/permalink_timeline 2024-04-26 12:50:38 +02:00
Benoit Marty c1c3227bde Let the SDK manage the file log cleanup, and keep one week of log. 2024-04-26 12:33:20 +02:00
ganfra 7b4fa146e5 Timeline : try to get better forward pagination. 2024-04-25 23:34:04 +02:00
ganfra 7ac6e4166a Timeline permalink : scroll to fetched event when known 2024-04-25 17:41:10 +02:00
Benoit Marty 268c196e35 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 7397df806b 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 6632b2a998 Timeline : rename isTimelineEmpty to hasAnyEvent 2024-04-25 15:13:19 +02:00
ganfra 97b9d75a0d Timeline : makes sure all tests are passing 2024-04-25 14:35:37 +02:00
ganfra bffa2d717f Timeline : continue to fix more tests... 2024-04-25 12:41:34 +02:00
Benoit Marty ce7bb11724 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 8f7b064773 Use Dash avatar for room with no name and no avatar. 2024-04-25 09:50:51 +02:00