Make question field optional in Branching Scenario: Branching Question

jeremydouglass's picture

BACKGROUND

Currently the Branching Scenerio: Branching Question has a required field "question." If not filled in, it displays the error:

     The text field is required and must have a value.

This can be ignored, and the form saved -- then in preview, it displays the text string "undefined" instead of an empty question.

 

FEATURE REQUEST

The question text should not be a required field, and should display nothing or an empty string if undefined or empty. In the context of branching choices, many choice sets are self-explanatory due to the interactive context, and do not require a prompt. A great example is An Unexpected Demo:

https://www.olivertacke.de/labs/2019/09/04/an-unexpected-demo/

It uses placeholder prompt "What would you like to do?" -- but for most branching works (from CYOA to Bandersnatch) this is redundant, and they would simply provide a list of actions. Of course, being able to frame a choice set on the choice screen is important for many forms of pedagogy, and even in interactive fiction it can be a great option to editorialize on the choice, with the choice ("Would you like to interrupt the cursing, raging dwarf who's wielding his battle axe?") but it shouldn't be a hard requirement.

 

Summary: 
Make question field optional in Branching Question
Content types: 
0
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network
BV52's picture

Hi Jeremy,

Thank you for contributing your ideas on how to make H5P better! There are developers in the community who every now and then work on a feature they find interesting or useful. You can also help by developing or help (crowd) fund the development of this feature.

-BV

jeremydouglass's picture

Thank you, BV. For next steps, would you recommend that I open an issue on this repo:

https://github.com/h5p/h5p-editor-branching-scenario/issues

...and / or submitting a pull request? Is that preferred to the feature request forum, or should I do both feature request forum and github issues? I see that there is also a jira board. I want to contribute in whatever way core devs prefer.

Also, regarding (crowd)funding, I'm interested in contributing and have an open question about that on a separate thread -- https://h5p.org/comment/45583#comment-45583

BV52's picture

Hi Jeremy,

It doesn't really matter which platform you post a feature request in. The product lead reviews all of them (Jira, Github and forum), then decides if it will be developed or not.

With regards to a bounty/funding development the core team may not be able to accept any new projects until probably late this year (last time it was mentioned they have a full schedule until this summer). Other developers may be able to develop the feature such as Otacke.

-BV

otacke's picture

Hi all!

Please find the tiny changes required in the pull request at https://github.com/h5p/h5p-branching-question/pull/33.

Best,
Oliver

BV52's picture

Thanks Ollie!