Commit Graph

215 Commits

Author SHA1 Message Date
shilangyu 0877858380 added comments deletion, closes #16 2020-10-05 14:37:43 +02:00
krawieck 435fbc11c7 Revert "fix infinite scroll bug where it would not load when resetting"
This reverts commit 6d8660c826.
2020-10-05 13:45:20 +02:00
krawieck 5697405e32 Revert "add cleanup url util for removing stuff like `www.` from urls"
This reverts commit a8ac98284a.
2020-10-05 13:44:41 +02:00
krawieck a8ac98284a add cleanup url util for removing stuff like `www.` from urls 2020-10-04 21:52:19 +02:00
krawieck 6d8660c826 fix infinite scroll bug where it would not load when resetting 2020-10-04 21:51:26 +02:00
Filip Krawczyk c6a1eff7ed
Merge pull request #63 from krawieck/profile-tab-revamp 2020-10-02 23:39:19 +02:00
shilangyu 6604dcb9af apply changes requested from CR 2020-10-02 20:07:13 +02:00
shilangyu cc3a2c2e4f added dartdoc comment 2020-10-01 18:15:08 +02:00
shilangyu c0dd6c1c1f add about tile, closes 38 2020-10-01 17:57:04 +02:00
shilangyu f123d8edd5 fix placeholder banner 2020-10-01 15:55:22 +02:00
shilangyu ba3c1d59e1 add edit button on owned accounts 2020-09-30 23:53:20 +02:00
shilangyu 701b6f8de3 render contents of the tabs 2020-09-30 23:43:21 +02:00
shilangyu 4db7ec3fee remove loading checks and add slivers 2020-09-30 21:47:14 +02:00
shilangyu aa5d9832d6 run dartfmt 2020-09-30 19:37:56 +02:00
shilangyu 94d12fccff added lots of dartdoc/comments 2020-09-30 17:05:00 +00:00
Marcin Wojnarowski f37f01951f
Merge pull request #60 from krawieck/infinite-list-in-action 2020-09-29 21:55:04 +02:00
krawieck e1ba4e4dd4 replace every `Container()` with `SizedBox.shrink()` 2020-09-29 21:45:18 +02:00
krawieck e234a6a527 Set default instead of null coalescing 2020-09-29 21:34:05 +02:00
krawieck 487a2aab1d mark fetcher props as required 2020-09-29 21:08:02 +02:00
krawieck caed03fb68 add a todo for compact post 2020-09-29 21:05:30 +02:00
krawieck 5a858142b5 lint fixes
* convert import to relative
* convert `() {}` to `=>`
2020-09-29 12:24:52 +02:00
krawieck aefcf50fd1 add infinite comment list 2020-09-29 10:53:40 +02:00
krawieck 8f64e93705 create more universal `SortableInfiniteList` 2020-09-29 01:13:25 +02:00
krawieck a3b152706a add option to not show style button 2020-09-29 00:35:05 +02:00
krawieck ececfaf93e Replace `describeEnum` by nice lookin string 2020-09-29 00:34:35 +02:00
krawieck b9337a43ae a bunch of small fixes
* add media type: none
* change more icon size
* add support for empty post url
* add support for no embed title & description
2020-09-28 23:28:41 +02:00
krawieck 1d7a5fbf0a change default badge border radius 2020-09-28 22:35:48 +02:00
krawieck 175248e06e moved infinite post list to a separate widget 2020-09-28 22:12:40 +02:00
shilangyu 15ebfb6caa replying to comments now works, fixes #58 2020-09-28 20:24:30 +02:00
krawieck 147db8e1fe add option to include widget before the list, but that is still scrollable 2020-09-28 19:55:10 +02:00
shilangyu 377ad99fb5 limit commenting to logged in users 2020-09-21 20:19:14 +02:00
shilangyu 910e214f48 use cupertino modal popups 2020-09-21 20:18:57 +02:00
shilangyu 5409cde5d0 commenting on a post now works 2020-09-21 13:30:47 +02:00
shilangyu 222f3aedc1 replying to comments works 2020-09-21 13:20:25 +02:00
shilangyu ca749a9d40 connected replying 2020-09-21 13:20:07 +02:00
shilangyu 82d153533a fix bug where scores would show as 1 too many or 1 too few 2020-09-21 12:47:16 +02:00
shilangyu d0913ca3fa create write comment widget 2020-09-21 01:37:34 +02:00
shilangyu 6813ff47a7 better loading sizes 2020-09-19 21:51:22 +02:00
krawieck 7d8db2e83c add children count for collapsed comments 2020-09-19 15:06:50 +02:00
krawieck f091603347 Make comment less than 80 chars long 2020-09-19 14:05:58 +02:00
shilangyu c8c5b2881f ability to vote on comments 2020-09-19 12:28:46 +02:00
shilangyu 016537d8d2 ability to collapse a comment 2020-09-19 12:01:12 +02:00
shilangyu e938224df0 added comment saving 2020-09-19 02:04:00 +02:00
shilangyu e96cb9019b disallow copying when comment was removed/deleted 2020-09-19 02:03:37 +02:00
shilangyu 94ac08825e fix rebase files 2020-09-19 01:06:35 +02:00
Marcin Wojnarowski aa5b06a676
Merge branch 'master' into infinite-scroll 2020-09-19 00:42:47 +02:00
shilangyu dea66fe8bf hotfix: move api_extensions to dedicated folder 2020-09-19 00:40:47 +02:00
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
krawieck a50501d434 fix up of votes 2020-09-18 22:07:48 +02:00
krawieck 1e59382214 convert `Voting` to use `loggedInAction` hook 2020-09-18 21:56:42 +02:00
krawieck 620c2a6ee4 add lint ignore comment 2020-09-18 16:16:39 +02:00
krawieck baea08f857 remove unused function 2020-09-18 16:16:08 +02:00
krawieck 65fdb1932f Add lint ignore comment 2020-09-18 15:55:39 +02:00
krawieck f11999c73a import cleanup 2020-09-18 15:55:23 +02:00
krawieck f1b41217ac switch to `loggedInAction` hook 2020-09-18 15:49:36 +02:00
krawieck 3e07c963ac add tooltip 2020-09-18 12:48:32 +02:00
krawieck 7f981fe436 better loading handling 2020-09-18 01:29:17 +02:00
krawieck 700112e20b Add save post button 2020-09-17 22:50:18 +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
krawieck cc229f0bd3 remove useless functions 2020-09-17 18:45:00 +02:00
krawieck c9558a5945 Add voting widget for handling voting 2020-09-17 16:46:40 +02:00
krawieck c4329a163f remove obsolete todo 2020-09-17 15:25:47 +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