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

373 Commits

Author SHA1 Message Date
shilangyu
ed6c00172c seperated addition of instances and accounts 2020-09-07 23:43:23 +02:00
Marcin Wojnarowski
b214c13827
Merge pull request #26 from krawieck/community-page 2020-09-07 23:31:57 +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
327cc8a208 Rename SortPostsPicker to PostListOptions 2020-09-07 22:49:41 +02:00
krawieck
0da1d229dc Change enum.toString() to describeEnum(enum) 2020-09-07 22:05:50 +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
krawieck
e7380b4914 Move constructors above methods 2020-09-07 21:42:04 +02:00
krawieck
c53cd047b7 Add InstancePage
* top section finished
* about section partially done
2020-09-07 21:29:07 +02:00
krawieck
5509e0bc90 Update property 2020-09-07 20:22:31 +02:00
krawieck
29e40887fb Tiny visual tweaks 2020-09-07 16:24:09 +02:00
krawieck
86f203ae55 Change flat buttons to outline buttons 2020-09-07 16:23:53 +02:00
krawieck
9f1d5bc5ac Adjust import formatting 2020-09-07 16:19:28 +02:00
krawieck
48a0851e06 Make buttons more round (and stylish ) 2020-09-06 00:39:38 +02:00
krawieck
51100c297c Bump lemmy_api_client 2020-09-06 00:20:08 +02:00
krawieck
af3787740c Adjust padding on badges 2020-09-06 00:08:50 +02:00
krawieck
e3dc2d1e14 Rename _AboutSection to _AboutTab 2020-09-06 00:03:52 +02:00
krawieck
3bb347fc02 Add picker for post sorting 2020-09-05 23:55:07 +02:00
krawieck
712ee3c8e2 Make it usable with very tall content
also it can now be paired with `isScrollControlled: true` passed to `showModalBottomSheet`
2020-09-05 23:48:30 +02:00
krawieck
ff827e6126 Add category, modlog, list of mods, and refine other stuff 2020-09-05 19:27:11 +02:00
krawieck
be49e93b28 Add about section with description and badges 2020-09-05 18:17:09 +02:00
krawieck
de625de379 Add option to change Badge border radius 2020-09-05 18:16:16 +02:00
krawieck
88d796def7 Create CommunityPage and create everything above tabs 2020-09-05 17:13:23 +02:00
Marcin Wojnarowski
6eb0d10fb9
Merge pull request #25 from krawieck/profile-tweaks 2020-09-04 11:13:12 +02:00
krawieck
05eb748980 Add todo comment 2020-09-04 11:08:11 +02:00
krawieck
8f9bf91056 Turn bio into IIFE 2020-09-04 11:04:10 +02:00
krawieck
e788ed03e5 Increase vertical padding between items 2020-09-03 23:35:13 +02:00
krawieck
36cd9c5df0 oops wrong color 2020-09-03 23:26:17 +02:00
krawieck
78208c1306 Make bottom modal usable in dark mode 2020-09-03 23:23:36 +02:00
krawieck
ebee170b44 Add padding around bio 2020-09-03 23:22:11 +02:00
krawieck
67b8ad3730 Remove unnecessary piece of code 2020-09-03 23:18:48 +02:00
krawieck
73a079bfca Change section heading 2020-09-03 23:14:26 +02:00
krawieck
b704502c7d Convert Columns to ListViews where appropriate 2020-09-03 22:20:32 +02:00
krawieck
b2f8e88375 Increase horizontal padding 2020-09-03 22:14:07 +02:00
krawieck
d8234a671a Replace icon shadow with black gradient top to bottom 2020-09-03 22:10:22 +02:00
krawieck
df36d0c06c Make username on top of the screen look like other appbar titles 2020-09-03 22:08:32 +02:00
krawieck
ee0df56448 make badge color visible on different BGs 2020-09-03 16:18:42 +02:00
Marcin Wojnarowski
83ce411db4
Merge pull request #24 from krawieck/full-post 2020-09-03 14:59:55 +02:00
krawieck
2ccf2d953e Merge branch 'master' into full-post 2020-09-03 14:41:30 +02:00
krawieck
a4ff7b5336 Change Settings to SettingsPage 2020-09-03 14:33:17 +02:00
krawieck
869bb0eccc remove useless import 2020-09-03 14:00:06 +02:00
krawieck
e309c165d3 Change fullPostFuture to fullPostSnap and simplify error handling 2020-09-03 13:56:37 +02:00
krawieck
d49715fb64 Revert "Add Page suffix to Settings"
This reverts commit b5277064a3.
2020-09-03 13:43:51 +02:00
krawieck
b5277064a3 Add Page suffix to Settings 2020-09-03 13:06:10 +02:00
krawieck
31e51c424f Move burden of fetching to full_post 2020-09-03 13:02:38 +02:00
krawieck
8f6a1a6901 Add explenation why calculate hot rank and where
it was taken from
2020-09-03 12:29:39 +02:00
krawieck
11a2e40dfd Change log to log10 and remove useless code 2020-09-03 12:23:46 +02:00
krawieck
54a4716feb Add ways to mark post
Now post can be marked as:
* stickied
* nsfw
* removed
* deleted
2020-09-03 00:35:08 +02:00
krawieck
7f0f0c11f1 Move InkWell one widget down 2020-09-03 00:18:29 +02:00