View Issue Details

IDProjectCategoryView StatusLast Update
0026139mantisbtreportspublic2019-12-09 09:07
Reporterdregad Assigned Todregad  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Target Version2.23.0Fixed in Version2.23.0 
Summary0026139: Move MantisGraph pages to their own tab
Description

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.

Relationships

related to 0026445 resolvedatrol Summary have two synthesis tabs 

Activities

dregad

dregad

2019-09-13 18:34

developer   ~0062799

Last edited: 2019-09-13 18:34

View 2 revisions

Before

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

dregad

2019-09-13 18:34

developer   ~0062800

After

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)   
dregad

dregad

2019-09-13 18:38

developer   ~0062801

PR https://github.com/mantisbt/mantisbt/pull/1564

dregad

dregad

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 04:04:11

dregad

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 https://github.com/mantisbt/mantisbt/pull/1564
Affected Issues
0026139
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

Issue History

Date Modified Username Field Change
2019-09-13 18:33 dregad New Issue
2019-09-13 18:33 dregad Status new => assigned
2019-09-13 18:33 dregad Assigned To => dregad
2019-09-13 18:34 dregad Note Added: 0062799
2019-09-13 18:34 dregad File Added: summary_before.png
2019-09-13 18:34 dregad Note Added: 0062800
2019-09-13 18:34 dregad File Added: summary_after_1.png
2019-09-13 18:34 dregad File Added: summary_after_2.png
2019-09-13 18:34 dregad Note Edited: 0062799 View Revisions
2019-09-13 18:37 dregad Additional Information Updated View Revisions
2019-09-13 18:38 dregad Note Added: 0062801
2019-09-13 18:41 dregad Additional Information Updated View Revisions
2019-09-13 18:51 dregad Note Added: 0062802
2019-09-13 18:51 dregad File Added: TestSummarySubmenu.tar.gz
2019-09-13 18:51 dregad File Added: screenshot_2019-09-14_005034.png
2019-09-13 18:51 dregad File Added: screenshot_2019-09-14_005107.png
2019-10-09 04:19 dregad Changeset attached => MantisBT master 986363b1
2019-10-09 04:19 dregad Status assigned => resolved
2019-10-09 04:19 dregad Resolution open => fixed
2019-10-09 04:19 dregad Fixed in Version => 2.23.0
2019-12-09 04:31 vboctor Status resolved => closed
2019-12-09 09:07 atrol Relationship added related to 0026445