Commit graph

155 commits

Author SHA1 Message Date
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
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
Benoit Marty
333f9e9709 Add test for TimelinePresenter 2023-02-07 18:32:00 +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
Benoit Marty
2cac2b59ab Cleanup and TODO. 2023-02-03 12:56:53 +01:00
Benoit Marty
9d32b05fbb Rework Preview for a better rendering in the IDE. 2023-02-03 12:56:53 +01:00
Benoit Marty
e3fed8b4f5 Optimize import 2023-02-03 12:56:53 +01:00
Benoit Marty
7d85d8da30 Add ElementCircularProgressIndicator and ElementOutlinedTextField. 2023-02-03 12:56:53 +01:00
Benoit Marty
71fa01f8b6 Theme: Add ElementModalBottomSheetLayout. 2023-02-03 12:55:36 +01:00
Benoit Marty
e4cc733f4a First draft of full custom theme.
ElementTheme everywhere

Create ElementButton
2023-02-03 12:55:36 +01:00
Benoit Marty
78544357e8 Create ExtendedColors to define more colors. 2023-02-03 12:55:36 +01:00
Benoit Marty
35e204ca48 Cleanup 2023-02-03 12:55:36 +01:00
ganfra
9cf88fff5f Merge branch 'develop' into feature/fga/fix_restoration 2023-02-01 16:05:05 +01:00
ganfra
b8860a6658 Simplify AvatarData and avoid carrying ByteArray 2023-02-01 15:57:00 +01:00
ganfra
fc07ff29f5 Remove PresenterConnector and molecule runtime in feature modules, directly call Presenter.present method 2023-02-01 15:56:07 +01:00
Benoit Marty
3410b70af4 Optimize import 2023-01-30 16:36:51 +01:00
ganfra
87d0191324 Change/move some gradle modules to be better separated. Let core module be a kotlin lib. 2023-01-24 17:38:57 +01:00
ganfra
dd00f99f0c enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") 2023-01-20 19:13:44 +01:00
ganfra
5748bc53a6 Finish removing x. from packages (keep it in app module for now) 2023-01-20 18:52:59 +01:00
ganfra
e616d75d9d Rename all features modules 2023-01-20 18:35:03 +01:00
ganfra
4a5a1f6d3e Rename textcomposer module 2023-01-20 17:38:04 +01:00
ganfra
907d7eba75 Rename matrix modules 2023-01-20 17:27:47 +01:00