<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:tahoma, 'new york', times, serif;font-size:10pt"><div>Hi all,</div><div><br></div><div>About the grid editing mode, should we keep this as an option for user?</div><div>I have submitted a proposal on GSoC website and hoping for some comments.</div><div><br></div><div>--<br>Aris Feryanto</div><div style="font-family:tahoma, new york, times, serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Aris Feryanto <aris_feryanto@yahoo.com><br><b><span style="font-weight: bold;">To:</span></b> phpmyadmin-devel@lists.sourceforge.net<br><b><span style="font-weight: bold;">Sent:</span></b> Rab, 30 Maret, 2011 00:30:40<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Phpmyadmin-devel] GSoC 2011:
Browse-mode Improvements ++<br></font><br><div style="font-family:tahoma, times, serif;font-size:10pt;"><div><span class="Apple-style-span" style="font-family:arial, helvetica, sans-serif;">Hi,</span></div><div><span class="Apple-style-span" style="font-family:arial, helvetica, sans-serif;"><br></span></div><div><span class="Apple-style-span" style="font-family:arial, helvetica, sans-serif;">Sorry, I forgot the link in previous email.</span></div><div style="font-family:tahoma, new york, times, serif;font-size:10pt;"><div style="font-family:arial, helvetica, sans-serif;font-size:10pt;"><br>> -----Original Message-----<br>> From: Marc Delisle [mailto:<a rel="nofollow" ymailto="mailto:marc@infomarc.info" target="_blank" href="mailto:marc@infomarc.info">marc@infomarc.info</a>]<br>> Sent: 29 Maret 2011 18:38<br>> To: <a rel="nofollow" ymailto="mailto:phpmyadmin-devel@lists.sourceforge.net" target="_blank"
href="mailto:phpmyadmin-devel@lists.sourceforge.net">phpmyadmin-devel@lists.sourceforge.net</a><br>> Subject: Re: [Phpmyadmin-devel] GSoC 2011: Browse-mode Improvements<br>> ++<br>> <br>> <br>> I'm not sure that we should keep the 3.4 version "inline edit" in this case. Do<br>> you still see a value for this feature if "grid editing" is implemented?<br>> <br><br>Actually, I was thinking of giving users some choices of ways to edit data. And they can choose the way that most suitable for them. Maybe there are some users that prefer to use inline edit. Moreover, phpMyAdmin developers and contributors surely have put some time and effort on implementing inline edit feature, so I wasn't planning to replace it. How do you think?<br><br>> --<br>> Marc Delisle<br>> <a rel="nofollow" target="_blank" href="http://infomarc.info">http://infomarc.info</a><br>><br><br><br>> -----Original Message-----<br>> From: Michal Čihař
[mailto:<a rel="nofollow" ymailto="mailto:michal@cihar.com" target="_blank" href="mailto:michal@cihar.com">michal@cihar.com</a>]<br>> Sent: 29 Maret 2011 20:18<br>> To: <a rel="nofollow" ymailto="mailto:phpmyadmin-devel@lists.sourceforge.net" target="_blank" href="mailto:phpmyadmin-devel@lists.sourceforge.net">phpmyadmin-devel@lists.sourceforge.net</a><br>> Subject: Re: [Phpmyadmin-devel] GSoC 2011: Browse-mode Improvements<br>> ++<br>> <br>> Hi<br>> <br>> Dne Mon, 28 Mar 2011 20:10:55 -0700 (PDT) Aris Feryanto<br>> <<a rel="nofollow" ymailto="mailto:aris_feryanto@yahoo.com" target="_blank" href="mailto:aris_feryanto@yahoo.com">aris_feryanto@yahoo.com</a>> napsal(a):<br>> <br>> > •Edit only selected field<br>> ><br>> > One way to achieve this: modify current edit page to show only selected<br>> field.<br>> > When user runs a select query, select some rows, and then click edit,<br>> >
some variables will be passed to edit page, so it hides fields that<br>> > are not shown in the
query result. Alternatively, an option to<br>> > show/unhide all fields can be added.<br>> ><br>> > •Grid view in the table edit page<br>> ><br>> > Sometimes, users want to be able to edit only certain selected rows,<br>> > but with a browse-like view. (Think of actions: browse -> select some<br>> > rows -> With<br>> > selected: edit)<br>> ><br>> > I am thinking of improving the edit page, so user can have an option<br>> > to edit table in a grid view instead of current edit view. The grid<br>> > view will be simple, 2D grid, like in browse table. Each cell will be<br>> > resizable text field, where user can change the value directly by typing in it.<br>> ><br>> > I think this will be a complement of inline edit, since we can edit<br>> > TEXT type value (which cannot be edited in inline edit).<br>> <br>> Maybe these two could be somehow mixed
together? Seeing bugs we had<br>> with inline edit, I'm afraid of adding yet another way for editing data, what<br>> would mean three versions of code doing basically same thing.<br>> <br>> I think rather than adding yet another editing mode, it would be more useful<br>> to somehow consolidate what we have right now into shape that it is usable<br>> in more situations. This should probably start with defining how the data<br>> should be editable and which options it should provide (eg. using MySQL<br>> functions and so on).<br>> <br><br>Same as above, I thought that the grid editing will be just an option for users. And about current basic edit mode, I think we should keep it for compatibility when javascript is not available or disabled (as I am thinking of implementing the grid editing using javascript).<br><br>I have take a look at current phpMyAdmin edit page and also a tool "Toad for MySQL Freeware". Basically, user
can enter data by typing the value directly, or choose from a MySQL function.<br><br>For the grid editing, we can implement a drop-down for every cell in the grid, just like in "Toad for MySQL Freeware" [1]. In the drop-down, depends to the data type for selected cell, user will be given option whether to type-in data directly, use MySQL function, use datetime picker, etc.<br><br>To differ MySQL function from usual data, we can use spreadsheet-like syntax, i.e. MySQL function appears with "=" sign in front of the expression.<br><br>That is my suggestions. How do you think?</div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt;"><br></div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt;">[1] <a rel="nofollow" target="_blank"
href="http://s.itb.ac.id/home/aris_feryanto@students.itb.ac.id/Briefcase/GSoC/capture-toad.png">http://s.itb.ac.id/home/aris_feryanto@students.itb.ac.id/Briefcase/GSoC/capture-toad.png</a><br><br>> --<br>>
Michal Čihař | <a rel="nofollow" target="_blank" href="http://cihar.com">http://cihar.com</a> | <a rel="nofollow" target="_blank" href="http://blog.cihar.com">http://blog.cihar.com</a><br><br><br>-----<br>Aris Feryanto<br><br></div></div><div style=""></div>
</div><br></div></div><div style="position:fixed"></div>
</div><br></body></html>