I find the wording "interaction" very obscure, and the widget even more so.
I could see it as a follows:
* make this a podcast lesson (more)
* make this a multiple choice lesson (more)
each option is a button-type link, which turns to "this is a
podcast/choice lesson" (more) when clicked.
Clicking the link creates the corresponding interaction with default
settings for columns (say the same ones as in the patterns), which can
be changed by clicking "(more)" and amending the columns in an
expanded form of the widget either by
- typing in the bloody column index numbers (like now)
- selecting the column name from a dropdown
- or clicking the desired column (bit more work, and may be a bitch
porting across platforms)
I don't really have a good name for the header of the widget yet,
suggestions welcome.
So go ahead, slash this proposal, I'll implement when we agree on something :)
Having multiple interactions on a lesson is a more advanced usage, of
course, which is why we should absolutely move to a system where people
create (from /new) a "podcast" or a "picture-choice" lesson (we made a
mock up in NY of what /new should look like, I believe). These then put
the person into the flashcard editor with the interaction and column
headers already set up. (Templates is what we've called these, though I
know you have an alternative name that I can't remember at the moment.)
I think if we do the UI right, it won't be confusing -- people who want
the extra power of multiple interactions will have it, and others will
not even notice it, until they are ready. But we have to improve the
interaction selector significantly if we want to get it to that point.
As for the index numbers, I absolutely want to get rid of them. I'd
much rather see something like <http://loopj.com/jquery-tokeninput/>
where people simply type in the column name(s) in the desired order they
want them. (We'd need a way to reorder the items in the text box, but
that can come later.) Dropdown boxes would also work, but they could
get unwieldy, I think.
[For the choice interaction, you can specify multiple indices separated
by commas for the prompt -- this will prompt the user with things from
multiple columns, such as phrase and audio. The first thing listed will
be first, so if column 0 is the phrase, column 1 is some romanization,
column 2 is audio pronounciation, you might want to put "0,1,2" for the
prompt column indices. Or you may want them in a different order.
That's what I mean when I say that it would be useful for the jquery
tokeninput to be able to rearrange the items. And that's also why I
think dropdowns could get unwieldy, though there is probably a way to do
it right.]