a74dbe1e43
## New behavior: - If you have commented on a claim before, the channel selector will be clamped to that channel. - There might be more than 1 channel if commented in the past. - This includes blocked comments, i.e. if the creator blocked you, you will not see your comment, yet your channel-selector is clamped to the used channel. - EXCEPTION: you can use other channels if it's your own claim (for now). ## Approach - Run `comment.List` over all your channels on the specific content. This covers nested replies and pagination (sweet). - So, if the total is non-zero, mark that channel(s) as having commented on the claim. - Only fetch this once per content claim. - In the comment channel-selector, clamp the list to this value. |
||
---|---|---|
.. | ||
component | ||
constants | ||
contexts | ||
effects | ||
modal | ||
page | ||
redux | ||
scss | ||
util | ||
analytics.js | ||
app.js | ||
comments.js | ||
i18n.js | ||
index.jsx | ||
lbry.js | ||
logWarningConsoleMessage.js | ||
native.js | ||
reducers.js | ||
rewards.js | ||
store.js |