Improve layout/organization of tools in site-info
Description
Attachments
depends on
is depended on by
is related to
relates to
Activity

Raquel Alvarez May 17, 2016 at 7:45 AM
Yes, but our copy of the source seemed to be an old branch when I compared it to the master, so this change is already integrated
https://jira.sakaiproject.org/browse/SAK-31223
Neal Caidin May 17, 2016 at 7:38 AM
, do you have a Jira associated with the modification? If not this could get "lost" until the next major branch of master, which doesn't seem good.

Raquel Alvarez May 17, 2016 at 6:45 AM
I created a new Jira, but I realized that our modification is already on the master branch on Git.
So I don't know which branch we were working on... =S
For this reason I am not creating a pull request

Matthew Jones May 12, 2016 at 12:04 PM
Hi Raquel, can you open a new jira submit this patch as a pull request on on github (https://github.com/sakaiproject/sakai) about the issue you have? It will be lost on this ticket.

Raquel Alvarez May 12, 2016 at 11:27 AMEdited
We applied this patch to our installation and found a slight problem.
When specifying a preselected tool in the file toolOrder.xml for example:
<tool id="sakai.lessonbuildertool" selected="true"/>
The selection does not take effect.
This is due to a simple mistake in the code. A patch called SAK-16600-preselection-fix.patch is attached.
Details
Priority
MajorFix versions
Components
Assignee
Jeremy KusnetzJeremy KusnetzReporter
Matthew JonesMatthew JonesLabels
Property addition/change required
Yes
Details
Details
Priority
Fix versions
Components
Assignee

Reporter

On the edit tools page for site info, there is potential to have a long, unorganized list of tools. This will increase as new tools are added from contrib or Basic LTI.
This proposal describes how Sakai core tools, contrib tools, and dynamically added Basic LTI ('external') tools can be ordered into pre-defined tool groups. A "more info" link can optionally be added to each tool description, where a tool-specific screenshot can provide additional information.
Different sets of groups can be configured for different site types (e.g. course, project). The category keyword is required.
<group name="core-c" category="course">
...
</group>
<group name="core-p" category="project">
...
</group>
A sample toolOrder.xml file leveraging the new format is attached, along with an sample tools.properties file, updated with tool group localizations. The changes are backward compatible; i.e. if the original toolOrder.xml file format is used, none of the new toolGroup enhancements are displayed.
Enabling this feature requires three changes:
1. sakai.properties (see new properties below)
2. toolOrder.xml (see attached example)
3. tools.properties – (optional) sakai/config/localization/bundles/src/bundle/org/sakaiproject/localization/bundle/tool/tools.properties (see attached example)
tools.properties in sakai trunk currently has tool group pre-defined, you only need to modify this in order to customize
Additions to sakai.propeties, with default values specified:
Enable tool groups
config.sitemanage.useToolGroup=false|true
OPTIONAL: Directory for tool 'more info' link. HTML(<body> content) file must have the same name as the tool registration id, with any extension (e.g. sakai.siteinfo.html)
config.sitemanage.moreInfoDir=library/image/