Commit graph

167 commits

Author SHA1 Message Date
Benoit Marty
e2bd966878 Split module dateformatter into api, impl and test. 2023-03-06 11:58:11 +01:00
Benoit Marty
466579c4d3 Move class of matrix.api module to api sub package. 2023-03-02 17:32:47 +01:00
Benoit Marty
c2dff7888c Move module matrixtest to matrix.test 2023-03-02 17:19:58 +01:00
ganfra
44cd906c6b Add preview to new timeline items 2023-03-01 11:33:54 +01:00
ganfra
fefbdcdb71 Should fix CI 2023-02-28 15:19:33 +01:00
ganfra
a5b5371fb6 Use DaySeperatorFormatter 2023-02-28 14:27:54 +01:00
ganfra
5fa293b563 Timeline test: check timeline is initialized and disposed 2023-02-28 11:25:08 +01:00
ganfra
45711b062e Makes sure to test loadMore method on TimelinePresenter 2023-02-27 20:30:22 +01:00
ganfra
4fc12f13d8 Fix test compilation 2023-02-27 12:19:43 +01:00
ganfra
c9b4cf3232 Improve a bit timeline pagination 2023-02-24 20:34:32 +01:00
ganfra
830b8caa3a Update rust-sdk (from maven) 2023-02-24 15:05:20 +01:00
ganfra
22fd4ac7f0 Merge develop into feature/fga/update_rust_sdk 2023-02-24 11:14:36 +01:00
Benoit Marty
a304b92bb6 Do not use import wildcard 2023-02-16 11:58:31 +01:00
Benoit Marty
2dae6b6d7b Add test for HtmlDocument. 2023-02-15 15:20:12 +01:00
Benoit Marty
bdae51f252 Improve BubbleStateProvider (and this removes duplicated values!) 2023-02-15 15:20:05 +01:00
Benoit Marty
016cb6529f Rename class. 2023-02-15 12:59:30 +01:00
ganfra
8bca19a3fa Merge branch 'develop' into feature/fga/update_rust_sdk 2023-02-14 21:15:28 +01:00
ganfra
4940719274 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
a19d678dcd Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
9234f47ce3 Move and rename VectorIcon 2023-02-14 17:03:02 +01:00
Benoit Marty
d382f59b50 Add preview for MessageEventBubble. 2023-02-14 17:03:02 +01:00
Benoit Marty
276d5e7d50 Create MessagesStateProvider 2023-02-14 17:03:02 +01:00
Benoit Marty
0230099c6d Create MessageComposerStateProvider. Preview is limited for now. 2023-02-14 17:03:02 +01:00
Benoit Marty
c08076b0fd Cleanup 2023-02-14 17:03:02 +01:00
Benoit Marty
bbe7ea99e1 Renaming 2023-02-14 17:03:02 +01:00
Benoit Marty
3537120a53 Extract AggregatedReaction to its own file. 2023-02-14 17:03:02 +01:00
Benoit Marty
53c8d3ff7c Add Preview for timeline items. 2023-02-14 17:03:02 +01:00
Benoit Marty
49db996988 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
6bb01d640f Make @Preview internal.
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
e120ca7163 Extract Provider (and rename them) to their own file and move fixture(s) there. 2023-02-14 17:03:02 +01:00
Benoit Marty
443076f636 Give the id to AvatarData to be able to compute initial properly. 2023-02-14 17:03:02 +01:00
Benoit Marty
afe5499158 PreviewParameterProvider FTW 2023-02-14 17:03:02 +01:00
Benoit Marty
fe44c8906d Add some Preview 2023-02-14 17:03:02 +01:00
Benoit Marty
a57a6f45bb Exclude generated classes from code coverage metrics. 2023-02-09 18:09:03 +01:00
Benoit Marty
606cd3efc3 Cleanup and centralize test data. 2023-02-09 17:44:20 +01:00
Benoit Marty
f6afd4de26 Add test for MessagesPresenter 2023-02-09 16:12:22 +01:00
Benoit Marty
e4722f43d3 Test reply and edit message 2023-02-09 15:19:32 +01:00
Benoit Marty
a3348ca71c Improve coverage for TimelinePresenter 2023-02-09 09:52:03 +01:00
Benoit Marty
48bd5fd48e Add test for ActionListPresenter 2023-02-08 16:01:49 +01:00
Benoit Marty
f736b48a92 Add test for MessageComposerPresenter 2023-02-08 09:56:55 +01:00
ganfra
b487e5f128 Separate eventId and id for TimelineItem.Event 2023-02-07 19:47:49 +01:00
Benoit Marty
333f9e9709 Add test for TimelinePresenter 2023-02-07 18:32:00 +01:00
ganfra
7da7ce5a99 Timeline: quickly integreate sender profile 2023-02-06 20:52:42 +01:00
ganfra
1a47722a85 Timeline : Handle day separator 2023-02-06 20:19:00 +01:00
ganfra
6290996831 Updates on rust: makes SS working but slow. Also branch some timeline virtual items. 2023-02-03 14:41:24 +01:00
Benoit Marty
426005f298 Fix detekt issue, optimize import, fix color of preference category title 2023-02-03 13:43:00 +01:00
Benoit Marty
bbe10382b0 ElementTheme + MaterialTheme3 2023-02-03 12:57:42 +01:00
Benoit Marty
47186c6af1 Fix compilation issue 2023-02-03 12:57:42 +01:00
Benoit Marty
201508678a Rename component. No need for Element prefix 2023-02-03 12:57:42 +01:00
Benoit Marty
cdfc13cb15 Material3 only in designsystem. 2023-02-03 12:56:53 +01:00