Add channel subscriptions count below author. #6867

Merged
Ruk33 merged 4 commits from 6746-channel-sub-count into master 2021-08-19 17:25:45 +02:00
Ruk33 commented 2021-08-12 00:09:50 +02:00 (Migrated from github.com)

Fixes

Issue Number: https://github.com/lbryio/lbry-desktop/issues/6746

What is the current behavior?

N/A

What is the new behavior?

Display channel subscription below authors.

image

Other information

PR Type & Checklist

PR Type...

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:
PR Checklist...

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I added a line describing my change to CHANGELOG.md
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below
## Fixes Issue Number: https://github.com/lbryio/lbry-desktop/issues/6746 <!-- Tip: - Add keywords to directly close the Issue when the PR is merged. - Skip the keyword if the Issue contains multiple items. - https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword --> ## What is the current behavior? N/A ## What is the new behavior? Display channel subscription below authors. ![image](https://user-images.githubusercontent.com/1719111/129109925-012f3565-edd8-4cbf-a371-e3707962fca7.png) ## Other information <!-- If this PR contains a breaking change, please describe the impact and solution strategy for existing applications below. --> ## PR Type & Checklist <details><summary>PR Type...</summary> What kind of change does this PR introduce? - [ ] Bugfix - [x] Feature - [ ] Code style update (formatting) - [ ] Refactoring (no functional changes) - [ ] Documentation changes - [ ] Other - Please describe: </details> <!----------------------------------------------------------------------------> <details><summary>PR Checklist...</summary> <!-- For the checkbox formatting to work properly, make sure there are no spaces on either side of the "x" --> Please check all that apply to this PR using "x": - [x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged) - [ ] I added a line describing my change to CHANGELOG.md - [x] I have checked that this PR does not introduce a breaking change - [ ] This PR introduces breaking changes and I have provided a detailed explanation below </details>
jessopb (Migrated from github.com) reviewed 2021-08-12 00:09:50 +02:00
tzarebczan commented 2021-08-12 15:49:28 +02:00 (Migrated from github.com)

Thank for the PR! We'll want this to say Followers to match the channel page.

We'll get a review on it soon otherwise!

Thank for the PR! We'll want this to say Followers to match the channel page. We'll get a review on it soon otherwise!
Ruk33 commented 2021-08-13 20:19:40 +02:00 (Migrated from github.com)

Sure @tzarebczan , updated!

Sure @tzarebczan , updated!
tzarebczan commented 2021-08-18 17:43:42 +02:00 (Migrated from github.com)

DId some more testing on this and noticed the API for sub count is being called multiple times- both on refresh and when coming from another page (i.e. related content click). In the latter case, saw it called 3x. @Ruk33 probably not the end of the world, but maybe you can take a look.

DId some more testing on this and noticed the API for sub count is being called multiple times- both on refresh and when coming from another page (i.e. related content click). In the latter case, saw it called 3x. @Ruk33 probably not the end of the world, but maybe you can take a look.
Ruk33 commented 2021-08-19 01:15:08 +02:00 (Migrated from github.com)

Thank you @tzarebczan you were right. I managed to fix it and merge the conflicts.

Thank you @tzarebczan you were right. I managed to fix it and merge the conflicts.
tzarebczan commented 2021-08-19 17:25:41 +02:00 (Migrated from github.com)

Great, thanks again!

Great, thanks again!
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#6867
No description provided.