Commit Graph

650 Commits

Author SHA1 Message Date
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 a994d7ca30 Document `useRefreshable` hook 2021-01-09 17:25:34 +00:00
shilangyu 0d434fafcc Add new useRefreshable hook 2021-01-09 16:34:24 +00:00
krawieck e518092adb add hairline border around bottom modal 2021-01-09 02:49:01 +01: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 23c6261a37 add pull to refresh to infinite scroll 2021-01-09 01:35:43 +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 4e40e16e66 add search tab to navbar 2021-01-08 17:39:03 +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 c3837b97aa Use VoidCallback 2021-01-03 20:03:32 +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 ca47f44e2c Typo fix 2021-01-03 17:06:40 +00:00
shilangyu a803e091dc Add new easy-to-fix lint rules 2021-01-03 17:03:59 +00:00
shilangyu e82c1fa576 Add trailing @originInstanceHost to comments/community list 2021-01-02 16:26:29 +00:00
shilangyu 81ea5c051b use helper functions 2021-01-02 15:41:08 +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 579d613caa added auth to pictrs upload 2020-12-04 23:26:47 +01:00
Filip Krawczyk 09ee4d4d69
Merge pull request #86 from krawieck/release-setup
Add and generate app icons
2020-12-04 19:04:31 +01:00
marcin_wojnarowski 292654081a show app icon in about and links to support 2020-12-04 15:43:39 +00:00
krawieck 1687616480 move TODO comment to proper place 2020-12-04 13:59:55 +01:00
krawieck 33f486576e center error text 2020-12-04 13:58:17 +01:00
krawieck 6a62e47cf7 add some space to the bottom of comments so that FAB doesn't obstruct 2020-12-04 13:58:04 +01:00
krawieck 58e7219602 adapt tripple dot icon to platform
(android: vertical, iOS: horizontal)
2020-12-04 13:57:37 +01:00
krawieck 8211d963a7 make it so that the first instance after instalation is lemmy.ml 2020-12-04 13:55:40 +01:00
krawieck cb801a327e set icon theme so that icons are visible 2020-12-03 22:53:29 +01:00
krawieck 45f6ae1d45 revised temp search tab message 2020-12-03 22:50:56 +01:00
krawieck b338a667f3 autoselect All if user's not logged in 2020-12-03 22:46:25 +01:00
krawieck 929d9ebbcb display appbar actions regardless if user is logged in or not 2020-12-03 22:45:50 +01:00
krawieck 4b51ea55fb add temporary search tab 2020-12-03 22:44:20 +01:00
krawieck fac0fbb0e1 add lemmy.ml instance at startup if there's no instances added 2020-12-03 22:43:26 +01:00
Marcin Wojnarowski ff2942fae4
Merge pull request #80 from krawieck/info-table-popup
Info table popup
2020-10-27 21:16:19 +00: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
krawieck 53f19c5c57 add info table popup 2020-10-26 18:47:34 +01:00
shilangyu 8658bf8f12 added store select hooks 2020-10-26 09:18:30 +01:00
shilangyu 4da3c88d0b removed unused hook 2020-10-25 23:50:22 +00:00
shilangyu b8636938ba keys to sharedpreferences are now typed constants 2020-10-25 23:49:24 +00:00
shilangyu 91d8477e85 migrated accounts store to ChangeNotifier 2020-10-25 23:43:37 +00:00
shilangyu 28e0ec9bcb added accidentally removed dartdoc 2020-10-25 23:39:57 +00:00
Marcin Wojnarowski e72130afe5
Merge pull request #78 from krawieck/master 2020-10-25 21:58:18 +00:00
shilangyu 4917c84623 converted config store to change notifier 2020-10-25 21:33:44 +00:00
shilangyu c42cb837c6 removed wrong import 2020-10-25 11:45:37 +00:00
Marcin Wojnarowski c80cf1c96d
Merge branch 'master' into comment-tree-refactor 2020-10-25 11:43:28 +00:00
shilangyu 9ad58e44de remove unused Expanded 2020-10-25 11:30:46 +00:00
shilangyu 665aeb51fb use spaced 2020-10-25 11:30:30 +00:00
krawieck 44863bcb04 convert write comment page to ListView 2020-10-25 01:20:31 +02:00
krawieck da3613e5e2 add min ammount of lines to body input 2020-10-25 01:16:58 +02:00
krawieck 9af7a62c4b tidy up imports 2020-10-24 23:19:34 +02:00
krawieck 4fccecc3d1 Convert create post page to listview 2020-10-24 22:43:29 +02:00
shilangyu 93c0e883d3 error handling on image upload 2020-10-24 19:58:38 +02:00
shilangyu a41e5c19c3 add option to remove pictures 2020-10-24 11:26:52 +02:00
shilangyu 454468c0e7 add image upload to post creation 2020-10-24 00:12:42 +02:00
shilangyu b206d971ab refactor comment tree 2020-10-23 00:42:42 +02:00
shilangyu b62ee7317a turned spaced helper into a extension 2020-10-23 00:38:25 +02:00
shilangyu 021af8497a removed dep for std solution 2020-10-06 17:02:19 +02:00
krawieck a14560d11f notify user when they try to use feature that hasn't been implemented 2020-10-06 22:37:24 +02:00
krawieck 0f527212c5 simplify 2020-10-06 22:28:10 +02:00
krawieck 33ab5324c4 change media view transition to fade 2020-10-06 22:24:03 +02:00
krawieck 21fe2e9bac mark some stuff as private if it doesn't need to be accessible from outside the file 2020-10-06 17:28:11 +02:00
krawieck 1a4d231b1b convert absolute import to relative 2020-10-06 16:34:03 +02:00
krawieck 5c0fcce1f4 make ultimatefetcher more descriptive 2020-10-06 16:30:52 +02:00
krawieck 98557f9220 remove useless parentheses 2020-10-06 16:29:19 +02:00
krawieck 8cafde3ba4 add a single newline 2020-10-06 16:28:38 +02:00
krawieck 465ee7c7f2 remove debug print 2020-10-06 16:27:57 +02:00
krawieck acbf2089e0 replace row + sizedbox with padding 2020-10-06 16:27:35 +02:00
krawieck b82622190f add comma to make formatting more sane 2020-10-06 16:23:29 +02:00
krawieck 585baf58f9 add docs 2020-10-06 16:22:49 +02:00
krawieck 17f64e24e0 implement cleanupurl in addInstancePage 2020-10-06 16:19:03 +02:00
krawieck fe494a3b0b move clean up to lemmyApi extensions 2020-10-06 15:58:58 +02:00
krawieck 56a77187b9 replace unnecesairy custom method with .take 2020-10-06 15:47:51 +02:00
krawieck c4ed57d393 acomodate for situations where instance has less than 6 communities 2020-10-06 12:07:12 +02:00