Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pvaillancourt/196 video transcripts #915

Merged
merged 4 commits into from
Sep 13, 2022

Conversation

snowfrogdev
Copy link
Contributor

  • We now display the raw VTT transcript on the Video/Details page.
  • Refactored Video/Details/OnGet.

This is work towards #196 and may be merged and deployed if desired. I will make another PR for implementing what was discussed here.

image

_memberRepository = memberRepository;
_getAllTextTracksService = getAllTextTracksService;
_httpClient = httpClient;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was hoping the 7 constructor dependencies that were here would move closer to 1, not increase to 9, as part of the refactoring to move some of this into a separate service.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, I'm definitely going to improve that. This will involve creating 1 or more classes. I didn't want to do to much in this one PR. I focused on refactoring at the method level. Next step, classes.

@ardalis ardalis merged commit a166a44 into main Sep 13, 2022
@ardalis
Copy link
Collaborator

ardalis commented Sep 13, 2022

Good incremental improvement. Hoping to see private methods moved into a separate service and number of constructor dependencies reduced accordingly in a future revision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants