lbry-desktop/ui/redux/reducers
infinite-persistence de6c6f9bfd
List own comments (#7171)
* Add option to pass in url-search params.

Impetus: allow linked comment ID and setting the discussion tab when clicking on the `ClaimPreview`.

* comment.list: fix typos and renamed variables

- Switch from 'author' to 'creator' to disambiguate between comment author and content author. For comment author, we'll use 'commenter' from now on.
- Corrected 'commenterClaimId' to 'creatorClaimId' (just a typo, no functional change).

* doCommentReset: change param from uri to claimId

This reduces one lookup as clients will always have the claimID ready, but might not have the full URI.

It was using URI previously just to match the other APIs.

* Add doCommentListOwn -- command to fetch own comments

Since the redux slice is set up based on content or channel ID (for Channel Discussion page), re-use the channel ID for the case of "own comments". We always clear each ID when fetching page-0, so no worries of conflict when actually browsing the Channel Discussion page.

* Comment: add option to hide the actions section

* Implement own-comments page

* Use new param to remove sort-pins-first.

comment.List currently always pushes pins to the top to support pagination. This new param removes this behavior.
2021-10-01 08:10:27 -04:00
..
app.js add initial support for comment API outside of SDK 2021-02-11 10:45:34 -05:00
blocked.js New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00
coinSwap.js ViewPastSwaps: limit to 10 entries + other fixes 2021-04-13 14:02:25 -04:00
comments.js List own comments (#7171) 2021-10-01 08:10:27 -04:00
content.js recsys v0.2 (#6977) 2021-09-02 18:39:40 -04:00
livestream.js Livestream category improvements (#7115) 2021-09-24 10:26:21 -04:00
notifications.js fetch notofication/categories for notification types dropdown 2021-04-30 12:45:46 -04:00
reactions.js add file reactions code from odysee 2020-10-02 15:28:00 -04:00
reportContent.js Add 'ReportContent' actions/reducers/selectors 2021-04-21 10:49:31 -04:00
rewards.js add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
search.js send recsys powered-by (#6875) 2021-08-17 10:03:25 -04:00
settings.js Fix autoplay next default value (#7173) 2021-09-27 15:10:41 -04:00
subscriptions.js fix colon handling 2021-07-15 17:48:02 -04:00
sync.js Don't hard fail on sync set error 2020-11-14 01:17:26 -05:00
tags.js Performance: don't spread in 'reduce' 2021-06-02 08:21:43 +08:00
user.js Clear 'passwordSet*' flags too in USER_PASSWORD_SET_CLEAR 2020-09-15 12:52:12 -04:00