Horizon documentation about creating panels is outdated

Bug #1597302 reported by Timur Sufiev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
High
Unassigned

Bug Description

So, the docs at http://docs.openstack.org/developer/horizon/topics/tutorial.html#defining-a-panel tell than in order to define a panel one needs to define both panel, dashboard and panel group in python code, while actually they can be already created using plugin files, see https://github.com/openstack/horizon/tree/master/openstack_dashboard/enabled - which allows for greater flexibility and pluggability than the same thing in python code.

Documentation needs to be updated.

Timur Sufiev (tsufiev-x)
tags: added: documentation
Changed in horizon:
assignee: nobody → Nithya Renganathan (narengan)
Changed in horizon:
assignee: Nithya Renganathan (narengan) → Annapoornima Koppad (annakoppad)
Changed in horizon:
status: New → Confirmed
importance: Undecided → High
milestone: none → newton-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/366919

Changed in horizon:
status: Confirmed → In Progress
Changed in horizon:
milestone: newton-rc1 → next
Revision history for this message
Akihiro Motoki (amotoki) wrote :

./run_tests.sh needs to be updated as well.
At least openstack_dashboard/dashboards/mydashboard/mypanel/panel.py generated by ./run_tests.sh is out-of-date.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Rob Cresswell (<email address hidden>) on branch: master
Review: https://review.openstack.org/366919
Reason: Abandoned due to inactivity. Feel free to restore and work on it if you have time

Changed in horizon:
status: In Progress → Confirmed
assignee: Annapoornima Koppad (annakoppad) → nobody
Changed in horizon:
assignee: nobody → Lakshmi Prasannakumar (nathante)
Ying Zuo (yingzuo)
Changed in horizon:
assignee: Lakshmi Prasannakumar (nathante) → nobody
Revision history for this message
Ying Zuo (yingzuo) wrote :
Changed in horizon:
status: Confirmed → Invalid
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: next → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.