1
0
mirror of https://github.com/krawieck/lemmur/ synced 2024-12-17 19:09:07 +01:00
Commit Graph

465 Commits

Author SHA1 Message Date
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
krawieck
40c36c99cd rework debounce hook to be more friendly 2020-09-21 01:00:38 +02:00
shilangyu
cc7da5a045 preserve state on tab change 2020-09-20 23:27:04 +02:00
krawieck
5177f93131 implement debounce for adding instances 2020-09-20 20:09:41 +02:00
krawieck
c9fc536d09 add debounce hook 2020-09-20 20:00:48 +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
shilangyu
d99492d6cb created bottom bar 2020-09-19 23:56:07 +02:00
krawieck
6f94679eed redesign add account and add instance pages 2020-09-19 23:19:49 +02:00
shilangyu
6813ff47a7 better loading sizes 2020-09-19 21:51:22 +02:00
krawieck
f27ebf0da9 add option to long press to delete instance 2020-09-19 20:15:42 +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
30adc2be63 add default for delayed loading 2020-09-19 12:27:57 +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
krawieck
5b4107aee0 Convert add instance and account dialogs to pages 2020-09-19 01:34:04 +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
173f068cf0 change text to be more sane 2020-09-18 21:24:33 +02:00
krawieck
4b4e743413 Move message prop 2020-09-18 17:30:32 +02:00
krawieck
6cc0f70ec1 Make wording more formal 2020-09-18 17:28:09 +02:00
krawieck
10556770de Recude language cringyness 2020-09-18 17:27:01 +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
059cfd491c use loggedInAction hook in Community page 2020-09-18 15:57:45 +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
72949f4026 Change return type from String to Jwt 2020-09-18 15:48:37 +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
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
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
a9634380a0 fixed susyemnavigationbarcolor 2020-09-17 00:29:35 +02:00
shilangyu
c38dee0e73 an attempt at changing systemnavigationbarcolor 2020-09-17 00:25:19 +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