1
0
mirror of https://github.com/krawieck/lemmur/ synced 2024-12-11 08:05:43 +01:00
Commit Graph

231 Commits

Author SHA1 Message Date
krawieck
9e27380985 use mediaviewpage in a post 2020-09-11 19:21:59 +02:00
krawieck
689b4c41cc Move media_view to pages, cuz it has a scaffold 2020-09-11 19:20:00 +02:00
krawieck
e4e7f1d9a1 add dismiss handling. not perfect and prolly not final 2020-09-11 15:56:22 +02:00
krawieck
c7baa125c4 add basic functionality to share button
add bottom sheet that opens when clicking
the share button. 2 options are present.
share url and share file
share url works
share file not yet
2020-09-11 11:24:06 +02:00
krawieck
a8607fd661 Simplify hiding the appbar 2020-09-11 11:00:04 +02:00
krawieck
13b1a7ad8b Enter fullscreen when hiding buttons 2020-09-11 10:54:03 +02:00
krawieck
5fa9e22cd5 Add media view widget 2020-09-10 23:03:50 +02:00
krawieck
1e43d1a482 Move const structures to their own object to prevent spillage 2020-09-10 15:24:45 +02:00
krawieck
3ae7812ed7 Remove debug print 2020-09-10 15:19:02 +02:00
krawieck
704c7de2e6 fix comment section 2020-09-10 14:00:57 +02:00
krawieck
cec2c7eeb4 Bring back the navigator cuz it needs to be .fromPostView
goToPost made it so that the post would get downloaded again when going from pots to fullpost
2020-09-10 13:11:16 +02:00
krawieck
98cc38a9d3 Make sorting popup prettier 2020-09-09 23:56:24 +02:00
krawieck
99fe7de64b Add more menu and info popup 2020-09-09 23:21:21 +02:00
krawieck
1c56ef0d63 No padding if no title 2020-09-09 21:23:58 +02:00
krawieck
0bd0efa320 Add more menu 2020-09-09 21:23:48 +02:00
krawieck
ccfbc0188c Little tweaks 2020-09-09 20:52:31 +02:00
krawieck
1162fb1cd7 Create universal functions for going to common pages 2020-09-09 17:41:54 +02:00
shilangyu
90b2deb4a0 added from UserView constructor 2020-09-08 21:08:37 +02:00
krawieck
327cc8a208 Rename SortPostsPicker to PostListOptions 2020-09-07 22:49:41 +02:00
krawieck
0da1d229dc Change enum.toString() to describeEnum(enum) 2020-09-07 22:05:50 +02:00
krawieck
5509e0bc90 Update property 2020-09-07 20:22:31 +02:00
krawieck
9f1d5bc5ac Adjust import formatting 2020-09-07 16:19:28 +02:00
krawieck
3bb347fc02 Add picker for post sorting 2020-09-05 23:55:07 +02:00
krawieck
712ee3c8e2 Make it usable with very tall content
also it can now be paired with `isScrollControlled: true` passed to `showModalBottomSheet`
2020-09-05 23:48:30 +02:00
krawieck
de625de379 Add option to change Badge border radius 2020-09-05 18:16:16 +02:00
krawieck
05eb748980 Add todo comment 2020-09-04 11:08:11 +02:00
krawieck
8f9bf91056 Turn bio into IIFE 2020-09-04 11:04:10 +02:00
krawieck
e788ed03e5 Increase vertical padding between items 2020-09-03 23:35:13 +02:00
krawieck
36cd9c5df0 oops wrong color 2020-09-03 23:26:17 +02:00
krawieck
78208c1306 Make bottom modal usable in dark mode 2020-09-03 23:23:36 +02:00
krawieck
ebee170b44 Add padding around bio 2020-09-03 23:22:11 +02:00
krawieck
b2f8e88375 Increase horizontal padding 2020-09-03 22:14:07 +02:00
krawieck
d8234a671a Replace icon shadow with black gradient top to bottom 2020-09-03 22:10:22 +02:00
krawieck
ee0df56448 make badge color visible on different BGs 2020-09-03 16:18:42 +02:00
krawieck
2ccf2d953e Merge branch 'master' into full-post 2020-09-03 14:41:30 +02:00
krawieck
31e51c424f Move burden of fetching to full_post 2020-09-03 13:02:38 +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
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
shilangyu
c16f0f412c wrap modal in safearea 2020-09-02 16:54:29 +02:00
krawieck
fcf622dcfe Add comment sorting with temporary dropdown 2020-09-02 13:49:07 +02:00
krawieck
82f2084b60 Add FullPost and implement a fair bit of it 2020-09-02 00:05:42 +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
f44c0f60a5 change some expressions to IIFEs 2020-09-01 14:17:56 +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
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
Marcin Wojnarowski
1c9a0e5fa8
Merge branch 'master' into user-profile-tab 2020-08-31 21:52:52 +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
16d490c0ad Add missing import 2020-08-31 18:26:57 +02:00
shilangyu
9133ef94cd fix lint errors 2020-08-31 16:19:44 +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
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