Commit Graph

520 Commits

Author SHA1 Message Date
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 4c5df61643 add todo to bad visibility widget 2020-10-01 00:06:05 +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 c839da022d small fixes 2020-09-30 20:10:13 +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
shilangyu e879a17948 go to instance/community 2020-09-30 01:23:04 +02:00
shilangyu d3f0dd3fd4 add useObserved hook 2020-09-30 01:19:44 +02:00
shilangyu af7cb62fac removed users from account store and used more utility methods 2020-09-29 23:15:51 +02: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 90bacfdc12 remove useless todo 2020-09-29 21:22:45 +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 c98cb781b1 Set limit to batchSize 2020-09-29 21:01:09 +02:00
krawieck d43ddd6c4f Set default instead of null coalescing 2020-09-29 21:00:50 +02:00
shilangyu 2724103e23 wrap in safearea 2020-09-29 15:00:50 +02:00
shilangyu 126128d320 corrected variable name 2020-09-29 15:00:13 +02:00
krawieck 5a858142b5 lint fixes
* convert import to relative
* convert `() {}` to `=>`
2020-09-29 12:24:52 +02:00
krawieck fe90119826 remove unneeded abstraction 2020-09-29 11:13:17 +02:00
krawieck e4b0441a36 convert to `SortableInfiniteList` 2020-09-29 11:11:43 +02:00
krawieck aefcf50fd1 add infinite comment list 2020-09-29 10:53:40 +02:00
krawieck c5040ce1fa fix import 2020-09-29 10:27:36 +02:00
krawieck 8f64e93705 create more universal `SortableInfiniteList` 2020-09-29 01:13:25 +02:00
krawieck eae8a3849a add brightness so that status bar icons have the right color 2020-09-29 00:59:19 +02:00
krawieck 6eb748194f implement infinite list for communities 2020-09-29 00:57: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 82a739b203 add infinite post list to instance page 2020-09-28 22:41:40 +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 d5a49e9e4c removed unused variable 2020-09-28 20:58:43 +02:00
Marcin Wojnarowski 4083742574
Merge branch 'master' into post-creation 2020-09-28 20:33:28 +02:00
shilangyu cb47607b2b add spacing to form fields 2020-09-28 20:28:16 +02:00
shilangyu bc736eb6aa replace route instead of pushing 2020-09-28 20:28:06 +02:00
shilangyu 15ebfb6caa replying to comments now works, fixes #58 2020-09-28 20:24:30 +02:00
krawieck b93d9efc1d implement infinite list for posts 2020-09-28 20:05:07 +02:00
krawieck 3739aa302f swap custom go to functions for premade ones 2020-09-28 20:04:44 +02:00
krawieck b4b41e848b add better handling of uncommon links 2020-09-28 19:58:09 +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
krawieck 93f1be94a0 add todo 2020-09-28 19:49:18 +02:00
shilangyu 37a3d95b06 add a really horrible all instances dropdown 2020-09-27 22:51:06 +02:00
shilangyu 0009082a40 dont preserve initial state in memo future 2020-09-27 22:50:21 +02:00
shilangyu cb2cc99546 show only logged in instances 2020-09-26 12:43:34 +02:00
Marcin Wojnarowski 1079431b33
Merge pull request #55 from krawieck/account-management-pages
Convert add instance and account dialogs to pages
2020-09-24 16:52:23 +02:00
krawieck c2f30665ec make disposal non-manual 2020-09-24 16:26:24 +02:00
krawieck a825a57840 add docstring 2020-09-24 15:50:52 +02:00
krawieck f746ed9479 make speed dial work with any theme 2020-09-24 15:48:05 +02:00
krawieck 3809dcd0cc change default debounce duration to 1 second 2020-09-24 15:41:03 +02:00
krawieck 121f4a424c support for actual urls 2020-09-24 15:38:54 +02:00
krawieck 6c8251b7aa fix debounce sideeffect to dispose debounce 2020-09-24 15:01:20 +02:00
shilangyu 80a06bf14b simplify automatic default account selection 2020-09-24 09:18:42 +02:00
krawieck 0be75b48da remove useless bool returns 2020-09-23 23:39:41 +02:00
krawieck f43910ddbe swap yes and no placements 2020-09-23 23:37:26 +02:00
krawieck 461cc56693 remove now useless loading variables that were replaced by debounce 2020-09-23 23:35:58 +02:00
krawieck 1fb221a034 conert listener to utilize `useEffect` 2020-09-23 23:31:34 +02:00
krawieck ff0c2829f6 correct url that is getting launched 2020-09-23 23:27:57 +02:00
krawieck 7a3ce4f0df remove useless generic 2020-09-23 23:23:38 +02:00
krawieck 6cfdc14c4c Remove `cancel` buttons, cuz they're wack 2020-09-23 23:21:41 +02:00
krawieck 7be73a48ce use effect hook instead of memoized and inside ontap 2020-09-23 23:20:16 +02:00
krawieck da80f8d789 add lint ignore comment to catch 2020-09-23 18:03:47 +02:00
krawieck 740905b902 add buttom for adding instance if no instance is added 2020-09-23 15:27:52 +02:00
krawieck a18300f0f1 add pick default reaction 2020-09-23 15:27:24 +02:00
shilangyu f0ba338bf6 connected CreatePost 2020-09-22 23:51:21 +02:00
shilangyu 65d5bcb824 created form fields for post creation 2020-09-22 23:50:18 +02:00
shilangyu b37277c072 useloggedinaction now handles non-specific instanceUrl 2020-09-22 23:17:42 +02:00
shilangyu 72ef4a6d26 added iterable of instance urls 2020-09-22 23:17:02 +02:00
krawieck 22eaa6cade update doc 2020-09-22 16:39:02 +02:00
krawieck a675377378 change bounce to callback 2020-09-22 16:33:02 +02:00
krawieck df4e1253b4 change `onDebounce` to `callback` 2020-09-22 13:50:54 +02:00
krawieck 15f408e8db mark `removeInstance` and `removeAccount` as actions 2020-09-22 13:38:31 +02:00
krawieck 57d4a8a27b Add speed dial for adding accounts and instances 2020-09-22 13:22:45 +02:00
krawieck 94c373a08b add todo comment 2020-09-22 01:21:03 +02:00
krawieck 330ca983e4 change wording: delete to remove 2020-09-22 01:05:20 +02:00
krawieck c1254b4426 make the button spamming-resistant 2020-09-22 01:00:31 +02:00
krawieck dfb372552b tiny tweaks and fixes
* use delayed loading hook instead of boolean variable
* fix pretty significant bug where adding account
  didn't take selected instance into account
