Skip to content

Conversation

@bradenmacdonald
Copy link
Member

Description: The edx-release branch contains only the code that has been reviewed by both OpenCraft and edX for release on edX.org. In testing that release branch, we found a few minor issues which this PR addresses.

Fixes:

  • Bug: MCQ/MRQ question titles were not visible in the LMS, even when "Show Title" was true, if another MCQ/MRQ that came earlier in the same subsection had show_title set false.
    Fixed with 45072bb
  • Usability improvement: In Studio, an MCQ's question text could not be set until at least one choice was created. In addition, a validation warning was shown immediately when adding an MCQ.
    Fixed with 3d4bf29
  • Bug: If a problem builder in assessment mode had max_attempts=2, then a student completes one attempt, then max_attempts was changed to 0 (unlimited) by the course author, that student is unable to try again.
    Fixed with 8bf362d
  • Usability improvement: the default value of "max_attempts" would change when the "mode" setting was changed, but it would only change after the user closed the edit dialog. This was confusing, as the value would not match what the user just saw. For now I have just removed this behaviour so that the default value is always '0' (no limit) and it never changes unless manually set by the user.
    Fixed with 0d85a3f

Once these fixes are reviewed and approved here, I am also planning to cherry-pick them onto our master (development) branch.

Sandbox: http://sandbox2.opencraft.com:18010/

@bradenmacdonald
Copy link
Member Author

I just pushed one more fix - in Firefox, the spacing around question titles was weird.

Before:

After:

@e-kolpakov
Copy link
Contributor

@bradenmacdonald verified on sandbox 👍; however, description for fix 4 (default value of "max_attempts" ) is confusing - I thought it would automatically change max_attempts in studio editor, while it just does not update max_attempts at all anymore.

@bradenmacdonald
Copy link
Member Author

@sarina These are our last changes to problem builder as required by Harvard. We would like to get them onto edx.org as soon as possible, though it looks like we've missed this week's release unfortunately. Can you please take a quick look at this and if it looks good, I'll merge it and then update the hash in https://github.com/edx/edx-platform/pull/7638 and get your approval to merge that as well.

Let me know if you want an OSPR.

@sarina
Copy link

sarina commented Apr 14, 2015

Braden - I'm still getting caught up from Pycon. Can I take a look
tomorrow? An OSPR would be great, then I will be tracking it explicitly.

On Mon, Apr 13, 2015 at 12:21 PM, Braden MacDonald <notifications@github.com

wrote:

@sarina https://github.com/sarina These are our last changes to problem
builder as required by Harvard. We would like to get them onto edx.org as
soon as possible, though it looks like we've missed this week's release
unfortunately. Can you please take a quick look at this and if it looks
good, I'll merge it and then update the hash in edx/edx-platform#7638
https://github.com/edx/edx-platform/pull/7638 and get your approval to
merge that as well.

Let me know if you want an OSPR.


Reply to this email directly or view it on GitHub
#9 (comment)
.

@bradenmacdonald
Copy link
Member Author

Copy link

Choose a reason for hiding this comment

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

We're very allergic to !important - is there a way you can write without this? !important overrides everything on the page and is strongly discouraged

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, I can rewrite this to use a longer (more specific) selector, so that it can still override the existing style in the LMS that's causing the issue here.

@sarina
Copy link

sarina commented Apr 15, 2015

@bradenmacdonald thanks for the description and laying out the fixes.

I share @e-kolpakov 's feedback about how the fourth fix works, but I don't think it's terrible, just maybe a bit unexpected from your description.

@bradenmacdonald
Copy link
Member Author

@sarina OK, I have removed the use of !important and clarified the description of that fix.

@sarina
Copy link

sarina commented Apr 16, 2015

@bradenmacdonald LGTM. 👍

@bradenmacdonald
Copy link
Member Author

Thanks @sarina !

bradenmacdonald added a commit that referenced this pull request Apr 16, 2015
Hotfix: Four minor issues to address before release
@bradenmacdonald bradenmacdonald merged commit 4817f9d into edx-release Apr 16, 2015
@bradenmacdonald bradenmacdonald deleted the hotfix branch April 16, 2015 05:54
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.

4 participants