Difference between revisions of "Documentation/Nightly/Developers/BugTrackerConfiguration"

From Slicer Wiki
Jump to: navigation, search
(doc Gravatars and Color Scheme)
Line 38: Line 38:
 
References:
 
References:
 
* http://www.mantisbt.org/wiki/doku.php/mantisbt:customizing_columns_in_view_issues_page
 
* http://www.mantisbt.org/wiki/doku.php/mantisbt:customizing_columns_in_view_issues_page
 +
 +
== Allow Gravatars ==
 +
Solves https://issues.slicer.org/view.php?id=4219
 +
<source lang="php">
 +
$g_show_avatar = ON; // defaults to OFF;
 +
</source>
 +
 +
== Set Color Scheme ==
 +
The default color scheme for the newly rolled out v2.4.1 was too faded, so we use these colors instead
 +
<source lang="php">
 +
$g_status_colors = array(
 +
        'new'          => '#ef2929', # scarlet red
 +
        'feedback'    => '#75507b', # plum
 +
        'acknowledged' => '#f57900', # orango
 +
        'confirmed'    => '#fce94f', # butter
 +
        'assigned'    => '#729fcf', # sky blue
 +
        'resolved'    => '#8ae234', # chameleon
 +
        'closed'      => '#babdb6'  # aluminum
 +
</source>

Revision as of 21:11, 6 June 2017

Home < Documentation < Nightly < Developers < BugTrackerConfiguration


For the latest Slicer documentation, visit the read-the-docs.


This page documents the tweak and configuration details specific to Slicer bug trackers.

Allow Reporter, updater, developer to add notes even if issue is resolved or closed

In Manage -> Manage Projects -> Slicer4 -> Manage Configuration -> Configuration Report

Add a new entry:

* Username: All Users
* Project: Slicer4
* Configuration Option: update_readonly_bug_threshold
* Type: integer
* Value: 25
* Access Level: administrator

References:

Add Reporter field in the View Issues page

In Manage -> Manage Configuration -> Configuration Report

Then, in "Set Configuration Option":

  • Username: All users
  • Project name: Slicer4
  • Configuration Option: view_issues_page_columns
  • Type: default
  • Value: array ( selection, edit, priority, id, sponsorship_total, bugnotes_count, attachment, category, severity, reporter_id, status, last_updated, summary )
  1. category should be used instead of category_id


.. and click on "Set Configuration Option"


References:

Allow Gravatars

Solves https://issues.slicer.org/view.php?id=4219

$g_show_avatar = ON; // defaults to OFF;

Set Color Scheme

The default color scheme for the newly rolled out v2.4.1 was too faded, so we use these colors instead

$g_status_colors = array(
        'new'          => '#ef2929', # scarlet red
        'feedback'     => '#75507b', # plum
        'acknowledged' => '#f57900', # orango
        'confirmed'    => '#fce94f', # butter
        'assigned'     => '#729fcf', # sky blue
        'resolved'     => '#8ae234', # chameleon
        'closed'       => '#babdb6'  # aluminum