Add additional breakdown for "claims in channel" metadata
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 493
- PR merge metrics
- No merged PRs in 30d
Description
Adding a breakdown by claim type and stream types would be useful for apps that want to show certain attributes of the channel without having to claim search multiple times.
For instance, when I load a channel page, I want to know if the channel has playlists. To do this today, need to claim search with the claim type collection after resolving.
Another example: we may want to add a tab for posts - today we'd need to claim search with stream type = document.
The other use case would be something like showing a tab for shorts - this one is trickier as there's no great way to identify shorts, but we could do something via a tag: #shorts. So maybe we'd also add a breakdown of how many times a tag appears across a channel?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the channel metadata and claim-search flow described in the issue, including claim type, stream type, and tag handling. Define the requested breakdowns for playlists, posts, shorts, and tags, then verify that the resulting metadata supports these channel-page use cases without repeated searches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100