1
0
mirror of https://github.com/krawieck/lemmur/ synced 2024-12-17 10:59:29 +01:00
Commit Graph

84 Commits

Author SHA1 Message Date
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
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
krawieck
bb789b3ac9 Cleanup and a addition of couple comments 2020-09-09 19:23:41 +02:00
krawieck
1162fb1cd7 Create universal functions for going to common pages 2020-09-09 17:41:54 +02:00
Marcin Wojnarowski
0fa880fdbc
Merge pull request #33 from krawieck/instance-page 2020-09-09 11:38:13 +02:00
krawieck
232cd32cf0 Add image error handling 2020-09-09 11:32:34 +02:00
krawieck
d1cb84ba29 Properly handle empty usernames 2020-09-09 11:19:12 +02:00
krawieck
1fe1562ef2 Remove useless comment 2020-09-09 11:18:01 +02:00
krawieck
d9d726b350 Remove unnecessary string interpolation 2020-09-09 11:12:43 +02:00
krawieck
3abd5875ee Remove "rencently banned" list. leave a button to it instead 2020-09-09 11:09:38 +02:00
krawieck
b59022b001 Fix copy-paste artifacts 2020-09-09 11:05:39 +02:00
krawieck
77d010d15c Add "nerd stuff" section to ... menu that just spits out random info about this instance 2020-09-09 01:22:07 +02:00
Filip Krawczyk
8bd4218dd3
Merge pull request #31 from krawieck/user-profile-page 2020-09-08 23:23:28 +02:00
krawieck
2e6c1dba4d Last minute tweaks 2020-09-08 23:16:30 +02:00
krawieck
865ec24db6 All hail the linter 2020-09-08 23:10:40 +02:00
krawieck
34cd4ff1c1 Add communities list page 2020-09-08 23:01:40 +02:00
shilangyu
50870ccd08 handling non-existant users 2020-09-08 22:56:45 +02:00
krawieck
e3ef1fab2d Add share functionality, triple dot menu with 1 item
the 1 item is "open in browser"
2020-09-08 22:33:11 +02:00
shilangyu
6449929030 handling anonymous users in profile tab 2020-09-08 21:45:17 +02:00
shilangyu
62beee4d5c exporting Accounts and Appearance pages 2020-09-08 21:44:27 +02:00
krawieck
9e0011f528 Make one title match all others 2020-09-08 21:20:29 +02:00
krawieck
2c20779387 Make share button actualy do something 2020-09-08 21:18:17 +02:00
shilangyu
bd20931235 changed icon to email 2020-09-08 21:17:17 +02:00
shilangyu
d9a7ce9773 created user page 2020-09-08 21:08:50 +02:00
krawieck
ef1ae9cdd9 Add UsersListPage and button for going to page with all banned users 2020-09-08 20:24:36 +02:00
krawieck
d333f15fad Convert all inline function to methods 2020-09-08 19:52:09 +02:00
krawieck
7a140fca6f Add recently banned section and modlog tile 2020-09-08 19:44:04 +02:00
krawieck
8c5def182d Add admin section 2020-09-08 19:14:05 +02:00
krawieck
c38fc3f7a0 Add trending communities section 2020-09-08 18:57:48 +02:00
Filip Krawczyk
05287f7ef6
Merge pull request #28 from krawieck/amoled-dark-mode 2020-09-08 16:49:03 +02:00
shilangyu
94daf2acc6 moved out logic from UI 2020-09-08 16:41:46 +02:00
shilangyu
8eb31434e2 used expression functions where possible 2020-09-08 16:38:59 +02:00
shilangyu
81b10cf3e3 removed unnecessary dividers 2020-09-08 16:37:58 +02:00
shilangyu
94ff01bc55 moved cancel buttons before add buttons 2020-09-08 16:35:54 +02:00
shilangyu
ffa484d895 capitalized amoled 2020-09-08 10:24:47 +02:00
shilangyu
caff01130b added amoled dark mode 2020-09-08 10:23:08 +02:00
shilangyu
c08e07311a you can now add accounts/instances 2020-09-08 01:27:02 +02:00
shilangyu
1dee2e21f5 added adding instances 2020-09-08 00:34:09 +02:00
krawieck
45e42ac322 Convert functions with immidiate returns to expressions
change () { return X; }
    to () => X
2020-09-07 23:13:05 +02:00
krawieck
4deafcb29f Instead of passing to _AboutTab hardcode functions
the hardcoded functions are:
* `goToUser`
* `goToModLog`
* `goToCategories`
2020-09-07 23:09:53 +02:00
krawieck
c2dedb14ac Make 3 constructors for CommunityPage instead of 2
instead of single default constructor using name of the
community, there are now 2 where first takes community
name, and second which takes the id
2020-09-07 21:57:43 +02:00
krawieck
f00c02b631 Fix misuse of assert 2020-09-07 21:47:33 +02:00