Commit Graph

175 Commits

Author SHA1 Message Date
Benoit Marty
0037da4ce5 Split module dateformatter into api, impl and test. 2023-03-06 11:58:11 +01:00
Benoit Marty
8faca4fdac Move class of matrix.api module to api sub package. 2023-03-02 17:32:47 +01:00
Benoit Marty
0b5abc7a73 Move module matrixtest to matrix.test 2023-03-02 17:19:58 +01:00
Benoit Marty
fbdc1a477a Split module matrix to matrix.api with interfaces and data classes and matrix.impl with Rust implementation. 2023-03-02 17:12:13 +01:00
ganfra
da7af50eb5 Add preview to new timeline items 2023-03-01 11:33:54 +01:00
ganfra
b6606577d5 Should fix CI 2023-02-28 15:19:33 +01:00
ganfra
2bbdecb6f0 Use DaySeperatorFormatter 2023-02-28 14:27:54 +01:00
ganfra
61ca79a2da Timeline test: check timeline is initialized and disposed 2023-02-28 11:25:08 +01:00
ganfra
39edc780fe Makes sure to test loadMore method on TimelinePresenter 2023-02-27 20:30:22 +01:00
ganfra
ac5015d3b3 Fix test compilation 2023-02-27 12:19:43 +01:00
ganfra
fa4c8d62cf Improve a bit timeline pagination 2023-02-24 20:34:32 +01:00
ganfra
247f6d2188 Update rust-sdk (from maven) 2023-02-24 15:05:20 +01:00
ganfra
8d4d8e96bd Merge develop into feature/fga/update_rust_sdk 2023-02-24 11:14:36 +01:00
Benoit Marty
51fd6b0fd7 Do not use import wildcard 2023-02-16 11:58:31 +01:00
Benoit Marty
afd7319460 Add test for HtmlDocument. 2023-02-15 15:20:12 +01:00
Benoit Marty
9ac08ed3b7 Improve BubbleStateProvider (and this removes duplicated values!) 2023-02-15 15:20:05 +01:00
Benoit Marty
f8318bbb61 Rename class. 2023-02-15 12:59:30 +01:00
ganfra
31eb01a7c2 Merge branch 'develop' into feature/fga/update_rust_sdk 2023-02-14 21:15:28 +01:00
ganfra
9526eac81c Add fetchMembers and use it when init timeline (import again rust-sdk with fix on poisoning) 2023-02-14 20:13:47 +01:00
Benoit Marty
196274a276 Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
8cb8c2f306 Move and rename VectorIcon 2023-02-14 17:03:02 +01:00
Benoit Marty
cbbcd49bc1 Add preview for MessageEventBubble. 2023-02-14 17:03:02 +01:00
Benoit Marty
04248b4996 Create MessagesStateProvider 2023-02-14 17:03:02 +01:00
Benoit Marty
c32c9b33de Create MessageComposerStateProvider. Preview is limited for now. 2023-02-14 17:03:02 +01:00
Benoit Marty
e2656cf033 Cleanup 2023-02-14 17:03:02 +01:00
Benoit Marty
9abef64b85 Renaming 2023-02-14 17:03:02 +01:00
Benoit Marty
06c96d1d20 Extract AggregatedReaction to its own file. 2023-02-14 17:03:02 +01:00
Benoit Marty
35c7d4c132 Add Preview for timeline items. 2023-02-14 17:03:02 +01:00
Benoit Marty
6c9474b53f Add limited test for HtmlDocument.
If we add html strings, there is an error when rendering the preview: java.lang.NoSuchMethodError: 'java.lang.String org.jsoup.nodes.Element.normalName()'
2023-02-14 17:03:02 +01:00
Benoit Marty
41e63173b3 Make @Preview internal.
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
ec687edc2d Extract Provider (and rename them) to their own file and move fixture(s) there. 2023-02-14 17:03:02 +01:00
Benoit Marty
f04f2dad9e Give the id to AvatarData to be able to compute initial properly. 2023-02-14 17:03:02 +01:00
Benoit Marty
e1b9d1da02 PreviewParameterProvider FTW 2023-02-14 17:03:02 +01:00
Benoit Marty
395d432220 Add some Preview 2023-02-14 17:03:02 +01:00
Benoit Marty
ce0ed5226d Exclude generated classes from code coverage metrics. 2023-02-09 18:09:03 +01:00
Benoit Marty
a0e56426c4 Cleanup and centralize test data. 2023-02-09 17:44:20 +01:00
Benoit Marty
ad62a613cc Add test for MessagesPresenter 2023-02-09 16:12:22 +01:00
Benoit Marty
e375454f28 Test reply and edit message 2023-02-09 15:19:32 +01:00
Benoit Marty
8bcc2209a3 Improve coverage for TimelinePresenter 2023-02-09 09:52:03 +01:00
Benoit Marty
50c70d10c8 Add test for ActionListPresenter 2023-02-08 16:01:49 +01:00
Benoit Marty
8ed858351b Add test for MessageComposerPresenter 2023-02-08 09:56:55 +01:00
ganfra
e5bd96049e Separate eventId and id for TimelineItem.Event 2023-02-07 19:47:49 +01:00
Benoit Marty
d0977d0108 Add test for TimelinePresenter 2023-02-07 18:32:00 +01:00
ganfra
0f6744ab74 Timeline: quickly integreate sender profile 2023-02-06 20:52:42 +01:00
ganfra
ce1c903ddd Timeline : Handle day separator 2023-02-06 20:19:00 +01:00
ganfra
6e6d2141b9 Updates on rust: makes SS working but slow. Also branch some timeline virtual items. 2023-02-03 14:41:24 +01:00
Benoit Marty
732fb9bd1e Fix detekt issue, optimize import, fix color of preference category title 2023-02-03 13:43:00 +01:00
Benoit Marty
decd3a9585 ElementTheme + MaterialTheme3 2023-02-03 12:57:42 +01:00
Benoit Marty
1f44550624 Fix compilation issue 2023-02-03 12:57:42 +01:00
Benoit Marty
37840af3fd Rename component. No need for Element prefix 2023-02-03 12:57:42 +01:00