View Issue Details

IDProjectCategoryView StatusLast Update
0026139mantisbtreportspublic2024-02-19 18:50
Reporterdregad Assigned Todregad  
Status closedResolutionfixed 
Target Version2.23.0Fixed in Version2.23.0 
Summary0026139: Move MantisGraph pages to their own tab

Until now, the various graphs generated by MantisGraph core plugin were available via the Summary page's submenu.

The plugin was adding a "Synthesis" menu item for the main summary page, and created additional items for its own. As a result, the Main menu contained only a single Summary item, wasting screen real-estate.

Since we have EVENT_MENU_SUMMARY which allows adding items to the main summary page menu, it would be better to regroup all MantisGraph pages under their own Graphs tab, next to the Summary tab.

Additional Information

See before (0026139:0062799) & after (0026139:0062800) screenshots in notes below.

NOTE: the updated plugin signals a new EVENT_MANTISGRAPH_SUBMENU event, allowing 3rd-party plugins to add additional graphs.

TagsNo tags attached.


related to 0026445 closedatrol Summary have two synthesis tabs 
related to 0033520 closeddregad Cannot add option to MantisGraph 




2019-09-13 18:34

developer   ~0062799

Last edited: 2019-09-13 18:34


summary_before.png (8,780 bytes)   
summary_before.png (8,780 bytes)   


2019-09-13 18:34

developer   ~0062800


summary_after_1.png (4,179 bytes)   
summary_after_1.png (4,179 bytes)   
summary_after_2.png (10,860 bytes)   
summary_after_2.png (10,860 bytes)   


2019-09-13 18:38

developer   ~0062801




2019-09-13 18:51

developer   ~0062802

Attached is a basic plugin I used to test the UI when new pages are added to

  • the Summary submenu (hooking EVENT_SUBMENU_SUMMARY)
  • the Graphs submenu (hooking new MantisGraph event EVENT_MANTISGRAPH_SUBMENU)

Related Changesets

MantisBT: master 986363b1

2019-10-09 00:04


Details Diff
Move MantisGraph pages to their own tab

Until now, graphs generated by MantisGraph core plugin were available
via the Summary page's submenu. The plugin was adding a "Synthesis" menu
item for the main summary page, and created additional ones for its own
pages. As a result, the Main menu contained only a single item, wasting
screen real-estate.

We use of the EVENT_MENU_SUMMARY event to regroup all MantisGraph pages
under their own "Graphs" tab, next to the original "Summary" tab.

Fixes 0026139
Pull Request
Affected Issues
mod - core/html_api.php Diff File
mod - core/plugin_api.php Diff File
mod - lang/strings_english.txt Diff File
mod - plugins/MantisGraph/MantisGraph.php Diff File
mod - plugins/MantisGraph/lang/strings_arabic.txt Diff File
mod - plugins/MantisGraph/lang/strings_arabicegyptianspoken.txt Diff File
mod - plugins/MantisGraph/lang/strings_asturian.txt Diff File
mod - plugins/MantisGraph/lang/strings_belarusian_tarask.txt Diff File
mod - plugins/MantisGraph/lang/strings_breton.txt Diff File
mod - plugins/MantisGraph/lang/strings_bulgarian.txt Diff File
mod - plugins/MantisGraph/lang/strings_catalan.txt Diff File
mod - plugins/MantisGraph/lang/strings_chinese_simplified.txt Diff File
mod - plugins/MantisGraph/lang/strings_chinese_traditional.txt Diff File
mod - plugins/MantisGraph/lang/strings_czech.txt Diff File
mod - plugins/MantisGraph/lang/strings_danish.txt Diff File
mod - plugins/MantisGraph/lang/strings_dutch.txt Diff File
mod - plugins/MantisGraph/lang/strings_english.txt Diff File
mod - plugins/MantisGraph/lang/strings_eo.txt Diff File
mod - plugins/MantisGraph/lang/strings_french.txt Diff File
mod - plugins/MantisGraph/lang/strings_galician.txt Diff File
mod - plugins/MantisGraph/lang/strings_german.txt Diff File
mod - plugins/MantisGraph/lang/strings_greek.txt Diff File
mod - plugins/MantisGraph/lang/strings_hebrew.txt Diff File
mod - plugins/MantisGraph/lang/strings_hungarian.txt Diff File
mod - plugins/MantisGraph/lang/strings_icelandic.txt Diff File
mod - plugins/MantisGraph/lang/strings_interlingua.txt Diff File
mod - plugins/MantisGraph/lang/strings_italian.txt Diff File
mod - plugins/MantisGraph/lang/strings_japanese.txt Diff File
mod - plugins/MantisGraph/lang/strings_korean.txt Diff File
mod - plugins/MantisGraph/lang/strings_lithuanian.txt Diff File
mod - plugins/MantisGraph/lang/strings_luxembourgish.txt Diff File
mod - plugins/MantisGraph/lang/strings_macedonian.txt Diff File
mod - plugins/MantisGraph/lang/strings_norwegian_bokmal.txt Diff File
mod - plugins/MantisGraph/lang/strings_occitan.txt Diff File
mod - plugins/MantisGraph/lang/strings_piedmontese.txt Diff File
mod - plugins/MantisGraph/lang/strings_polish.txt Diff File
mod - plugins/MantisGraph/lang/strings_portuguese_brazil.txt Diff File
mod - plugins/MantisGraph/lang/strings_portuguese_standard.txt Diff File
mod - plugins/MantisGraph/lang/strings_ripoarisch.txt Diff File
mod - plugins/MantisGraph/lang/strings_romanian.txt Diff File
mod - plugins/MantisGraph/lang/strings_russian.txt Diff File
mod - plugins/MantisGraph/lang/strings_serbian.txt Diff File
mod - plugins/MantisGraph/lang/strings_serbian_latin.txt Diff File
mod - plugins/MantisGraph/lang/strings_slovak.txt Diff File
mod - plugins/MantisGraph/lang/strings_spanish.txt Diff File
mod - plugins/MantisGraph/lang/strings_swedish.txt Diff File
mod - plugins/MantisGraph/lang/strings_swissgerman.txt Diff File
mod - plugins/MantisGraph/lang/strings_tagalog.txt Diff File
mod - plugins/MantisGraph/lang/strings_turkish.txt Diff File
mod - plugins/MantisGraph/lang/strings_ukrainian.txt Diff File
mod - plugins/MantisGraph/lang/strings_vietnamese.txt Diff File
mod - plugins/MantisGraph/lang/strings_zazaki.txt Diff File
mod - plugins/MantisGraph/lang/strings_zh-cn.txt Diff File
mod - plugins/MantisGraph/pages/category_graph.php Diff File
mod - plugins/MantisGraph/pages/developer_graph.php Diff File
mod - plugins/MantisGraph/pages/issues_trend_graph.php Diff File
mod - plugins/MantisGraph/pages/issues_trend_page.php Diff File
mod - plugins/MantisGraph/pages/priority_graph.php Diff File
mod - plugins/MantisGraph/pages/reporter_graph.php Diff File
mod - plugins/MantisGraph/pages/resolution_graph.php Diff File
mod - plugins/MantisGraph/pages/severity_graph.php Diff File
mod - plugins/MantisGraph/pages/status_graph.php Diff File