<div dir="ltr"><br><div class="gmail_extra"><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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Smita a écrit :<br>
<div class="">> 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 class=""></div></blockquote><div>I didn't mean to have only dropdown for selecting column. User can type himself as well if they wish. <br></div><div>choosing from central columns dropdown is optional. If user select from central columns dropdown then all the fields including name will be populated itself and which user can modify if needed. <br>
Also if user doesn't select anything from central columns then they can type all the fields himself same as before.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="">
><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 class=""><br></div></blockquote><div>Yeah, we can keep model dialogue as well. Did you mean like pic 4.png ? Where on click of "Pick from central columns", a model dialogue to chose a column from the list will open.<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">
><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></blockquote><div>Yeah, sure. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
--<br>
Marc Delisle (phpMyAdmin)<br>
<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">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>
</blockquote></div><br></div></div>