View Issue Details

IDProjectCategoryView StatusLast Update
0005921mantisbtfeaturepublic2010-09-28 20:20
Reporterjason_taylor Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product Version1.0.0a2 
Summary0005921: Various Mantis enhancements offered including dynamic columns to view
Description

I recently did a consulting job for SiliconStor, a Silicon Valley company that needed some changes to their Mantis system. One of the terms of the contract was to make my source code available to this project in the event that some of my changes might be of interest and make it into a future version of Mantis.

The most significant change, and one that I believe will be of interest to many, is the ability to dynamically set what columns to view. I have create a filter parameter call "columns_to_view" that, if set, will override the default columns (for view, print, and export).

I exchanged brief email with Victor Boctor, and I believe the simplest approach is to submit an enhancement with my source files attached. Below is a summary of my changes (from the baseline 1.0.0a2). I would be happy to answer any questions.

jason.taylor@taylorsoftware.com

FILES ADDED

css/sstor.css
Contains CSS styles specific to new HTML output.

Bug History Chart.xls
Client-side Excel file that serves as a template for graphing output of csv_export_bug_history.php.

custom_strings_inc.php
SiliconStor-specific terminology additions and changes.

csv_export_bug_history.php
Exports bug history for the current filter.

help_page.php
SiliconStor-specific bug tracking terminology and process information plus a summary of customizations.

FILES CHANGED

core/columns_api.php
Minor format change for print_column_title_priority().

core/csv_api.php
Changed csv_get_columns() to use columns from configuration string or from the current filter.

core/custom_function_api.php
Changed custom_function_default_get_columns_to_view() to use columns from configuration string or from the current filter.

core/filter_api.php
Added function print_filter_columns_to_view(), which uses $g_columns_to_view_all to generate options. Change function filter_draw_selection_area2() to print both the simple and advanced filter links.

core/html_api.php
Added link to help_page.php in print_doc_menu().

bug_report_advanced_page.php
Changed category text to links with print_help_link().

bug_report_page.php
Changed category text to links with print_help_link().

bug_update_advanced_page.php
Changed category text to links with print_help_link(). Minor wording changes.

bug_update_page.php
Changed category text to links with print_help_link(). Minor wording changes.

bugnote_view_inc.php
Changed category text to links with print_help_link().

config_inc.php
Changed priority icon to text with $g_show_priority_text = ON. Changed CSS file with $g_css_include_file = $g_path.'css/sstor.css'. Added $g_columns_to_view_default, $g_columns_to_view_all, $g_columns_to_export_default, $g_columns_to_export_all. Added $g_hide_status_default = META_FILTER_NONE to allow all closed bugs to be viewed by default. Configured JpGraph.

print_api.php
Added function print_help_link().

view_all_inc.php
Added code to tally Priority and Severity and display results. Added links for new csv export options; changed surrounding format slightly.

view_all_set.php
Added code to include 'columns_to_view' in filters; will not include data in filter if it is set to [any].

view_filters_page.php
Added 'columns_to_view' filter control.

Tagsredesign
Attached Files
jt.zip (100,523 bytes)

Activities

grangeway

grangeway

2005-07-14 17:40

reporter   ~0010779

Got those changes in the form of a diff against the version they are originally coded for ?

atomoid

atomoid

2007-05-10 20:40

reporter   ~0014497

Any chance someone has this still?

All Mantis attachments were lost quite some time ago (probably broken links due to some server change) but most still havent been fixed.