<div dir="ltr">On Mon, May 19, 2014 at 5:30 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<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 have started working on Central List of Columns. I had to clarify few<br>
> things so writing here.<br>
><br>
> Central columns list will be stored per database, right ?<br>
</div>Yes.<br>
<div class=""><br>
> But while using all columns will be available to use from all databases to<br>
> users ?<br>
</div>I believe that in general, it will be better to only show the central<br>
list for the current db. There might be some cases where it's useful to<br>
show a column list for more that one db or to give a choice of db, but<br>
the UI would be too complex IMO.<br><div class=""></div></blockquote><div>yeah, agree. We'll see if we can make it simpler when we works on that. <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>
> Where do we keep "manage central columns list" tab ? I'm thinking Settings<br>
> menu tab will be a good place may be ?<br>
</div>I suggest to put this link on the db Structure page, next to "Data<br>
dictionary".<br></blockquote><div> </div><div>Places where users can have options to add/delete columns to central list:<br>1. on db_structure page, <br> with selected(table): sync unique columns to central list<br>
                             : delete its columns from central list<br>2. A link "manage central columns list" on db_structure page next to "Data Dictionary", on click of that a new page opens within PMA that let user to add one or more columns at a time from tables in selected database and give option to remove the already added columns.<br>
<br>3. on tbl_structure page,<br>with selected (columns): add to central columns list<br>                                : delete from central columns list<br></div><div>Will these be fine ?<br><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="">
> This is what I have done till now:<br>
><br>
> 1. config.inc.php - > added line $cfg['Servers'][$i]['central_columns'] =<br>
> 'pma__central_columns';<br>
> how to commit config changes ? as its in git-ignore<br>
</div>No, your commit should go to config.sample.php and<br>
libraries/config.default.php.<br>
<div class=""><br>
><br>
> 2. examples/create_table.sql -> added the Table structure for table<br>
> `pma__central_columns`<br>
</div>Correct.<br>
<div class=""><br>
><br>
> 3. In General settings block on landing page -> added "Manage central list<br>
> of columns link" that goes to<br>
> prefs_central_columns.php?token=XXXXXXXXXXXXXXXXXXXx<br>
> [1.png] As this is a new feature, users wont be knowing anything like that<br>
> exist so keeping a link at landing page that points to it should be good.<br>
</div>See my suggestion above. I thing that putting a link on the landing page<br>
is too prominent.<br>
<div class="">><br>
> 4. In the settings menu tab added another submenu "manage Central Columns<br>
> List" where user can choose columns to add to the list and delete from the<br>
> list.[2.png, 3.png]<br>
</div>See my suggestion above.<br>
<div class=""><br>
><br>
> For adding the columns, we'll give users a dropdown of all databases and<br>
> for selected database, checkboxes with columns name/definition to add to<br>
> central list.<br>
><br>
> let me know if any concerns?<br>
><br>
> Thanks and Regards<br>
> - Smita<br>
<br>
<br>
</div>--<br>
Marc Delisle (phpMyAdmin)<br>
<br>
------------------------------------------------------------------------------<br>
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE<br>
Instantly run your Selenium tests across 300+ browser/OS combos.<br>
Get unparalleled scalability from the best Selenium testing platform available<br>
Simple to use. Nothing to install. Get started now for free."<br>
<a href="http://p.sf.net/sfu/SauceLabs" target="_blank">http://p.sf.net/sfu/SauceLabs</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>