Commit Graph

364 Commits

Author SHA1 Message Date
shilangyu 7a627bbb42 Add comment editing 2021-04-17 22:45:18 +02:00
shilangyu 01e9dae0cc Implement showAvatars 2021-04-16 20:41:33 +02:00
shilangyu ef7ba71bcc Implement show scores 2021-04-16 20:32:20 +02:00
Marcin Wojnarowski 4a939441b6
Merge branch 'master' into fix/another-user-id-fix 2021-04-11 22:33:21 +02:00
shilangyu de4b6e674d Fix userId (again) 2021-04-11 18:27:22 +02:00
shilangyu 59d93fe697 Improve keyboard experience 2021-04-11 17:19:44 +02:00
shilangyu bb8e5ee525 Lint fixes 2021-04-11 00:20:47 +02:00
krawieck 83235534f5 HECKIN CHONKER (null safety migration without scripts) 2021-04-09 00:11:44 +02:00
shilangyu e0cb1a0a83 Add deduplication 2021-04-06 17:52:10 +02:00
shilangyu d2dd388228 Disable commenting on locked posts, fixes #159 2021-04-06 16:06:07 +02:00
shilangyu 3609570df8 Make post body selectable, fixes #190 2021-04-06 15:48:56 +02:00
shilangyu 63486e0c88 Make text selectable when writing comments, fixes #157 2021-04-06 15:42:12 +02:00
Filip Krawczyk bac846fea9
Transition to API v3 (#196) 2021-04-05 20:14:39 +02:00
Filip Krawczyk 460b4f3c8a
Merge pull request #186 from krawieck/fix/everything-home 2021-03-25 10:56:42 +01:00
Filip Krawczyk 4b04a58eba
Merge pull request #187 from krawieck/fix/share 2021-03-20 16:25:15 +01:00
shilangyu 048e347e43 Remove class acting as a namespace 2021-03-20 15:50:49 +01:00
shilangyu 48dadd5f26 Migrate esys_flutter_share to share 2021-03-18 19:24:29 +01:00
shilangyu 8634239060 Better error handling on PackageInfo 2021-03-18 17:03:42 +01:00
shilangyu 748fb54443 React to defaultAccount changes 2021-03-18 15:58:48 +01:00
shilangyu 0bcc364ee5 Scaffold.of -> ScaffoldMessenger.of 2021-03-10 08:34:30 +01:00
Filip Krawczyk 22729dc2e2
Merge pull request #176 from krawieck/l10n 2021-03-09 22:33:24 +01:00
shilangyu f0834681ad Add post listing type translations 2021-03-09 22:21:14 +01:00
shilangyu eff42b6b4f Add deleted by creator 2021-03-09 08:53:26 +01:00
Filip Krawczyk 4ba392082b
fix markdown quote blocks & make code blocks have monospace font (#177) 2021-03-09 08:32:14 +01:00
shilangyu b9a60ca599 Integrate more strings 2021-03-03 13:16:05 +01:00
shilangyu 2bea5acde7 Add `L10nStrings` 2021-03-01 14:38:44 +01:00
shilangyu ca8cb67f6d Integrate first batch of strings 2021-03-01 14:21:45 +01:00
shilangyu 9a0deb203a make bool param required 2021-02-28 21:53:02 +01:00
shilangyu 8cc4246569 Hide followed communities 2021-02-25 21:54:55 +01:00
shilangyu 7cc928764b Propagate userMentionId 2021-02-24 22:48:19 +01:00
shilangyu a9dc676ca8 Simplify comment.dart 2021-02-24 22:33:21 +01:00
Filip Krawczyk 19b2688316
add inbox page + other stuff (#164) 2021-02-24 20:52:18 +01:00
shilangyu ae33e277a8 Add avatar widget 2021-02-18 09:19:00 +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
shilangyu 737ded307e Clean up inifinite lists 2021-02-09 20:39:31 +01:00
Marcin Wojnarowski b1dad4d895
Revise theming (#140) 2021-02-09 15:12:13 +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 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 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
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 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 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 f37da51137 Make tokens in AccountsStore private 2021-01-17 16:35:47 +00:00
krawieck 4ad82c1f77 transition away from deprecated argument
child -> builder
2021-01-16 23:33:11 +01: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 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
krawieck e518092adb add hairline border around bottom modal 2021-01-09 02:49:01 +01:00
krawieck 23c6261a37 add pull to refresh to infinite scroll 2021-01-09 01:35:43 +01:00
shilangyu 95386635f3 Disable implicit casts 2021-01-03 20:25:05 +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 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