<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 3, 2014 at 9:10 PM, Chirayu Chiripal <span dir="ltr"><<a href="mailto:chirayu.chiripal@gmail.com" target="_blank">chirayu.chiripal@gmail.com</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">Hi,<div><div><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 3, 2014 at 7:37 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Smita a écrit :<br>
<div>> Hi<br>
><br>
> I wanted to have some ideas about where and how should we keep option to<br>
> add a column from central list while we are adding new columns to any<br>
> table.<br>
> I can think of two ways:<br>
> 1.  Add a drop down to select a column from central list. and on select of<br>
> a column auto populate all the other attributes field. [see 1.png]<br>
<br>
</div>Hi Smita,<br>
I think we can reject #1 because AFAIK there would be no way to type a<br>
column name (which is not present in the central list).<br>
<div><br>
><br>
> 2. Make the current "Name" field as dropdown, which will have all the<br>
> columns from central list as options plus one option that let user to write<br>
> column name himself. [see 2.png, 3.png]<br>
<br>
</div>This would work, but I am concerned about the number of columns in the<br>
dropdown if they are numerous. We had a similar problem with the foreign<br>
key selection, that's why we added<br>
<br>
$cfg['ForeignKeyMaxLimit'] = 100;<br>
<br>
and added a panel to browse the foreign values. Since RFE #1487, this<br>
panel is a modal dialog and if you go this way, I would expect a modal<br>
dialog as well.<br>
<div><br>
><br>
> Please suggest what should look good and if have any other ideas.<br>
<br>
</div>In the SQL query box, there is a "Columns" panel where you can pick a<br>
column and click on "<<"; however I'm not sure about the fate of this<br>
panel, you might talk with Edward Cheng about that.  If this feature<br>
stays or is moved to the new SQL console, we'll have to see about<br>
integration with the central list.<br>
<br>
<br>
--<br>
Marc Delisle (phpMyAdmin)<br>
<br></blockquote></div><br clear="all"></div></div></div><div class="gmail_extra">How about autocomplete feature on input box, as you type column name it can show few top matching columns names very much similar to google instant search?<span><font color="#888888"><br>

</font></span></div></div></blockquote><div>In addition to giving an option to select from central columns, we can also have this autocomplete feature as well. This can help to use central columns even better. But we can't just have autocomplete only, I think we need a direct way to pick from the list instead of picking after start typing.<br>
<br>--<br></div><div>Smita<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span><font color="#888888">
</font></span></div><span><font color="#888888"><div class="gmail_extra">-- <br><div dir="ltr">Regards,<br>Chirayu Chiripal<br>phpMyAdmin Intern - Google Summer of Code 2014<br><a href="https://chirayuchiripal.wordpress.com/" target="_blank">https://chirayuchiripal.wordpress.com/</a><br>


</div>
</div></font></span></div>
<br>------------------------------------------------------------------------------<br>
Learn Graph Databases - Download FREE O'Reilly Book<br>
"Graph Databases" is the definitive new guide to graph databases and their<br>
applications. Written by three acclaimed leaders in the field,<br>
this first edition is now available. Download your free book today!<br>
<a href="http://p.sf.net/sfu/NeoTech" target="_blank">http://p.sf.net/sfu/NeoTech</a><br>_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net" target="_blank">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
<br></blockquote></div><br></div></div>