Commit Graph

682 Commits

Author SHA1 Message Date
krawieck 869bb0eccc remove useless import 2020-09-03 14:00:06 +02:00
krawieck e309c165d3 Change `fullPostFuture` to `fullPostSnap` and simplify error handling 2020-09-03 13:56:37 +02:00
krawieck d49715fb64 Revert "Add `Page` suffix to `Settings`"
This reverts commit b5277064a3.
2020-09-03 13:43:51 +02:00
krawieck b5277064a3 Add `Page` suffix to `Settings` 2020-09-03 13:06:10 +02:00
krawieck 31e51c424f Move burden of fetching to full_post 2020-09-03 13:02:38 +02:00
krawieck 8f6a1a6901 Add explenation why calculate hot rank and where
it was taken from
2020-09-03 12:29:39 +02:00
krawieck 11a2e40dfd Change `log` to `log10` and remove useless code 2020-09-03 12:23:46 +02:00
krawieck 54a4716feb Add ways to mark post
Now post can be marked as:
* stickied
* nsfw
* removed
* deleted
2020-09-03 00:35:08 +02:00
krawieck 7f0f0c11f1 Move InkWell one widget down 2020-09-03 00:18:29 +02:00
krawieck 8e23e418ba Fix bug with not updating 2020-09-03 00:17:42 +02:00
krawieck dec88a1d88 make `CommentTag` private 2020-09-03 00:10:36 +02:00
krawieck 3381e0c375 Adjust color of link preview border to be more universal 2020-09-03 00:07:07 +02:00
krawieck e44b6cf10f Add comment actions 2020-09-03 00:01:04 +02:00
krawieck b13508c011 Add util for getting text color based on background 2020-09-02 23:09:33 +02:00
krawieck 4bc6164b64 Restructure logic, comments are now sorted upon opening 2020-09-02 23:09:00 +02:00
krawieck 47116b1cb1 Add link opening to post 2020-09-02 23:05:34 +02:00
Filip Krawczyk de7d059e9e
Merge pull request #23 from krawieck/accounts-store 2020-09-02 17:00:06 +02:00
shilangyu c16f0f412c wrap modal in safearea 2020-09-02 16:54:29 +02:00
shilangyu dda7571c19 save tokens and users in AccountsStore 2020-09-02 15:16:33 +02:00
krawieck fcf622dcfe Add comment sorting with temporary dropdown 2020-09-02 13:49:07 +02:00
krawieck 9e85fd5a2d Add util extension for calculating hot rank of comments 2020-09-02 13:47:45 +02:00
shilangyu 301e7185d0 bump lemmy_api_client 2020-09-02 11:19:50 +02:00
shilangyu 624f0e995a persistently save default accounts 2020-09-02 10:00:08 +02:00
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