Track topics and languages
shiffman opened this issue · 6 comments
I need to investigate this more but I noticed that several of the side tracks do not show topics or languages. I believe these are meant to be compiled from the topics and languages of the videos that are contained within the tracks? I see the following three scenarios:
- all topics/languages compiled
- only topics/languages from the first video in the track
- no topics/languages listed
I'm not sure what causes one of the above scenarios to occur? Does anyone have an idea?
@fdoflorenzano can you confirm that the intended behavior is to compile topics/languages from the videos rather than maintain a separate list of topics/languages for each track?
Thats weird. I'm pretty sure they were there earlier...
Looking into it now. It's possible that this is a bug in the tag resolver for topics/languages.
One pattern I'm noticing is it affects the tracks made up only of challenge videos.
@fturmel You might have found this already, but I think this is the issue -
thecodingtrain.com/gatsby-node.js
Lines 270 to 274 in f292399
challenges are
Challenge
s, not Video
s, so they are not getting pulled here@fturmel You might have found this already, but I think this is the issue -
thecodingtrain.com/gatsby-node.js
Lines 270 to 274 in f292399
challenges are
Challenge
s, notVideo
s, so they are not getting pulled here
That's it, figured it out roughly at the same time as you did. PR incoming.