Commit Graph

127 Commits

Author SHA1 Message Date
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
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 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
shilangyu d68e9188ae moved extensions and hooks to separate folders 2020-09-15 15:14:24 +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 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
Filip Krawczyk 8e9b1e17e4
Merge branch 'master' into media-view 2020-09-12 23:13:52 +02:00
krawieck 383d194f51 Add missing type annotation 2020-09-12 17:03:00 +02:00
krawieck 77d54016f3 Change `urlLanucher` signature to include `instanceUrl` 2020-09-12 09:30:22 +02:00
krawieck 704daca4c7 Add support for a number of pages
Linking to those pages is now supported:
* `CommunityPage` (https://lemmy.instance/c/community_name)
* `UserPage` (https://lemmy.instance/u/username)
* `FullPostPage` (https://lemmy.instance/)
2020-09-12 00:26:54 +02:00
krawieck e735f065e1 make instance banner fullscreenable 2020-09-11 21:18:45 +02:00
krawieck 4cc1bd56b0 Make banner fullscreenable 2020-09-11 20:43:00 +02:00
krawieck 0f8a846e8a Make images in community, instance, markdown fullscreenable 2020-09-11 20:38:50 +02:00
krawieck 689b4c41cc Move media_view to pages, cuz it has a scaffold 2020-09-11 19:20:00 +02:00
shilangyu 2238e3303b added lacking iconbuttons 2020-09-10 23:35:14 +02:00
shilangyu f14c8730e2 added filter 2020-09-10 23:19:44 +02:00
krawieck 36534becf4 don't be engwy liter-senpai 2020-09-10 15:35:06 +02:00
krawieck 446b2ca598 remove modifying system chrome 2020-09-10 15:30:06 +02:00
krawieck 53f5570666 Remove unneeded context passing 2020-09-10 15:18:24 +02:00
krawieck 4ca8e96e97 use `useEffect` instead of just plainly changing systemChrome 2020-09-10 15:16:45 +02:00
krawieck 71272af69c Adjust brightness so that status bar sets itself to the right color 2020-09-09 22:15:39 +02:00
krawieck 11e6c4881b add more menu 2020-09-09 22:04:50 +02:00
krawieck 0bd0efa320 Add more menu 2020-09-09 21:23:48 +02:00
shilangyu 0b9c478e34 added vertical trail 2020-09-09 20:47:34 +02:00
shilangyu 09270c43f4 correctly handling missing icons 2020-09-09 19:25:12 +02:00