Skip to content

Sort tutorials by the registry's order key - #264

Merged
Zethson merged 1 commit into
mainfrom
sort-tutorials-by-order
Aug 23, 2026
Merged

Sort tutorials by the registry's order key#264
Zethson merged 1 commit into
mainfrom
sort-tutorials-by-order

Conversation

@Zethson

@Zethson Zethson commented Aug 23, 2026

Copy link
Copy Markdown
Member

Closes #107.

The tutorial registry already has an optional order key on every tutorial ("lower numbers mean earlier"), but the learn page ignored it and rendered whatever order the JSON happened to be in, so "Getting started with AnnData" showed up last under Data structures. The listing now sorts by it, with unordered tutorials last and equal values keeping registry order.

Every tutorial in the registry carries an order value and the schema documents it as "lower numbers mean earlier", but the listing rendered them in whatever order the JSON happened to be in.
Getting started with AnnData was showing up last under Data structures, and Preprocessing, clustering and cell-type annotation last under scRNA-seq.
Tutorials without an order key sort last, and equal values keep their registry order.

Signed-off-by: Lukas Heumos <lukas.heumos@posteo.net>
@netlify

netlify Bot commented Aug 23, 2026

Copy link
Copy Markdown

Deploy Preview for jade-cajeta-1bcca0 ready!

Name Link
🔨 Latest commit 069e11c
🔍 Latest deploy log https://app.netlify.com/projects/jade-cajeta-1bcca0/deploys/6a8b34629c637800088aa6ac
😎 Deploy Preview https://deploy-preview-264--jade-cajeta-1bcca0.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Zethson
Zethson merged commit 6b08f97 into main Aug 23, 2026
6 checks passed
@Zethson
Zethson deleted the sort-tutorials-by-order branch August 23, 2026 18:00
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.

Possibility to reorder tutorials

1 participant