Commit Graph

237 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 e82c1fa576 Add trailing @originInstanceHost to comments/community list 2021-01-02 16:26:29 +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
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 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 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 9ad58e44de remove unused Expanded 2020-10-25 11:30:46 +00:00
krawieck 44863bcb04 convert write comment page to ListView 2020-10-25 01:20:31 +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 fe494a3b0b move clean up to lemmyApi extensions 2020-10-06 15:58:58 +02:00
krawieck 88d8e1bcde Merge branch 'master' into home_page 2020-10-06 12:04:31 +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 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 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 a8ac98284a add cleanup url util for removing stuff like `www.` from urls 2020-10-04 21:52:19 +02:00
krawieck 6d8660c826 fix infinite scroll bug where it would not load when resetting 2020-10-04 21:51:26 +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 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 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 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
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 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 5a858142b5 lint fixes
* convert import to relative
* convert `() {}` to `=>`
2020-09-29 12:24:52 +02:00
krawieck aefcf50fd1 add infinite comment list 2020-09-29 10:53:40 +02:00
krawieck 8f64e93705 create more universal `SortableInfiniteList` 2020-09-29 01:13: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 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 15ebfb6caa replying to comments now works, fixes #58 2020-09-28 20:24:30 +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
shilangyu 377ad99fb5 limit commenting to logged in users 2020-09-21 20:19:14 +02:00
shilangyu 910e214f48 use cupertino modal popups 2020-09-21 20:18:57 +02:00
shilangyu 5409cde5d0 commenting on a post now works 2020-09-21 13:30:47 +02:00
shilangyu 222f3aedc1 replying to comments works 2020-09-21 13:20:25 +02:00
shilangyu ca749a9d40 connected replying 2020-09-21 13:20:07 +02:00
shilangyu 82d153533a fix bug where scores would show as 1 too many or 1 too few 2020-09-21 12:47:16 +02:00
shilangyu d0913ca3fa create write comment widget 2020-09-21 01:37:34 +02:00
shilangyu 6813ff47a7 better loading sizes 2020-09-19 21:51:22 +02:00
krawieck 7d8db2e83c add children count for collapsed comments 2020-09-19 15:06:50 +02:00
krawieck f091603347 Make comment less than 80 chars long 2020-09-19 14:05:58 +02:00
shilangyu c8c5b2881f ability to vote on comments 2020-09-19 12:28:46 +02:00
shilangyu 016537d8d2 ability to collapse a comment 2020-09-19 12:01:12 +02:00
shilangyu e938224df0 added comment saving 2020-09-19 02:04:00 +02:00
shilangyu e96cb9019b disallow copying when comment was removed/deleted 2020-09-19 02:03:37 +02:00
shilangyu 94ac08825e fix rebase files 2020-09-19 01:06:35 +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
shilangyu 34f8f5b155 removed outdated comment 2020-09-18 23:31:54 +02:00
shilangyu ea923b032c added @required decorator 2020-09-18 23:29:38 +02:00
shilangyu 0fb53e3314 added a controller and more robust behavior 2020-09-18 23:24:58 +02:00
krawieck a50501d434 fix up of votes 2020-09-18 22:07:48 +02:00
krawieck 1e59382214 convert `Voting` to use `loggedInAction` hook 2020-09-18 21:56:42 +02:00
krawieck 620c2a6ee4 add lint ignore comment 2020-09-18 16:16:39 +02:00
krawieck baea08f857 remove unused function 2020-09-18 16:16:08 +02:00
krawieck 65fdb1932f Add lint ignore comment 2020-09-18 15:55:39 +02:00
krawieck f11999c73a import cleanup 2020-09-18 15:55:23 +02:00
krawieck f1b41217ac switch to `loggedInAction` hook 2020-09-18 15:49:36 +02:00
krawieck 3e07c963ac add tooltip 2020-09-18 12:48:32 +02:00
krawieck 7f981fe436 better loading handling 2020-09-18 01:29:17 +02:00
krawieck 700112e20b Add save post button 2020-09-17 22:50:18 +02:00
shilangyu 60dcf07001 convert hasMore into a ref + prevent double fetching 2020-09-17 19:49:42 +02:00
shilangyu 818097f962 created infinite scroll component 2020-09-17 19:43:26 +02:00
krawieck cc229f0bd3 remove useless functions 2020-09-17 18:45:00 +02:00
krawieck c9558a5945 Add voting widget for handling voting 2020-09-17 16:46:40 +02:00
krawieck c4329a163f remove obsolete todo 2020-09-17 15:25:47 +02:00
shilangyu a08a7c5b93 fix linting issues 2020-09-17 00:24:49 +02:00
shilangyu 0540be3ede activate prefer_final_locals lint rule 2020-09-16 23:22:04 +02:00
shilangyu d3eee1e837 replace route pages with cupertino ones 2020-09-16 22:53:04 +02:00
krawieck a5eaf784d5 convert pop to arrow function 2020-09-16 21:21:47 +02:00
krawieck d63c84d4bb Make comments selectable 2020-09-16 20:09:09 +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
krawieck 4bec0c533a Remove useless inkwell 2020-09-13 15:42:39 +02:00
krawieck 450f3373af remove dead code 2020-09-13 00:31:55 +02:00
Filip Krawczyk 8e9b1e17e4
Merge branch 'master' into media-view 2020-09-12 23:13:52 +02:00
krawieck f02a54a2f8 Cahnge `urlLauncher` to `linkLauncher` 2020-09-12 17:05:52 +02:00
krawieck 77d54016f3 Change `urlLanucher` signature to include `instanceUrl` 2020-09-12 09:30:22 +02:00
krawieck 83f4f61952 baseline for handling a lot of stuff 2020-09-11 23:54:28 +02:00
krawieck 676d1a4696 turn function into expression 2020-09-11 21:21:58 +02:00