Commit Graph

414 Commits

Author SHA1 Message Date
shilangyu eff42b6b4f Add deleted by creator 2021-03-09 08:53:26 +01:00
shilangyu 20c34b4477 Localize enums 2021-03-09 08:51:08 +01:00
shilangyu 0adea8f0a9 Add language names 2021-03-04 09:46:08 +01:00
shilangyu b9a60ca599 Integrate more strings 2021-03-03 13:16:05 +01:00
shilangyu 7f3dac1f89 Remove all non-migrated strings 2021-03-03 12:31:36 +01:00
shilangyu ca8cb67f6d Integrate first batch of strings 2021-03-01 14:21:45 +01:00
shilangyu 79ae723bed Fix language picker 2021-02-28 21:53:02 +01:00
shilangyu c1ec5c6a7b Change string name 2021-02-28 21:53:02 +01:00
shilangyu 734a63e7dd Initial strings setup 2021-02-28 21:53:02 +01:00
shilangyu 8e7602ce3d Add token when fetching communities 2021-02-25 21:54:55 +01:00
shilangyu fcf39be00f Fix null check typo 2021-02-25 21:23:54 +01:00
Filip Krawczyk 19b2688316
add inbox page + other stuff (#164) 2021-02-24 20:52:18 +01:00
shilangyu 9984dbffa2 Sort imports 2021-02-21 16:29:12 +01:00
Marcin Wojnarowski 869f674880
Merge branch 'master' into modlog 2021-02-20 17:07:59 +01:00
shilangyu 8b1fab1fd0 Push buttons always to bottom 2021-02-20 17:00:36 +01:00
shilangyu a0258d65e5 Add code review suggestions 2021-02-19 20:06:01 +01:00
wolf4ood 9ac6fc209e fix lint errors 2021-02-19 14:03:19 +01:00
wolf4ood 41da3bd865 Add button to community page for creating a new post. https://github.com/krawieck/lemmur/issues/90 2021-02-18 23:03:12 +01:00
shilangyu 3b3d9855ec Make table border visible in AMOLED mode 2021-02-18 17:22:32 +01:00
shilangyu 46059b5b83 Remove unneeded nullish coalescing 2021-02-18 17:13:20 +01:00
shilangyu 8464fe4146 Small visual changes 2021-02-18 13:14:03 +01:00
shilangyu c8124e4ffc Add avatar to mod 2021-02-18 10:24:33 +01:00
shilangyu 11ded1b4b4 Fill in text for modlog 2021-02-18 10:21:10 +01:00
shilangyu ae33e277a8 Add avatar widget 2021-02-18 09:19:00 +01:00
shilangyu 5326eda8f6 Add pagination 2021-02-17 00:40:26 +01:00
shilangyu 2c2c33494d Add initial modlog 2021-02-16 22:39:46 +01:00
shilangyu 65013609ab Move saved_page 2021-02-09 20:39:45 +01:00
shilangyu 737ded307e Clean up inifinite lists 2021-02-09 20:39:31 +01:00
shilangyu 2b95ea5f0f Add saved page 2021-02-09 19:25:17 +01:00
Marcin Wojnarowski b1dad4d895
Revise theming (#140) 2021-02-09 15:12:13 +01:00
Filip Krawczyk 430d196997
Media View improvements (#128) 2021-02-08 12:15:48 +01:00
shilangyu 0c7c778e85 Change create post fetching to .all 2021-01-31 15:56:08 +00:00
shilangyu e0626925ab Display online counts 2021-01-31 14:07:36 +00:00
shilangyu 0ddf488602 Bump lemmy_api_client and adjust to changes 2021-01-31 13:42:28 +00:00
shilangyu 92cdfdbc2c Code review suggestions 2021-01-31 13:38:47 +00:00
shilangyu 5dff114160 Handle account changes in home tab 2021-01-30 17:41:16 +00:00
shilangyu 0fb7b86a39 Add checks in search tab 2021-01-30 17:41:16 +00:00
shilangyu 9b3b770c34 Make communities tab reactive to accounts change 2021-01-30 17:41:16 +00:00
shilangyu ad6b28fdb1 Use the .displayName extension 2021-01-30 17:41:16 +00:00
krawieck 735bd52be2 fix lint errors 2021-01-26 23:51:02 +01:00
krawieck 1812d70546 remove widget that was mistakenly commited 2021-01-26 23:38:23 +01:00
krawieck 8d0f85ceae add reusable widget BottomSafe 2021-01-26 23:16:47 +01:00
krawieck 618b8c93e1 remove unnecesary safearea 2021-01-26 22:20:43 +01:00
krawieck 1f26bf70ae add arg to safearea specifying what kind of padding should it use 2021-01-26 22:19:26 +01:00
krawieck 347ba7aae5 rename a widget contructor 2021-01-26 22:18:53 +01:00
krawieck dec2147b38 remove debugging debris 2021-01-26 21:55:57 +01:00
krawieck 190ae1b3ae revise api extensions
* change originInstanceHost extensions to
  extract from deeper structures
* add extension for getting proper user name
  that includes originInstanceHost if needed
2021-01-24 23:06:54 +01:00
krawieck 6c1049b5ee add safearea in useful places 2021-01-24 22:59:20 +01:00
krawieck c2f528750a transition all api v1 calls to api v2 2021-01-24 20:01:55 +01:00
shilangyu 1a70776fb7 Change padding from 14 to 15 2021-01-17 17:57:57 +00:00
shilangyu f37da51137 Make tokens in AccountsStore private 2021-01-17 16:35:47 +00:00
shilangyu f0cfdc8bb8 Add missing fields 2021-01-17 16:21:46 +00:00
shilangyu f9573fd501 Fix typos 2021-01-16 19:22:26 +00:00
shilangyu 3dbcc77cf6 Fix bug where picture would be cleanuped even when used 2021-01-16 19:22:26 +00:00
shilangyu 39911f1c04 Remove debug comment 2021-01-16 19:22:26 +00:00
shilangyu 51cddc0f0d Save the very first initialUrl and add loading 2021-01-16 19:22:26 +00:00
shilangyu 955d313b89 Add account removal 2021-01-16 19:22:26 +00:00
shilangyu 47b773376a Add image uploading 2021-01-16 19:22:26 +00:00
shilangyu 50bd46cf88 Boostrap managing account page 2021-01-16 19:22:26 +00:00
Marcin Wojnarowski e5d0c589fd
Merge pull request #109 from krawieck/local-home 2021-01-16 14:56:29 +01:00
krawieck 81fa4aac86 make listing type selection more universal 2021-01-16 14:50:27 +01:00
krawieck fc256d800d simplify getting listing type title 2021-01-16 14:48:15 +01:00
krawieck 55ad00cfff add more menu
add more menu that contains:
* open in browser
* nerd stuff
2021-01-16 13:28:25 +01:00
krawieck 0602c2d7f7 Add local support to home tab
now user can select to display only local posts
2021-01-16 13:22:23 +01:00
Marcin Wojnarowski 114a494d7e
Merge pull request #100 from krawieck/search-tab 2021-01-10 14:54:04 +01:00
krawieck cdb9048b9b assert isntanceHost in SelectInstanceButton not null 2021-01-10 14:47:53 +01:00
krawieck f80ab01e04 change all variables with name `instance` to `instanceHost` 2021-01-10 01:51:26 +01:00
krawieck 586f26c277 Mark user as required and assert to not null 2021-01-10 01:49:21 +01:00
krawieck 75b55e02e8 change account store variable name 2021-01-09 22:50:14 +01:00
krawieck 9ab502b55d replace void Function with typedef ValueChanged 2021-01-09 20:09:50 +01:00
krawieck 0af78fa4c2 add batch size 2021-01-09 20:07:22 +01:00
krawieck 6e5e48d05f replace Error with UnimplementedError 2021-01-09 20:06:16 +01:00
krawieck bf5d8b4db6 fine. 2021-01-09 20:04:25 +01:00
krawieck b2ea9d3159 mark community as required, and add assert to make sure it really is 2021-01-09 20:03:06 +01:00
krawieck 1d872a6f23 replace shell of gotouser with an actual call of function 2021-01-09 20:01:54 +01:00
krawieck fd2de00c96 make user required 2021-01-09 20:01:25 +01:00
krawieck d5896692f3 remove gotouser, since it's not needed anymore 2021-01-09 19:58:21 +01:00
krawieck dc232b53a1 remove useless comments 2021-01-09 19:56:48 +01:00
krawieck 80ee59926b onChange -> onChange?.call 2021-01-09 19:55:52 +01:00
krawieck 25806a6081 remove state from select instance button 2021-01-09 19:54:55 +01:00
krawieck 8837a6956a remove useless checking 2021-01-09 19:24:07 +01:00
krawieck b874836b2c remove autofocus, cuz it messes with other tabs 2021-01-09 19:23:26 +01:00
Marcin Wojnarowski 68b740e529
Merge pull request #101 from krawieck/refresh 2021-01-09 17:42:19 +01:00
shilangyu 0d434fafcc Add new useRefreshable hook 2021-01-09 16:34:24 +00:00
krawieck 1f304344b2 accomodate for situations where theres no site icon 2021-01-09 02:42:00 +01:00
krawieck 0bef4fe1af add vibration of refresh to communities tab 2021-01-09 02:36:27 +01:00
krawieck 82ba55cbe3 add pull to refresh to communities tab 2021-01-09 02:31:53 +01:00
krawieck 527b0adfb6 implement the damn thing 2021-01-09 02:21:58 +01:00
krawieck 51f0fe4ef4 add pull to refresh to full post 2021-01-09 02:11:30 +01:00
krawieck 2a28b4ee37 add tapaway from text field to hide keyboard 2021-01-08 18:25:40 +01:00
krawieck c17714148b add universal user list item 2021-01-08 18:19:24 +01:00
krawieck 5feee4c8b8 make communitity preview universal 2021-01-08 18:07:58 +01:00
krawieck 2c8d601d27 fix a nasty bug 2021-01-08 17:51:40 +01:00
krawieck bcf6a3363a create search results and search tab pages 2021-01-08 17:38:48 +01:00
shilangyu 95386635f3 Disable implicit casts 2021-01-03 20:25:05 +00:00
shilangyu d40950ac93 Add missing const 2021-01-03 20:03:40 +00:00
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