Commit Graph

1209 Commits

Author SHA1 Message Date
shilangyu 706bf94502 accounts screen in settings:
- you can see your accounts
- you can choose the default one for the instance with a long press
2020-09-02 01:35:30 +02:00
krawieck 82f2084b60 Add FullPost and implement a fair bit of it 2020-09-02 00:05:42 +02:00
shilangyu da107a7ad7 remove accentColor config 2020-09-01 22:05:33 +02:00
shilangyu 596e8f4e53 moved badge to seperate widget 2020-09-01 21:59:00 +02:00
shilangyu 708a680ddc showing modal for choosing default account 2020-09-01 21:36:58 +02:00
krawieck f5a2d3a4e1 add some ios junk 2020-09-01 19:35:06 +02:00
krawieck f44c0f60a5 change some expressions to IIFEs 2020-09-01 14:17:56 +02:00
shilangyu 2b3fc87f88 created accounts store 2020-09-01 13:22:37 +02:00
shilangyu 5808ab17a3 restructure user profile to work in both contexts:
- profile tab
- some user profile
2020-09-01 11:55:22 +02:00
shilangyu 1c9848dced ignore .vscode and update lock file 2020-08-31 23:22:09 +02:00
shilangyu 532f08d8ff added blank test 2020-08-31 23:21:12 +02:00
Filip Krawczyk 377f0b7c4e
Merge pull request #22 from krawieck/user-profile-tab 2020-08-31 23:11:34 +02:00
shilangyu 0824e67b3f better 'no bio' text 2020-08-31 23:05:04 +02:00
shilangyu 4539a5c4ca extracting instance url 2020-08-31 22:49:23 +02:00
shilangyu 45d164e23e reverted main.dart 2020-08-31 22:30:11 +02:00
Marcin Wojnarowski 1c9a0e5fa8
Merge branch 'master' into user-profile-tab 2020-08-31 21:52:52 +02:00
Marcin Wojnarowski cf0d1167cc
Merge pull request #21 from krawieck/post 2020-08-31 21:43:42 +02:00
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
shilangyu 3be7d518ea clean up some TODOs 2020-08-31 21:04:17 +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
shilangyu 8c52ec1109 making sure stores are initialiazed before rendering 2020-08-31 17:52:16 +02:00
shilangyu 9133ef94cd fix lint errors 2020-08-31 16:19:44 +02:00
shilangyu f4bd1eb65b added settings screen 2020-08-31 16:17:39 +02:00
shilangyu a0850836dd added utility functions 2020-08-31 15:43:09 +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
shilangyu 8b738bf5e5 moved user profile to a widget 2020-08-31 12:05:45 +02:00
shilangyu dd06b79efa implemented rest of the main screen mockup 2020-08-31 03:54:24 +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
shilangyu b7b5661f45 basic profile tab 2020-08-31 01:04:08 +02:00
shilangyu 80dd04ea1b created mobx ConfigStore 2020-08-30 22:43:16 +02:00
krawieck fcafde2d0f Change if with 2 `Text`s 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 c56c8e34f3 Update pubspec.yaml 2020-08-30 18:54:51 +02:00
krawieck e673eac152 Add handlink links in markdown and general link launcher 2020-08-30 16:49:59 +02:00
krawieck 8275dd1086 Bump `lemmy_api_client` version 2020-08-30 16:39:32 +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