<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">Hi Zhengou,<div><br></div><div>I think it make sense to start with the angular version. It's true that we don't have an angular dashboard yet,</div><div>but we have a pretty good idea of what needs to go into it. I'll link a few patches that will give you an idea</div><div>of where we are headed. I think this will also save you some work in the long run.</div><div><br></div><div>For creating a new dashboard: <a href="https://review.openstack.org/#/c/190852/">https://review.openstack.org/#/c/190852/</a></div><div>For creating a new panel: <a href="https://review.openstack.org/#/c/190865/">https://review.openstack.org/#/c/190865/</a></div><div>For demo patch: <a href="https://review.openstack.org/#/c/181253/">https://review.openstack.org/#/c/181253/</a></div><div><br></div><div>The file and code structure I would say is pretty stable.</div><div>There are still some infra stuff that needs to happen to make this easier to do.</div><div>Things like translation in static HTML, auto discovery of static files, start dash for angular, etc...</div><div><br><font color="#990099">-----niuzhenguo <niuzhenguo@huawei.com> wrote: -----</font><div class="iNotesHistory" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org><br>From: niuzhenguo <niuzhenguo@huawei.com><br>Date: 06/17/2015 06:38PM<br>Subject: Re: [openstack-dev] [Ironic][Horizon][Tuskar-ui] Making a dashboard for Ironic‏<br><br> <!--Notes ACF <meta http-equiv="Content-Type" content="text/html; charset=utf8">--> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> <div class="WordSection1"> <p class="MsoNormal"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d">Hi Krotscheck,<o:p></o:p></font></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d"><o:p> </o:p></font></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d">Sorry for not attending the last meeting due to TZ.<o:p></o:p></font></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d"><o:p> </o:p></font></span></p> <div><font face="Courier New,Courier,monospace" size="3"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d">Yes, Horizon is moving towards an Angular application, but for now there’s no any Angular Dashboard landed. I think it’s high time that we should make a standard for other projects which want to horizon compatible on whether they should based on Angular Dashboard or the current Horizon framework. This is important for the new Magnum and Ironic UI, personally, I’d prefer to use the current framework and  move to Angular Dashboard when it’s mature.<o:p></o:p></font></span></font></div> <div><font face="Courier New,Courier,monospace" size="3"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d"><o:p> </o:p></font></span></font></div> <div><font face="Courier New,Courier,monospace" size="3"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d">And after a quick look at your JS project, I think it’s totally a standalone UI not based on Horizon Angular Dashboard (correct me if I missed something), and seems there’s no any update over a month, are you planning to push you repo to stackforge or openstack?<o:p></o:p></font></span></font></div> <p class="MsoNormal"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d"><o:p> </o:p></font></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d">Anyway, it’s clear that we should make an Ironic dashboard, it’s a good start. <o:p></o:p></font></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d"><o:p> </o:p></font></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d"><o:p> </o:p></font></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d">Regards<o:p></o:p></font></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d">-zhenguo<o:p></o:p></font></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><font color="#1f497d"><o:p> </o:p></font></span></p> <div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"> <p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Michael Krotscheck [mailto:krotscheck@gmail.com] <br> <b>Sent:</b> Wednesday, June 17, 2015 11:56 PM<br> <b>To:</b> OpenStack Development Mailing List (not for usage questions)<br> <b>Subject:</b> Re: [openstack-dev] [Ironic][Horizon][Tuskar-ui] Making a dashboard for Ironic‏<o:p></o:p></span></p> </div> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <div> <p class="MsoNormal"><span lang="EN-US">Hey there!<br> <br> Yes, we are duplicating effort</span><span lang="EN-US" style="font-size:10.0pt">. I've spent quite a bit of effort over the past few months landing features inside openstack that will make it possible for a JavaScript client to be imported to horizon as a  dependency. This includes CORS, configuration, caching, infra tooling, etc, with the end goal being a maximum amount of code reusability between the standalone UI and Horizon. While it may not appear that way, I _am_ actively working on this project, though  I'm currently focused on javascript infrastructure tooling and oslo middleware than the ironic webclient itself.</span><span lang="EN-US"><o:p></o:p></span></p> <div> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">With Horizon also moving towards an angular application, I feel it makes far more sense to build components for the "new" Horizon than the old one.</span><span lang="EN-US"><o:p></o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">Michael</span><span lang="EN-US"><o:p></o:p></span></p> </div> </div> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <div> <div> <p class="MsoNormal"><span lang="EN-US">On Tue, Jun 16, 2015 at 9:02 PM NiuZhenguo <<a href="mailto:niuzhenguoing@hotmail.com">niuzhenguoing@hotmail.com</a>> wrote:<o:p></o:p></span></p> </div> <blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"> <div> <div> <p class="MsoNormal"><span lang="EN-US">hi folks,<o:p></o:p></span></p> <div> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US">I'm planning to propose a new horizon plugin ironic-dashboard to fill the gap that ironic doesn't have horizon support. I know there's a nodes panel on "infrastructure" dashboard handled by tuskar-ui, but it's specifically  geared towards TripleO. Ironic needs a separate dashboard to present an interface for querying and managing ironic's resources (Drivers, Nodes, and Ports).<o:p></o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US">After discussion with the ironic community, I pushed an ironic-dashboard project to stackforge [1].<o:p></o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US">Also there's an existing JS UI for ironic in developing now [2], we may try to resolve the same goals, but as an integrated openstack project, there's clear needs to have horizon support.<o:p></o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US">I'd like to get what's your suggestion, thanks in advance.<o:p></o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US">[1] <a href="https://review.openstack.org/#/c/191131/" target="_blank"><font color="#0068cf">https://review.openstack.org/#/c/191131/</font></a><o:p></o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US">[2] <a href="https://github.com/krotscheck/ironic-webclient" target="_blank"><font color="#0068cf">https://github.com/krotscheck/ironic-webclient</font></a><o:p></o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US">Regards<o:p></o:p></span></p> </div> <div> <p class="MsoNormal"><span lang="EN-US">-zhenguo<o:p></o:p></span></p> </div> </div> </div> <p class="MsoNormal"><span lang="EN-US">__________________________________________________________________________<br> OpenStack Development Mailing List (not for usage questions)<br> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank"> OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></span></p> </blockquote> </div> </div> <div><font face="Courier New,Courier,monospace" size="3">__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br></font></div></div></div></div></font>