* move navigator.pop() to the inside of try closure so
  that it doesn't pop when errors happen
2020-09-22 00:58:52 +02:00
krawieck 216049f23c add assumeValid param 2020-09-22 00:42:10 +02:00
krawieck 847ccfe887 remove catch with no `on` clause 2020-09-22 00:42:01 +02:00
krawieck 22fa916fbf Add `flutter_slidable` and use it for deleting accounts and instances 2020-09-22 00:34:45 +02:00
krawieck 377db0908b add error widget just in case 2020-09-21 23:49:46 +02:00
krawieck 13ee72e814 early return from debounce if input didn't change 2020-09-21 23:49:20 +02:00
krawieck 521cf3fbd0 remove useless comment 2020-09-21 23:17:55 +02:00
krawieck 2996c8e5ef make spinner smaller and of more visible color 2020-09-21 23:17:33 +02:00
krawieck 2c89534e2d add keys to scaffolds so that snackbars work properly 2020-09-21 23:15:45 +02:00
krawieck 3ca16ccf21 add `removeInstance` and `removeAccount` methods 2020-09-21 21:44:56 +02:00
krawieck 9497449a93 add option to assume that instance is valid and not do any requests 2020-09-21 21:44:16 +02:00
Filip Krawczyk 64d9065fbd
Merge pull request #53 from krawieck/bottom-bar 2020-09-21 20:48:35 +02:00
shilangyu 10b39052a9 add notch margin 2020-09-21 20:23:18 +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