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

333 Commits

Author SHA1 Message Date
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
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
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
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
Marcin Wojnarowski
abb107fbbf
Merge pull request #36 from krawieck/media-view 2020-09-13 21:25:23 +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
Marcin Wojnarowski
ba8b2cd55c
Merge pull request #37 from krawieck/link-handling 2020-09-12 19:00:36 +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
krawieck
84d29bdf47 Remove accidentally committed debug prints 2020-09-12 09:43:21 +02:00
krawieck
dedf219279 Add handling of links to comments in posts 2020-09-12 09:40:47 +02:00
krawieck
77d54016f3 Change urlLanucher signature to include instanceUrl 2020-09-12 09:30:22 +02:00
krawieck
28bbe5b06f Add support for /u/user and /c/community style of links 2020-09-12 00:46:16 +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
83f4f61952 baseline for handling a lot of stuff 2020-09-11 23:54:28 +02:00
krawieck
676d1a4696 turn function into expression 2020-09-11 21:21:58 +02:00
krawieck
ac70400c38 make import relative 2020-09-11 21:21:47 +02:00
krawieck
dea677e218 remove dead code 2020-09-11 21:20:43 +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
1746cc0db5 mark props as required and move onTap to a method 2020-09-11 20:36:19 +02:00
krawieck
6cc894be2c add widget for wrapping images that can be fullscreened 2020-09-11 20:26:06 +02:00
krawieck
4a5bb17afb Make image inside markdown fullscreenable 2020-09-11 19:29:17 +02:00
krawieck
9e27380985 use mediaviewpage in a post 2020-09-11 19:21:59 +02:00
krawieck
689b4c41cc Move media_view to pages, cuz it has a scaffold 2020-09-11 19:20:00 +02:00
krawieck
e4e7f1d9a1 add dismiss handling. not perfect and prolly not final 2020-09-11 15:56:22 +02:00
krawieck
c7baa125c4 add basic functionality to share button
add bottom sheet that opens when clicking
the share button. 2 options are present.
share url and share file
share url works
share file not yet
2020-09-11 11:24:06 +02:00
krawieck
a8607fd661 Simplify hiding the appbar 2020-09-11 11:00:04 +02:00
krawieck
13b1a7ad8b Enter fullscreen when hiding buttons 2020-09-11 10:54:03 +02:00
krawieck
5fa9e22cd5 Add media view widget 2020-09-10 23:03:50 +02:00
Marcin Wojnarowski
c5e90346fe
Merge pull request #34 from krawieck/integration-and-polish
Integration and polish
2020-09-10 15:41: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
1e43d1a482 Move const structures to their own object to prevent spillage 2020-09-10 15:24:45 +02:00