Commit Graph

105 Commits

Author SHA1 Message Date
shilangyu 34f8f5b155 removed outdated comment 2020-09-18 23:31:54 +02:00
shilangyu ea923b032c added @required decorator 2020-09-18 23:29:38 +02:00
shilangyu 0fb53e3314 added a controller and more robust behavior 2020-09-18 23:24:58 +02:00
shilangyu 60dcf07001 convert hasMore into a ref + prevent double fetching 2020-09-17 19:49:42 +02:00
shilangyu 818097f962 created infinite scroll component 2020-09-17 19:43:26 +02:00
shilangyu a08a7c5b93 fix linting issues 2020-09-17 00:24:49 +02:00
shilangyu 0540be3ede activate prefer_final_locals lint rule 2020-09-16 23:22:04 +02:00
shilangyu d3eee1e837 replace route pages with cupertino ones 2020-09-16 22:53:04 +02:00
krawieck a5eaf784d5 convert pop to arrow function 2020-09-16 21:21:47 +02:00
krawieck d63c84d4bb Make comments selectable 2020-09-16 20:09:09 +02:00
krawieck 1e0fcf9c67 Fill errorWidget field on every cached network image, cuz otherwise they would break the app 2020-09-13 16:05:17 +02:00
krawieck 4bec0c533a Remove useless inkwell 2020-09-13 15:42:39 +02:00
krawieck 450f3373af remove dead code 2020-09-13 00:31:55 +02:00
Filip Krawczyk 8e9b1e17e4
Merge branch 'master' into media-view 2020-09-12 23:13:52 +02:00
krawieck f02a54a2f8 Cahnge `urlLauncher` to `linkLauncher` 2020-09-12 17:05:52 +02:00
krawieck 77d54016f3 Change `urlLanucher` signature to include `instanceUrl` 2020-09-12 09:30:22 +02:00
krawieck 83f4f61952 baseline for handling a lot of stuff 2020-09-11 23:54:28 +02:00
krawieck 676d1a4696 turn function into expression 2020-09-11 21:21:58 +02:00
krawieck ac70400c38 make import relative 2020-09-11 21:21:47 +02:00
krawieck dea677e218 remove dead code 2020-09-11 21:20:43 +02:00
krawieck 0f8a846e8a Make images in community, instance, markdown fullscreenable 2020-09-11 20:38:50 +02:00
krawieck 1746cc0db5 mark props as required and move onTap to a method 2020-09-11 20:36:19 +02:00
krawieck 6cc894be2c add widget for wrapping images that can be fullscreened 2020-09-11 20:26:06 +02:00
krawieck 4a5bb17afb Make image inside markdown fullscreenable 2020-09-11 19:29:17 +02:00
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