1
0
mirror of https://github.com/krawieck/lemmur/ synced 2024-12-17 10:59:29 +01:00
Commit Graph

101 Commits

Author SHA1 Message Date
krawieck
d902c3d2aa Rename Comments to CommentSection 2020-08-31 21:37:24 +02:00
krawieck
a6486f6e51 Convert functions with single return statements to => 2020-08-31 21:35:54 +02:00
krawieck
19047de57d Remove useless code 2020-08-31 21:32:34 +02:00
krawieck
3c47eb0886 move ui building functions into the build method 2020-08-31 21:03:50 +02:00
krawieck
fdcb29fb1c oops, moved the wrong thing 2020-08-31 20:10:05 +02:00
krawieck
8c7e7c283b reformat expression to be more sane 2020-08-31 20:02:51 +02:00
krawieck
e22a3094e4 Convert string that include ' in them to double quouted strings 2020-08-31 19:58:09 +02:00
krawieck
eee965fba1 * move comment out of widgets/
* remove `Widget` suffix from widgets
* change `list.length != 0` to `list.isEmpty`
* convert MarkdownText into stateless widget
2020-08-31 19:56:48 +02:00
krawieck
e1608d9f32 Change @TODO to TODO: 2020-08-31 19:04:23 +02:00
krawieck
16d490c0ad Add missing import 2020-08-31 18:26:57 +02:00
krawieck
6704fed4e5 Add comment pfp, op, banned 2020-08-31 15:29:02 +02:00
krawieck
663d4bb913 Fix username displaying for comments 2020-08-31 13:39:27 +02:00
krawieck
cf3862d2e2 Add markdown rendering to comments 2020-08-31 12:23:32 +02:00
krawieck
2ca3565bfc Moved displaying markdown to separate widget 2020-08-31 12:22:29 +02:00
krawieck
3bb56a71dd Add 2 widgets for displaying comments #16 2020-08-31 01:47:08 +02:00
krawieck
712ea2994d Add CommentTree #16
`CommentTree` transforms `List` of `CommentView`s into a tree-like structure
2020-08-31 01:46:47 +02:00
krawieck
fcafde2d0f Change if with 2 Texts to 1 Text with ternary inside 2020-08-30 19:31:55 +02:00
krawieck
91aada67e9 Remove '@' from '@TODO:' 2020-08-30 19:29:12 +02:00
krawieck
e673eac152 Add handlink links in markdown and general link launcher 2020-08-30 16:49:59 +02:00
krawieck
8c68c17308 Add markdown support for post 2020-08-29 22:50:37 +02:00
krawieck
015a29435b Restruture post.dart to be more sane 2020-08-29 21:01:01 +02:00
krawieck
9fabb75676 fix overflow for number of comments 2020-08-29 20:31:53 +02:00
krawieck
697bbf4e9c Bump lemmy_api_client and revise imports 2020-08-28 13:47:52 +02:00
krawieck
e107fb6cc6 Rename components to widgets 2020-08-28 13:45:03 +02:00
krawieck
10cc96d23a Move actions to separate functions.
still not implemented
2020-08-28 13:30:42 +02:00
krawieck
2cba79e689 Add basic post component 2020-08-27 23:27:27 +02:00
shilangyu
b19e7d50fa fix lints 2020-08-21 00:37:51 +00:00
shilangyu
9e1333e462 removed migrated code (now at krawieck/lemmy_api_client) 2020-08-21 00:22:24 +00:00
krawieck
8720272ee5 Implement 3 endpoints and add 1 model
endpoints:
* createPostLike
* getSite
* getFollowedCommunities

model:
* FullSiteView
2020-08-18 23:38:57 +02:00
krawieck
eeac5af15e Add 3 endpoints related to communities and 1 model
Endpoints:
* getCommunity
* listCommunities
* followCommunity

Model:
* FullCommunityView
2020-08-18 22:22:56 +02:00
krawieck
f3329b82ff Update register method to be compliant with the docs 2020-08-14 16:43:42 +02:00
krawieck
be71efd3c1 Implement getPost 2020-08-14 15:47:23 +02:00
krawieck
e464a0b922 Implement getReplies 2020-08-14 14:41:35 +02:00
krawieck
177b6ea712 Add a bunch of asserts 2020-08-14 14:13:44 +02:00
krawieck
705b90148e Implement getUserDetails 2020-08-14 13:49:20 +02:00
krawieck
05caba277e Implement login (POST /user/login) 2020-08-14 00:34:09 +02:00
krawieck
c90a3bdd73 Make second argument in get optional 2020-08-14 00:10:46 +02:00
krawieck
cbd6a208d3 Implement listCategories (GET /categories) 2020-08-13 23:56:00 +02:00
krawieck
5e15ddd7bd Implement search method (GET /search) 2020-08-13 23:32:41 +02:00
krawieck
92d684cbfd Change strings to single quotes 2020-08-13 20:25:48 +02:00
shilangyu
9c9de8c41d changed abstract class to mixin 2020-08-13 16:18:33 +02:00
shilangyu
506b007eea implemented get/post helpers 2020-08-13 15:39:53 +02:00
shilangyu
141b929661 export enums as well 2020-08-12 21:00:31 +02:00
krawieck
b433bf0971 Add more asserts for checking required props 2020-08-12 11:55:26 +02:00
krawieck
1307b5e5b1 Add asserts for checking required props 2020-08-12 11:53:17 +02:00
krawieck
f68467708a yet another imports cleanup 2020-08-11 19:54:38 +02:00
krawieck
be3bd569f4 Replace type_ with type 2020-08-11 19:54:12 +02:00
krawieck
4a096602b5 Fix up imports 2020-08-11 19:32:13 +02:00
krawieck
771a5f28ff implement a bunch of enums 2020-08-11 19:29:56 +02:00
krawieck
5971a947d6 Add SearchType and implement it 2020-08-11 19:04:03 +02:00