1
0
mirror of https://github.com/krawieck/lemmur/ synced 2024-12-16 18:39:21 +01:00
Commit Graph

719 Commits

Author SHA1 Message Date
shilangyu
b206d971ab refactor comment tree 2020-10-23 00:42:42 +02:00
shilangyu
b62ee7317a turned spaced helper into a extension 2020-10-23 00:38:25 +02:00
shilangyu
021af8497a removed dep for std solution 2020-10-06 17:02:19 +02:00
krawieck
a14560d11f notify user when they try to use feature that hasn't been implemented 2020-10-06 22:37:24 +02:00
krawieck
0f527212c5 simplify 2020-10-06 22:28:10 +02:00
krawieck
33ab5324c4 change media view transition to fade 2020-10-06 22:24:03 +02:00
krawieck
21fe2e9bac mark some stuff as private if it doesn't need to be accessible from outside the file 2020-10-06 17:28:11 +02:00
krawieck
1a4d231b1b convert absolute import to relative 2020-10-06 16:34:03 +02:00
krawieck
5c0fcce1f4 make ultimatefetcher more descriptive 2020-10-06 16:30:52 +02:00
krawieck
98557f9220 remove useless parentheses 2020-10-06 16:29:19 +02:00
krawieck
8cafde3ba4 add a single newline 2020-10-06 16:28:38 +02:00
krawieck
465ee7c7f2 remove debug print 2020-10-06 16:27:57 +02:00
krawieck
acbf2089e0 replace row + sizedbox with padding 2020-10-06 16:27:35 +02:00
krawieck
b82622190f add comma to make formatting more sane 2020-10-06 16:23:29 +02:00
krawieck
585baf58f9 add docs 2020-10-06 16:22:49 +02:00
krawieck
17f64e24e0 implement cleanupurl in addInstancePage 2020-10-06 16:19:03 +02:00
krawieck
fe494a3b0b move clean up to lemmyApi extensions 2020-10-06 15:58:58 +02:00
krawieck
56a77187b9 replace unnecesairy custom method with .take 2020-10-06 15:47:51 +02:00
krawieck
c4ed57d393 acomodate for situations where instance has less than 6 communities 2020-10-06 12:07:12 +02:00
krawieck
4058ebc200 convert some returns to => 2020-10-06 12:06:29 +02:00
krawieck
88d8e1bcde Merge branch 'master' into home_page 2020-10-06 12:04:31 +02:00
krawieck
b4673be5cd add todo 2020-10-06 01:07:42 +02:00
krawieck
ddf3e522aa show log in popup on tapping "subscribed" 2020-10-06 01:04:49 +02:00
krawieck
bb99c9d9f4 Make "subscribed" tile gray if user not logged in to that instance 2020-10-06 01:00:13 +02:00
krawieck
f8733da21d make title color match the color of the button on the right 2020-10-06 00:54:17 +02:00
krawieck
83a488c134 distribute posts evenly, kinda like zip function in python
regular sorting wasn't working unfortunately :/
2020-10-06 00:19:34 +02:00
krawieck
976f27680a add ontap for instances 2020-10-05 23:23:27 +02:00
krawieck
0ef538b7c7 add a todo 2020-10-05 23:14:36 +02:00
krawieck
f127528aaa remove useless comment 2020-10-05 23:11:55 +02:00
krawieck
3e7b70eb66 make text overflow into ellipsis 2020-10-05 23:11:41 +02:00
krawieck
571f6beb61 Add instance icons 2020-10-05 23:09:36 +02:00
krawieck
864c8a3948 make header pretty and functional 2020-10-05 21:55:33 +02:00
shilangyu
47ab40a4f6 moved delete action one higher 2020-10-05 21:38:19 +02:00
shilangyu
5c8ec4f0e4 forbid replying to removed/deleted comments 2020-10-05 14:38:38 +02:00
shilangyu
0877858380 added comments deletion, closes #16 2020-10-05 14:37:43 +02:00
krawieck
607c602e93 Revert "Create home tab with different listings"
This reverts commit 0734fb42fc.
2020-10-05 13:46:09 +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
927cde7a39 Revert "add placeholder inbox page"
This reverts commit 598200fa76.
2020-10-05 13:45:08 +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
01221bdd03 Revert "Put home tab to navigation"
This reverts commit cc99071ff9.
2020-10-05 13:44:04 +02:00
krawieck
cc99071ff9 Put home tab to navigation 2020-10-04 21:52:39 +02:00
krawieck
a8ac98284a add cleanup url util for removing stuff like www. from urls 2020-10-04 21:52:19 +02:00
krawieck
598200fa76 add placeholder inbox page 2020-10-04 21:51:38 +02:00
krawieck
6d8660c826 fix infinite scroll bug where it would not load when resetting 2020-10-04 21:51:26 +02:00
krawieck
0734fb42fc Create home tab with different listings 2020-10-04 21:50:40 +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
0669829815 dartfmt 2020-10-02 07:37:29 +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
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
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
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
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
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
shilangyu
5c871da9ff remove use prefix from hook file 2020-09-16 01:27:01 +02:00
krawieck
689dbff41e add a todo 2020-09-16 01:23:57 +02:00
krawieck
b5f803834e remove unnecesary check 2020-09-16 01:11:35 +02:00
krawieck
d98f93b0f5 make isAnonymousFor work for not added isntances 2020-09-16 01:10:46 +02:00
shilangyu
9d49dedcdb handle fetch failure 2020-09-16 00:40:19 +02:00
shilangyu
65f71eef1a replace full text match with fuzzy match + sort according to best match 2020-09-16 00:26:36 +02:00
krawieck
288aa52a66 Add trailing comma to make formatting less disturbing 2020-09-15 23:52:15 +02:00
krawieck
e977305a0e remove useless check. also fix an error 2020-09-15 23:46:55 +02:00
shilangyu
896337bf2f added some TODOs, moved a big handle out of UI, fix typo 2020-09-15 23:44:21 +02:00
krawieck
b329a5fe4e Refactor to use watch instead of select and add check if instance is added 2020-09-15 23:43:18 +02:00
krawieck
6310ed988b fix import mess 2020-09-15 16:20:03 +02:00
krawieck
024a2ce981 remove Dismissible and instead use GestureDetector for dismissal 2020-09-15 16:03:52 +02:00
krawieck
e553089032 refactor to use useMemoized and make subscribe button functional 2020-09-15 15:25:07 +02:00
krawieck
08c80b2568 Add tokenOrNull util function 2020-09-15 15:21:06 +02:00
krawieck
fb8f6bfaa5 add useMemoFuture hook 2020-09-15 15:20:34 +02:00
shilangyu
d68e9188ae moved extensions and hooks to separate folders 2020-09-15 15:14:24 +02:00
shilangyu
32cd87eefb hotfix: accounts are no persistently saved 2020-09-15 01:01:52 +02:00
shilangyu
b74e3e5491 capitalized filter 2020-09-15 00:23:52 +02:00
shilangyu
93177c0072 make the input smaller 2020-09-15 00:09:02 +02:00
shilangyu
feba320262 added useRef hook (might be useful later) 2020-09-15 00:01:59 +02:00
shilangyu
6df9060a72 loading animation after 500ms 2020-09-14 23:58:59 +02:00
shilangyu
6dac4ac72c sort communities and toggle instances 2020-09-14 23:54:47 +02:00
krawieck
f3176128c5 add return null to stfu the linter 2020-09-13 21:15:20 +02:00
krawieck
c89ad2833a Make useEffect actually work 2020-09-13 18:16:53 +02:00
krawieck
2e23148532 move ui showing/hiding logic to useEffect 2020-09-13 16:48:40 +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
49b23265c6 add return 2020-09-12 17:14:08 +02:00
krawieck
f02a54a2f8 Cahnge urlLauncher to linkLauncher 2020-09-12 17:05:52 +02:00
krawieck
383d194f51 Add missing type annotation 2020-09-12 17:03:00 +02:00
krawieck
3c22966ea3 Remove context from push signature cuz it was not needed 2020-09-12 10:25:22 +02:00
krawieck
bc3d67bb4e Fix opening instance, and handling unfortunate urls 2020-09-12 10:23:39 +02:00
krawieck
3740341327 Improve consistency 2020-09-12 09:44:23 +02:00