Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve default settings for DnDv2 blocks #5

Merged
merged 2 commits into from
Jan 6, 2016
Merged

Conversation

itsjeyd
Copy link
Member

@itsjeyd itsjeyd commented Dec 23, 2015

... and explain "Optional numerical value" and "Margin ±" settings for items.

Cf. SOL-1451

numerical value" and "Margin ±" settings for items.
"incorrect": _("No, 1 does not belong here"),
"correct": _("Yes, it's a 1")
"incorrect": INCORRECT_FEEDBACK,
"correct": CORRECT_FEEDBACK.format(zone="the top")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The zone= parameter should be marked for i18n, and it would be easier for translators if you used the exact same string as the name of the zone (zone=_("The Top Zone"))

@bradenmacdonald
Copy link
Member

For accessibility, we should add good examples of the zone descriptions and background descriptions to the default. Currently they are blank. Though Mark has said "I don't think it would be helpful to describe the background. The dropzone names/descriptions should describe them in the context of any given background.", so you could skip the background description if you want.

@@ -144,11 +144,20 @@ def items_without_answers():
item['inputOptions'] = 'inputOptions' in item
return items

def title_with_points():
"""
Build title using `display_name` and `weight` of this Drag and Drop exercise.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the rationale for this change to the title? I'm not sure that course authors will like it in general - some drag and drop assignments will be ungraded, and it might confuse students to talk about how many points they can earn. In addition, authors can always just set a title like "Shapes Drag and Drop Exercise (1 point possible)", manually including the point value in the title string.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bradenmacdonald Good point about ungraded assignments -- this change was basically just me trying to match the screenshots in the README as closely as possible :)

I reverted the change.

@bradenmacdonald
Copy link
Member

👍

itsjeyd added a commit that referenced this pull request Jan 6, 2016
Improve default settings for DnDv2 blocks
@itsjeyd itsjeyd merged commit 5f21dbc into a11y Jan 6, 2016
@bradenmacdonald bradenmacdonald deleted the better-defaults branch September 30, 2017 21:18
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.

2 participants