User Story #7339 (closed)
Modular Tab panes
|Reported by:||wmoore||Owned by:||wmoore|
|Cc:||atarkowska, cxallan||Story Points:||n.a.|
|Total Remaining Time:||0.0d||Estimated Remaining Time:||n.a.|
In order to address use cases that involve displaying custom content in the centre (or right-hand) panels E.g:
- display "dataset split view" in center panel
- show main image viewer in center panel
- table view of images with annotations etc...
we need a way for users to add their page to the appropriate panel. Tabs would seem an obvious choice.
This could be configured in SETTINGS using a list of "Tab Name":"url_name" pairs. Django reverse(url_name) with no parameters would define a url to load into that tab, as is currently done with the metadata and preview tabs in the right-hand panel.
E.g. above examples
CENTER_PANEL_TABS = [["Dataset Split View", "webtest_dataset_split_view"], ["Annotation Table", "webapp_ann_table"]]
Clicking the tab loads the defined url. This page can then respond to current status or changes in tree selection, to display currently selected P/D/I etc.