Commit Graph

933 Commits

Author SHA1 Message Date
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
krawieck 3afb5c9d11 remove offset cuz it got fixed in lac 2021-02-13 17:03:40 +01:00
krawieck 39b12fe3bc change "this" formatting 2021-02-12 23:44:15 +01:00
krawieck 40636246df Add extension for relative time and fix a bug
the bug was that time from server is in UTC format,
and our time is in local format, so it needed
to be shifted back to UTC.

oddly enough .toUtc() method didn't work
2021-02-12 17:53:51 +01:00
Filip Krawczyk efb2551f4f
Merge pull request #146 from krawieck/saved-page 2021-02-09 22:41:47 +01:00
krawieck c422f685b0 reorder imports 2021-02-09 21:47:54 +01:00
Filip Krawczyk aabc270a3b
Merge branch 'master' into fix-navigation-bar 2021-02-09 21:42:43 +01:00
krawieck 9404e1f71f add extension for reversing brightness, also fix the whole thing 2021-02-09 21:36:21 +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
krawieck 090816ded3 make it actually usable ffs 2021-02-07 02:19:10 +01:00
Filip Krawczyk 79fb42785c
Merge pull request #139 from krawieck/windows-version 2021-02-06 21:37:22 +01:00
ryg-git d21bbbe066 applied requested changes in the review 2021-02-06 22:53:49 +05:30
ryg-git b9ddb23d23 removed unused import 2021-02-06 19:34:11 +05:30
shilangyu ecda8384c6 Use stable Future API 2021-02-06 14:37:35 +01:00
ryg-git d822887ea5 added layoutbuilder to optimize code and simplify logic 2021-02-06 18:18:54 +05:30
shilangyu 4367c4329e Fix missing about tile on windows 2021-02-06 13:17:39 +01:00
ryg-git 5bde6a4e51 added better fsding effect for light theme 2021-02-04 20:17:13 +05:30
ryg-git b999d53aa8 [WIP] truncate long text posts 2021-02-03 23:43:43 +05:30
Filip Krawczyk e627694728
comment share fix (#129) 2021-02-03 12:12:28 +00: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 21774dda52 Go to account management 2021-01-30 17:41:16 +00:00
shilangyu dfdaf741c3 Prevent ever null being set to myVote, fixes #117 2021-01-30 17:41:16 +00:00
shilangyu 20ebcd0dfa Add auth to user profile fetching, fixes #118 2021-01-30 17:41:16 +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 2fa6645f13 Generate asset names 2021-01-30 17:41:16 +00:00
shilangyu dd15ebb2c0 Fix display names 2021-01-30 17:41:16 +00:00
shilangyu fa1243f9d9 Change way of parsing urls 2021-01-30 17:41:16 +00:00
shilangyu 651e059fbd Add the long awaited article icon 2021-01-30 17:41:16 +00:00
shilangyu ad6b28fdb1 Use the .displayName extension 2021-01-30 17:41:16 +00:00
Filip Krawczyk fa80da5c8f
Fix bugs with comments (#125)
* fix bug where write comment would respond to parent comment of a comment it should respond to

* update changelog

* fix bug that caused grey comments

* update changelog
2021-01-30 15:56:35 +01:00
krawieck 41d44537e9 fix lint error 2021-01-26 23:53:40 +01: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 5a449eb0be rename getter
properName -> displayName
2021-01-26 22:28:06 +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 208a4ac1ae fix bugs with commenting 2021-01-24 21:51:07 +01:00
krawieck 6555b8c614 transition comment to v2 2021-01-24 21:50:49 +01:00
krawieck c2f528750a transition all api v1 calls to api v2 2021-01-24 20:01:55 +01:00
Filip Krawczyk 983734a506
Merge pull request #99 from krawieck/manage-account 2021-01-22 19:42:02 +01:00
shilangyu 1a70776fb7 Change padding from 14 to 15 2021-01-17 17:57:57 +00:00
shilangyu e2af8326e2 Fix bug where accounts would be removed while being iterated over 2021-01-17 17:35:07 +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
krawieck 4ad82c1f77 transition away from deprecated argument
child -> builder
2021-01-16 23:33:11 +01: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
krawieck 96d6c36fe9 fixes requested in code review
* "detatched" -> "detached"
* remove debug comment
2021-01-16 16:32:45 +01:00
krawieck 904e320e10 make all comments in infinitecommentlist detatched 2021-01-16 15:21:09 +01:00
krawieck ccedb35259 add button for going to post 2021-01-16 15:20:49 +01:00
krawieck 2c152aeca3 add more properties to nerd stuff 2021-01-16 15:20:30 +01: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 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
krawieck 4058ebc200 convert some returns to => 2020-10-06 12:06:29 +02:00
krawieck 88d8e1bcde Merge branch 'master' into home_page 2020-10-06 12:04:31 +02:00
krawieck b4673be5cd add todo 2020-10-06 01:07:42 +02:00
krawieck ddf3e522aa show log in popup on tapping "subscribed" 2020-10-06 01:04:49 +02:00
krawieck bb99c9d9f4 Make "subscribed" tile gray if user not logged in to that instance 2020-10-06 01:00:13 +02:00
krawieck f8733da21d make title color match the color of the button on the right 2020-10-06 00:54:17 +02:00
krawieck 83a488c134 distribute posts evenly, kinda like zip function in python
regular sorting wasn't working unfortunately :/
2020-10-06 00:19:34 +02:00
krawieck 976f27680a add ontap for instances 2020-10-05 23:23:27 +02:00
krawieck 0ef538b7c7 add a todo 2020-10-05 23:14:36 +02:00
krawieck f127528aaa remove useless comment 2020-10-05 23:11:55 +02:00
krawieck 3e7b70eb66 make text overflow into ellipsis 2020-10-05 23:11:41 +02:00
krawieck 571f6beb61 Add instance icons 2020-10-05 23:09:36 +02:00
krawieck 864c8a3948 make header pretty and functional 2020-10-05 21:55:33 +02:00
shilangyu 47ab40a4f6 moved delete action one higher 2020-10-05 21:38:19 +02:00
shilangyu 5c8ec4f0e4 forbid replying to removed/deleted comments 2020-10-05 14:38:38 +02:00
shilangyu 0877858380 added comments deletion, closes #16 2020-10-05 14:37:43 +02:00
krawieck 607c602e93 Revert "Create home tab with different listings"
This reverts commit 0734fb42fc.
2020-10-05 13:46:09 +02:00
krawieck 435fbc11c7 Revert "fix infinite scroll bug where it would not load when resetting"
This reverts commit 6d8660c826.
2020-10-05 13:45:20 +02:00
krawieck 927cde7a39 Revert "add placeholder inbox page"
This reverts commit 598200fa76.
2020-10-05 13:45:08 +02:00
krawieck 5697405e32 Revert "add cleanup url util for removing stuff like `www.` from urls"
This reverts commit a8ac98284a.
2020-10-05 13:44:41 +02:00
krawieck 01221bdd03 Revert "Put home tab to navigation"
This reverts commit cc99071ff9.
2020-10-05 13:44:04 +02:00
krawieck cc99071ff9 Put home tab to navigation 2020-10-04 21:52:39 +02:00
krawieck a8ac98284a add cleanup url util for removing stuff like `www.` from urls 2020-10-04 21:52:19 +02:00
krawieck 598200fa76 add placeholder inbox page 2020-10-04 21:51:38 +02:00
krawieck 6d8660c826 fix infinite scroll bug where it would not load when resetting 2020-10-04 21:51:26 +02:00
krawieck 0734fb42fc Create home tab with different listings 2020-10-04 21:50:40 +02:00
Filip Krawczyk c6a1eff7ed
Merge pull request #63 from krawieck/profile-tab-revamp 2020-10-02 23:39:19 +02:00
shilangyu 6604dcb9af apply changes requested from CR 2020-10-02 20:07:13 +02:00
shilangyu 0669829815 dartfmt 2020-10-02 07:37:29 +02:00
shilangyu cc3a2c2e4f added dartdoc comment 2020-10-01 18:15:08 +02:00
shilangyu c0dd6c1c1f add about tile, closes 38 2020-10-01 17:57:04 +02:00
shilangyu f123d8edd5 fix placeholder banner 2020-10-01 15:55:22 +02:00
shilangyu 4c5df61643 add todo to bad visibility widget 2020-10-01 00:06:05 +02:00
shilangyu ba3c1d59e1 add edit button on owned accounts 2020-09-30 23:53:20 +02:00
shilangyu 701b6f8de3 render contents of the tabs 2020-09-30 23:43:21 +02:00
shilangyu 4db7ec3fee remove loading checks and add slivers 2020-09-30 21:47:14 +02:00
shilangyu c839da022d small fixes 2020-09-30 20:10:13 +02:00
shilangyu aa5d9832d6 run dartfmt 2020-09-30 19:37:56 +02:00
shilangyu 94d12fccff added lots of dartdoc/comments 2020-09-30 17:05:00 +00:00
shilangyu e879a17948 go to instance/community 2020-09-30 01:23:04 +02:00
shilangyu d3f0dd3fd4 add useObserved hook 2020-09-30 01:19:44 +02:00
shilangyu af7cb62fac removed users from account store and used more utility methods 2020-09-29 23:15:51 +02:00
Marcin Wojnarowski f37f01951f
Merge pull request #60 from krawieck/infinite-list-in-action 2020-09-29 21:55:04 +02:00
krawieck e1ba4e4dd4 replace every `Container()` with `SizedBox.shrink()` 2020-09-29 21:45:18 +02:00
krawieck e234a6a527 Set default instead of null coalescing 2020-09-29 21:34:05 +02:00
krawieck 90bacfdc12 remove useless todo 2020-09-29 21:22:45 +02:00
krawieck 487a2aab1d mark fetcher props as required 2020-09-29 21:08:02 +02:00
krawieck caed03fb68 add a todo for compact post 2020-09-29 21:05:30 +02:00
krawieck c98cb781b1 Set limit to batchSize 2020-09-29 21:01:09 +02:00
krawieck d43ddd6c4f Set default instead of null coalescing 2020-09-29 21:00:50 +02:00
shilangyu 2724103e23 wrap in safearea 2020-09-29 15:00:50 +02:00
shilangyu 126128d320 corrected variable name 2020-09-29 15:00:13 +02:00
krawieck 5a858142b5 lint fixes
* convert import to relative
* convert `() {}` to `=>`
2020-09-29 12:24:52 +02:00
krawieck fe90119826 remove unneeded abstraction 2020-09-29 11:13:17 +02:00
krawieck e4b0441a36 convert to `SortableInfiniteList` 2020-09-29 11:11:43 +02:00
krawieck aefcf50fd1 add infinite comment list 2020-09-29 10:53:40 +02:00
krawieck c5040ce1fa fix import 2020-09-29 10:27:36 +02:00
krawieck 8f64e93705 create more universal `SortableInfiniteList` 2020-09-29 01:13:25 +02:00
krawieck eae8a3849a add brightness so that status bar icons have the right color 2020-09-29 00:59:19 +02:00
krawieck 6eb748194f implement infinite list for communities 2020-09-29 00:57:25 +02:00
krawieck a3b152706a add option to not show style button 2020-09-29 00:35:05 +02:00
krawieck ececfaf93e Replace `describeEnum` by nice lookin string 2020-09-29 00:34:35 +02:00
krawieck b9337a43ae a bunch of small fixes
* add media type: none
* change more icon size
* add support for empty post url
* add support for no embed title & description
2020-09-28 23:28:41 +02:00
krawieck 82a739b203 add infinite post list to instance page 2020-09-28 22:41: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
shilangyu d5a49e9e4c removed unused variable 2020-09-28 20:58:43 +02:00
Marcin Wojnarowski 4083742574
Merge branch 'master' into post-creation 2020-09-28 20:33:28 +02:00
shilangyu cb47607b2b add spacing to form fields 2020-09-28 20:28:16 +02:00
shilangyu bc736eb6aa replace route instead of pushing 2020-09-28 20:28:06 +02:00
shilangyu 15ebfb6caa replying to comments now works, fixes #58 2020-09-28 20:24:30 +02:00
krawieck b93d9efc1d implement infinite list for posts 2020-09-28 20:05:07 +02:00
krawieck 3739aa302f swap custom go to functions for premade ones 2020-09-28 20:04:44 +02:00
krawieck b4b41e848b add better handling of uncommon links 2020-09-28 19:58:09 +02:00
krawieck 147db8e1fe add option to include widget before the list, but that is still scrollable 2020-09-28 19:55:10 +02:00
krawieck 93f1be94a0 add todo 2020-09-28 19:49:18 +02:00
shilangyu 37a3d95b06 add a really horrible all instances dropdown 2020-09-27 22:51:06 +02:00
shilangyu 0009082a40 dont preserve initial state in memo future 2020-09-27 22:50:21 +02:00
shilangyu cb2cc99546 show only logged in instances 2020-09-26 12:43:34 +02:00
Marcin Wojnarowski 1079431b33
Merge pull request #55 from krawieck/account-management-pages
Convert add instance and account dialogs to pages
2020-09-24 16:52:23 +02:00
krawieck c2f30665ec make disposal non-manual 2020-09-24 16:26:24 +02:00
krawieck a825a57840 add docstring 2020-09-24 15:50:52 +02:00
krawieck f746ed9479 make speed dial work with any theme 2020-09-24 15:48:05 +02:00
krawieck 3809dcd0cc change default debounce duration to 1 second 2020-09-24 15:41:03 +02:00
krawieck 121f4a424c support for actual urls 2020-09-24 15:38:54 +02:00
krawieck 6c8251b7aa fix debounce sideeffect to dispose debounce 2020-09-24 15:01:20 +02:00
shilangyu 80a06bf14b simplify automatic default account selection 2020-09-24 09:18:42 +02:00
krawieck 0be75b48da remove useless bool returns 2020-09-23 23:39:41 +02:00
krawieck f43910ddbe swap yes and no placements 2020-09-23 23:37:26 +02:00
krawieck 461cc56693 remove now useless loading variables that were replaced by debounce 2020-09-23 23:35:58 +02:00
krawieck 1fb221a034 conert listener to utilize `useEffect` 2020-09-23 23:31:34 +02:00
krawieck ff0c2829f6 correct url that is getting launched 2020-09-23 23:27:57 +02:00
krawieck 7a3ce4f0df remove useless generic 2020-09-23 23:23:38 +02:00
krawieck 6cfdc14c4c Remove `cancel` buttons, cuz they're wack 2020-09-23 23:21:41 +02:00
krawieck 7be73a48ce use effect hook instead of memoized and inside ontap 2020-09-23 23:20:16 +02:00
krawieck da80f8d789 add lint ignore comment to catch 2020-09-23 18:03:47 +02:00
krawieck 740905b902 add buttom for adding instance if no instance is added 2020-09-23 15:27:52 +02:00
krawieck a18300f0f1 add pick default reaction 2020-09-23 15:27:24 +02:00
shilangyu f0ba338bf6 connected CreatePost 2020-09-22 23:51:21 +02:00
shilangyu 65d5bcb824 created form fields for post creation 2020-09-22 23:50:18 +02:00
shilangyu b37277c072 useloggedinaction now handles non-specific instanceUrl 2020-09-22 23:17:42 +02:00
shilangyu 72ef4a6d26 added iterable of instance urls 2020-09-22 23:17:02 +02:00
krawieck 22eaa6cade update doc 2020-09-22 16:39:02 +02:00
krawieck a675377378 change bounce to callback 2020-09-22 16:33:02 +02:00
krawieck df4e1253b4 change `onDebounce` to `callback` 2020-09-22 13:50:54 +02:00
krawieck 15f408e8db mark `removeInstance` and `removeAccount` as actions 2020-09-22 13:38:31 +02:00
krawieck 57d4a8a27b Add speed dial for adding accounts and instances 2020-09-22 13:22:45 +02:00
krawieck 94c373a08b add todo comment 2020-09-22 01:21:03 +02:00
krawieck 330ca983e4 change wording: delete to remove 2020-09-22 01:05:20 +02:00
krawieck c1254b4426 make the button spamming-resistant 2020-09-22 01:00:31 +02:00
krawieck dfb372552b tiny tweaks and fixes
* use delayed loading hook instead of boolean variable
* fix pretty significant bug where adding account
  didn't take selected instance into account
* move navigator.pop() to the inside of try closure so
  that it doesn't pop when errors happen
2020-09-22 00:58:52 +02:00
krawieck 216049f23c add assumeValid param 2020-09-22 00:42:10 +02:00
krawieck 847ccfe887 remove catch with no `on` clause 2020-09-22 00:42:01 +02:00
krawieck 22fa916fbf Add `flutter_slidable` and use it for deleting accounts and instances 2020-09-22 00:34:45 +02:00
krawieck 377db0908b add error widget just in case 2020-09-21 23:49:46 +02:00
krawieck 13ee72e814 early return from debounce if input didn't change 2020-09-21 23:49:20 +02:00
krawieck 521cf3fbd0 remove useless comment 2020-09-21 23:17:55 +02:00