Commit graph

6698 commits

Author SHA1 Message Date
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
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
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
Benoit Marty
83d9e77c6a Fix issue with Gradient rendering. 2024-04-26 14:40:54 +02:00
Benoit Marty
b8cb2d92e9 Add missing color preview. 2024-04-26 14:30:51 +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
94df7308ab Fix compilation issue (develop has been merged here) 2024-04-26 12:55:08 +02:00
Benoit Marty
2c8abbed0c Merge branch 'develop' into feature/fga/permalink_timeline 2024-04-26 12:50:38 +02:00
Benoit Marty
ba1f21c0f9
Merge pull request #2730 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.16
2024-04-26 10:17:25 +02:00
Benoit Marty
42b9c35adb Fix test on UtdTrackerTest 2024-04-26 09:22:08 +02:00
Benoit Marty
93709f33b8 Fix false positive
A single Unit expression is unnecessary and can safely be removed. [OptionalUnit]
2024-04-26 09:17:22 +02:00
Benoit Marty
1a64901ee0 SDK 0.2.16: fix compilation issue 2024-04-26 09:11:30 +02:00
ganfra
7b4fa146e5 Timeline : try to get better forward pagination. 2024-04-25 23:34:04 +02:00
renovate[bot]
198c45d016
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.16 2024-04-25 16:00:52 +00:00
ganfra
7ac6e4166a Timeline permalink : scroll to fetched event when known 2024-04-25 17:41:10 +02:00
Benoit Marty
1fc01c91c2
Merge pull request #2753 from element-hq/feature/bma/removeFlagRoomListFilters
Remove flag RoomListFilters.
2024-04-25 17:19:16 +02:00
Benoit Marty
25751efbbe Fix compilation of minimal. 2024-04-25 16:57:45 +02:00
ElementBot
5f4f7b9435 Update screenshots 2024-04-25 14:03:20 +00: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
0e98659cc9 Timeline : do not cancel pagination to avoid stuck timeline. 2024-04-25 15:01:18 +02:00
ganfra
97b9d75a0d Timeline : makes sure all tests are passing 2024-04-25 14:35:37 +02:00
Benoit Marty
6219190ef1
Merge pull request #2752 from element-hq/feature/bma/blockOpeningSpace
Block opening space
2024-04-25 14:28:28 +02:00
ElementBot
0e00700644 Update screenshots 2024-04-25 10:49:05 +00:00
ganfra
bffa2d717f Timeline : continue to fix more tests... 2024-04-25 12:41:34 +02:00
Benoit Marty
5951182bdf Fix issue when building previews, roomId must be unique 2024-04-25 12:39:25 +02:00