Usability improvements for Syllabus

Description

The linked PR introduces the following usability improvements:

  • add/change buttons on Add Item and Bulk Add Item to be explicit regarding published status (Instead of one button obeying the sakai.property, there are now three buttons for each UI; Add and Publish, Add, and Cancel)

  • * will still fall back to sakai.property if the 'published' parameter is not included in the REST call

  • change occurances of the word 'Post' to 'Publish' for consistency across interfaces

  • add the prefix 'DRAFT - ' to the non-editable portion of a draft item's title, to visually reinforce the idea that the item is not published (this is how other tools handle this as well, such as Assignments, Announcements and Forums)

While I was in the project/files, I fixed up some minor JavaScript issues and switched some syntax to Java 7 style.

Activity

Brian J. April 1, 2016 at 10:23 AM

Wow, sorry about that . I took my 10.3 patch too literally when applying it to 11; this code didn't exist in 10.3. My mistake!

Sam Ottenhoff April 1, 2016 at 10:07 AM
Edited

Hi it looks like this commit is the cause of a Sakai 11 blocker: https://sakaiproject.atlassian.net/browse/SAK-30251#icft=SAK-30251

The old code seemed to handle content.... your new code doesn't seem to handle it .....

{{

  • $("#newContentTextAreaWysiwyg").val($('#newContentDiv').find('iframe').contents().find('body').html()).change();

  • // id doesn't exist since we are adding a new one

  • var id = "0";

  • params = {

  • "add" : true,

  • "title": title,

  • "siteId": $("#siteId").val(),

  • "content": $("#newContentTextAreaWysiwyg").val()

  • };
    }}

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created October 19, 2015 at 1:37 PM
Updated March 23, 2022 at 3:03 PM
Resolved October 20, 2015 at 4:25 PM

Flag notifications