learningequality / learningequality/ricecooker

Thumbnails are not generated for topics with `derive_thumbnail=True` when contained content are instances of `StudioContentNode`

Open
#490 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
31
Forks
77
Avg merge
5d 4h
Merged PRs (30d)
3

Description

Observed behavior

When creating a channel using StudioContentNode (which is what is used when creating an automatically-aligned channel), ricecooker doesn't have access to the thumbnails for the content, so it can't auto-create tiled thumbnails for topics that have derive_thumbnail=True.

Expected behavior

I would expect it either to pull the images from Studio to feed into local tile generation, or to generate these thumbnails on the Studio side once uploaded (which would probably be preferable -- could then also have auto-thumbnails applied to channels manually created on Studio.

User-facing consequences

"Ugly folderitis" (aka "fugly folders") on these aligned channels.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the StudioContentNode handling used when creating automatically aligned channels, then trace how derive_thumbnail topics obtain images during channel creation and upload. Compare the local tile-generation path with the Studio-side behavior described in the issue. Done means aligned channels with derive_thumbnail=True receive generated thumbnails instead of showing “ugly folderitis”.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, content
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.