Commit Graph

155 Commits

Author SHA1 Message Date
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
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
Benoit Marty
d0977d0108 Add test for TimelinePresenter 2023-02-07 18:32:00 +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
Benoit Marty
fb4c5138ee Material3 only in designsystem. 2023-02-03 12:56:53 +01:00
Benoit Marty
4f6239b3c2 Cleanup and TODO. 2023-02-03 12:56:53 +01:00
Benoit Marty
2cfa921a70 Rework Preview for a better rendering in the IDE. 2023-02-03 12:56:53 +01:00
Benoit Marty
8f551fbe03 Optimize import 2023-02-03 12:56:53 +01:00
Benoit Marty
8d87320531 Add ElementCircularProgressIndicator and ElementOutlinedTextField. 2023-02-03 12:56:53 +01:00
Benoit Marty
3273685cc4 Theme: Add ElementModalBottomSheetLayout. 2023-02-03 12:55:36 +01:00
Benoit Marty
6e4edc8289 First draft of full custom theme.
ElementTheme everywhere

Create ElementButton
2023-02-03 12:55:36 +01:00
Benoit Marty
3ecce4e24f Create ExtendedColors to define more colors. 2023-02-03 12:55:36 +01:00
Benoit Marty
7b0ae0014a Cleanup 2023-02-03 12:55:36 +01:00
ganfra
6bbd5bdc3d Merge branch 'develop' into feature/fga/fix_restoration 2023-02-01 16:05:05 +01:00
ganfra
085e5bebe4 Simplify AvatarData and avoid carrying ByteArray 2023-02-01 15:57:00 +01:00
ganfra
bfb508ba1d Remove PresenterConnector and molecule runtime in feature modules, directly call Presenter.present method 2023-02-01 15:56:07 +01:00
Benoit Marty
b4fbe77581 Optimize import 2023-01-30 16:36:51 +01:00
ganfra
27bf42c5f2 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
46e58fe64d enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") 2023-01-20 19:13:44 +01:00
ganfra
718b37a4eb Finish removing x. from packages (keep it in app module for now) 2023-01-20 18:52:59 +01:00
ganfra
f800e22477 Rename all features modules 2023-01-20 18:35:03 +01:00
ganfra
465b74e177 Rename textcomposer module 2023-01-20 17:38:04 +01:00
ganfra
0a3697bfe8 Rename matrix modules 2023-01-20 17:27:47 +01:00