<div dir="ltr"><div><div><div><div><div>Hello Chance,<br></div><div><br>Sure, I will try to re-factor the code into a separate app and ask you if I have any problem.<br><div><br></div>As for the visual model [1] -> PANNING is there, its just a little subtle to notice. You have do a "mouse down" (click-hold) anywhere for roughly 1 sec, to enable <b>panning mode</b> and then move the mouse accordingly keeping it pressed.<br>
</div>I will try to make such UX aspects better gradually.<br><br><div>[1] <a href="http://pramttl.github.io">pramttl.github.io</a><br></div><br><br></div><div>Thank you for the feedback! :)<br><br><br><br><br> Kind Regards,<br>
</div></div></div></div>- Pranjal<br><div><div><div><div><br><br><br><br><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 13, 2013 at 1:10 AM, Chance Zibolski <span dir="ltr"><<a href="mailto:chance@osuosl.org" target="_blank">chance@osuosl.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think this looks pretty awesome. You've made great progress!<div><br></div><div>You probably want to add the ability to pan since you can zoom. I noticed if I zoomed in too much, if i wanted to look at something on the other side, I had to play with zooming in and out until I could "move" my viewport to the other side of the screen.</div>

<div><br></div><div>Secondly, you're code looks great, very clean. I think to improve on this, you should move your django code into its own django app in GWM. I think if you move your views/urls/js into their own app, that will go a long way, especially since this is the project layout we're moving towards with Peter's GSOC project. Take a look here at his github to see how he's got the code separated into different apps: <a href="https://github.com/pbanaszkiewicz/ganeti_webmgr/tree/enhancement/13599/ganeti_web" target="_blank">https://github.com/pbanaszkiewicz/ganeti_webmgr/tree/enhancement/13599/ganeti_web</a> and here's an example of how they'll all be loaded eventually: <a href="https://github.com/pbanaszkiewicz/ganeti_webmgr/blob/enhancement/13599/ganeti_web/ganeti_web/settings/local.py#L96" target="_blank">https://github.com/pbanaszkiewicz/ganeti_webmgr/blob/enhancement/13599/ganeti_web/ganeti_web/settings/local.py#L96</a></div>

<div><br></div><div><br>You don't have to do a whole lot for this, simply make a new django app directory, move the views into there, create your own urls.py, and make an empty models.py file, and include the new app in the settings file. I hope that makes sense, if you need help let me know and I'll do my best to help you out.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Jul 12, 2013 at 11:01 AM, pranjal mittal <span dir="ltr"><<a href="mailto:mittal.pranjal@gmail.com" target="_blank">mittal.pranjal@gmail.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello Everyone,<div><br></div><div><br></div><div>I have added a blog update <a href="http://www.pranjalmittal.in/2013/07/google-summer-of-code-update-1.html" target="_blank">[1]</a> summarizing my work on the GSoC project.</div>


<div>I sent this link on IRC too, but my internet today is very intermittent and I guess I am missing the chat messages.</div><div><br></div><div>As I mentioned in the blog post, ganetiviz-cytoscape <a href="https://github.com/pramttl/ganetiviz-cytoscape" target="_blank">[2]</a>, is the library where most of the front-end code for this project has been added including test cluster data fixtures that are of exactly same format as:</div>


<div> what will be returned by the GWM Views code  <a href="https://github.com/pramttl/ganeti_webmgr/blob/feature/13569/ganeti_web/views/ganetiviz.py" target="_blank">[3]</a> I have written, on the feature/13569 branch of my GWM fork <a href="https://github.com/pramttl/ganeti_webmgr/tree/feature/13569" target="_blank">[4]</a>.</div>


<div><br></div><div> After discussion with chance, Mathuin on IRC, I added the get_natural_keys method to the Node model in GWM for solving the Foreign Key serialization problem; and it works pretty well.</div>
<div><br></div><div>I have tested everything now and everything looks good. N<b>ow I am keen on knowing the further changes I need to do, if any, so that I can send a PULL REQUEST from my<br>pramttl:feature/13569 branch to osuosl : feature/13569</b>. </div>


<div>(not develop right now)</div><div>Note: This is not feature complete, but just something that works nicely.<br></div><div><br></div><div>So please throw some light on this for me. :-)</div><div>
<br></div><div><br></div><div><br></div><div><div>Thanking You,</div><div>Kind Regards,</div><div>- Pranjal</div><div><br></div><div><br></div></div><div><br></div><div>[1] <a href="http://www.pranjalmittal.in/2013/07/google-summer-of-code-update-1.html" target="_blank">http://www.pranjalmittal.in/2013/07/google-summer-of-code-update-1.html</a></div>


<div>[2] <a href="https://github.com/pramttl/ganetiviz-cytoscape" target="_blank">https://github.com/pramttl/ganetiviz-cytoscape</a></div><div>[3] <a href="https://github.com/pramttl/ganeti_webmgr/blob/feature/13569/ganeti_web/views/ganetiviz.py" target="_blank">https://github.com/pramttl/ganeti_webmgr/blob/feature/13569/ganeti_web/views/ganetiviz.py</a></div>


<div>[4] <a href="https://github.com/pramttl/ganeti_webmgr/tree/feature/13569" target="_blank">https://github.com/pramttl/ganeti_webmgr/tree/feature/13569</a></div><span><font color="#888888"><div><div><br>
</div><div><br></div><div><br></div><div><br></div><div>
<br></div>-- <div dir="ltr"><div><div>Pranjal Mittal</div><div>B.Tech.  2014</div></div><div>Indian Institute of Technology,BHU</div><div>Varanasi, U.P,</div><div>India<br><br></div><div><a href="http://github.com/pramttl" target="_blank">Github</a> | <a href="http://in.linkedin.com/pub/pranjal-mittal/26/660/318/" target="_blank">LinkedIn</a> | <a href="http://pranjalmittal.in" target="_blank">Blog</a><br>


</div></div>
</div></font></span></div>
<br></div></div>_______________________________________________<br>
gsoc-dev mailing list<br>
<a href="mailto:gsoc-dev@lists.osuosl.org" target="_blank">gsoc-dev@lists.osuosl.org</a><br>
<a href="http://lists.osuosl.org/mailman/listinfo/gsoc-dev" target="_blank">http://lists.osuosl.org/mailman/listinfo/gsoc-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Best Regards,<div><div>Pranjal Mittal</div><div>B.Tech.  2014</div></div><div>Indian Institute of Technology,BHU</div><div>Varanasi, U.P,</div><div>India<br>
<br></div><div><a href="http://github.com/pramttl" target="_blank">Github</a> | <a href="http://in.linkedin.com/pub/pranjal-mittal/26/660/318/" target="_blank">LinkedIn</a> | <a href="http://pranjalmittal.in" target="_blank">Blog</a><br>
</div></div>
</div>