1
0
mirror of https://github.com/krawieck/lemmur/ synced 2024-12-18 11:28:45 +01:00
Commit Graph

55 Commits

Author SHA1 Message Date
shilangyu
e7745e3e9b Constify the whole codebase 2021-01-03 18:43:39 +00:00
shilangyu
3de35752b2 Enable first part of const lint rules 2021-01-03 17:21:56 +00:00
shilangyu
c465b09f56 Enable sort children last 2021-01-03 17:13:25 +00:00
shilangyu
a803e091dc Add new easy-to-fix lint rules 2021-01-03 17:03:59 +00:00
shilangyu
86ad944bbd fix visual federation bugs 2021-01-02 00:13:13 +00:00
shilangyu
58f964ab66 Fix federation errors and rename all instanceUrl to instanceHost 2020-12-31 13:58:23 +00:00
krawieck
58e7219602 adapt tripple dot icon to platform
(android: vertical, iOS: horizontal)
2020-12-04 13:57:37 +01:00
krawieck
4f2f6d8e3e showInfoTablePopup usability changes
* append ":" to every key
* expect dynamic value and convert it to string in the function
2020-10-27 22:09:34 +01:00
krawieck
e4055f073e implement info table popup 2020-10-26 18:47:49 +01:00
shilangyu
94d12fccff added lots of dartdoc/comments 2020-09-30 17:05:00 +00:00
krawieck
e1ba4e4dd4 replace every Container() with SizedBox.shrink() 2020-09-29 21:45:18 +02:00
krawieck
c98cb781b1 Set limit to batchSize 2020-09-29 21:01:09 +02:00
krawieck
aefcf50fd1 add infinite comment list 2020-09-29 10:53: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
krawieck
b93d9efc1d implement infinite list for posts 2020-09-28 20:05:07 +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
krawieck
059cfd491c use loggedInAction hook in Community page 2020-09-18 15:57:45 +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
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
689dbff41e add a todo 2020-09-16 01:23:57 +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
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
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
77d54016f3 Change urlLanucher signature to include instanceUrl 2020-09-12 09:30:22 +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
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
1162fb1cd7 Create universal functions for going to common pages 2020-09-09 17:41:54 +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
krawieck
e7380b4914 Move constructors above methods 2020-09-07 21:42:04 +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
48a0851e06 Make buttons more round (and stylish ) 2020-09-06 00:39:38 +02:00