Conversation
we should probably do some little components like this -- sorting and classifying are really powerful
✅ Deploy Preview for cyf-common ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for cyf-piscine ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for cyf-programming ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for cyf-sdc ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for cyf-curriculum canceled.
|
✅ Deploy Preview for cyf-itd ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for cyf-tracks ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for cyf-launch ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
also allow a heading
illicitonion
left a comment
There was a problem hiding this comment.
Ok, I've tried using this in anger - two pieces of feedback:
- I think it'd be useful to put the whole component in a bordered-box of some kind. Right now I don't think it's super obvious where the component ends (e.g. that the feedback at the bottom is part of the component, and even which lines of text are things that should be labelled)
- I think we should give a "whole exercise" piece of feedback, either as well as or instead of the latest-labelled-statement feedback. Currently if you correctly label one thing, there's no feedback saying "You got one right, but you have three still to do", which I think would be useful.
Also FYI this increases our minimum supported hugo version - I was previously using 0.136.2 locally, and these strings functions were added in 0.136.3. Not a problem, but just an FYI
(Also we're going to get broken at some point, I tried jumping all the way to latest, and apparently error handling has changed somewhere... But that's a problem for another day!)
|
I tried putting a |
I just scarfed them all off this page https://gohugo.io/functions/strings/ and didn't investigate further. It did seem a bit easier than last time to clear up the trailing characters. |
and therefore mini state tracker also pop it in a block

What does this change?
I've just put together a really bare bones labeller. It is similar to the multiple choice component. In this one they drag and drop labels onto content to classify them.
It seems like this is a key task in SDC and it's easy enough to make. Here's a sketch for you to see what you think @illicitonion @40thieves
Re #1295
Common Theme?
Yeah it's item-labeller.js and item-labeller.html