Commit Graph

163 Commits

Author SHA1 Message Date
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 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 40c36c99cd rework debounce hook to be more friendly 2020-09-21 01:00:38 +02:00
krawieck 5177f93131 implement debounce for adding instances 2020-09-20 20:09:41 +02:00
krawieck f180c9d688 make spinner a bit smaller 2020-09-20 01:09:09 +02:00
krawieck 8f03b695ab remove img 2020-09-20 01:04:00 +02:00
krawieck 02ea560cc4 remove useless comments 2020-09-20 01:02:06 +02:00
krawieck 18556b5db4 Add instance logo in add account page 2020-09-20 00:15:36 +02:00
krawieck 6f94679eed redesign add account and add instance pages 2020-09-19 23:19:49 +02:00
krawieck f27ebf0da9 add option to long press to delete instance 2020-09-19 20:15:42 +02:00
krawieck 5b4107aee0 Convert add instance and account dialogs to pages 2020-09-19 01:34:04 +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
krawieck 059cfd491c use `loggedInAction` hook in Community page 2020-09-18 15:57:45 +02:00
krawieck 700112e20b Add save post button 2020-09-17 22:50:18 +02:00
krawieck 5b014bd2c0 remove useless comment 2020-09-17 18:40:13 +02:00
krawieck 689bb79414 convert import to relatvie 2020-09-17 18:38:03 +02:00
krawieck c8c91c1ada Use token for post request 2020-09-17 18:37:27 +02:00
krawieck c83d92f79d Convert to using `useMemoFuture` 2020-09-17 18:34:03 +02:00
shilangyu a08a7c5b93 fix linting issues 2020-09-17 00:24:49 +02:00
shilangyu 08af8e5997 cleanup some TODOs 2020-09-16 23:29:14 +02:00
shilangyu 0540be3ede activate prefer_final_locals lint rule 2020-09-16 23:22:04 +02:00
shilangyu c6b03c3aef added hook for stores 2020-09-16 23:15:42 +02:00
shilangyu d3eee1e837 replace route pages with cupertino ones 2020-09-16 22:53:04 +02:00
Filip Krawczyk fc52ce91a8
Merge pull request #41 from krawieck/community-sub-button 2020-09-16 22:14:35 +02:00
krawieck 6af2349867 import cleanup 2020-09-16 22:09:11 +02:00
shilangyu a2b5a0a6f2 properly handling null in AccountsStore (removed tokenOrNull) 2020-09-16 21:51:08 +02:00
Filip Krawczyk ee097ef386
Merge pull request #39 from krawieck/communities-tab 2020-09-16 01:34:10 +02:00
shilangyu 0352586f97 changed border radius 2020-09-16 01:28:40 +02:00
shilangyu 6625fe4da3 created useDelayedLoading 2020-09-16 01:27:49 +02:00
krawieck 689dbff41e add a todo 2020-09-16 01:23:57 +02:00