[Phpmyadmin-devel] Grid editing versus Inline edit
Aris Feryanto
aris_feryanto at yahoo.com
Wed Jul 27 14:54:12 CEST 2011
Hi,
----- Original Message -----
> From: Marc Delisle <marc at infomarc.info>
>
> Le 2011-07-23 12:34, Isaac Bennetch a écrit :
>> Hi! If I may...
>>
>> On Jul 22, 2011, at 12:18 PM, Aris Feryanto <aris_feryanto at yahoo.com>
>> wrote:
>>
>>> ----- Original Message -----
>>>
>>>> From: Marc Delisle <marc at infomarc.info>
>>>>
>>>> Le 2011-07-22 10:11, Aris Feryanto a écrit :
>>>>> ----- Original Message -----
>>>>>> From: Marc Delisle <marc at infomarc.info>
>>>>>>
>>>>>> Le 2011-07-22 09:16, Aris Feryanto a écrit :
>>>>>>> ----- Original Message -----
>>>>>>>> From: Marc Delisle <marc at infomarc.info>
>>>>>>>>
>>>>>>
>>>>>>
>>>>>> Also, if we compare with a spreadsheet program, saving is
> not
>>>>>> done when exiting a cell, it's done by an explicit
> click (for
>>>>>> example on a Disk button). The user might want to change
> many
>>>>>> columns before saving.
>>>>>
>>>>> Great. I think it's good to have the feature to save all
>>>>> edited columns at once.
>>>>
>>>> So you'll change the interface to avoid auto-saving after
>>>> clicking outside of the modified cell?
>>>
>>> I'll try to provide these two options for the user to choose: -
>>> auto-save (with/without confirmation) - save all edited cells at
>>> once
>>>>>>
>>
>> I've used an AJAX-enabled application in a similar way (I was
>> selecting from a dropbox) and waiting for the application to update
>> after each selection was slow and frustrating. However, I also just
>> used a different application where I spent a few minutes trying to
>> figure out why my changes weren't being saved. There's a tiny Save
>> button in the corner.
>
> The problem was that the Save button was too small or misplaced in this
> application.
I just pushed code to my git repo. I added ability to save all edited cells at once (configurable via Settings -> Main frame -> Browse mode -> Save all edited cells at once). But there are still some problems that I'm currently trying to solve:
- the links for "relation" cells are gone after we save the edited cells
- all TEXT data type is considered as edited, even when we do not do any editing
Other than these, I think the user interface and way of editing are ready to be tested.
>
>>
>> Anyway, the point is that I like giving the user the power to chose.
>> I thought about it and think I'd prefer to see the choice as a
>> checkbox near the top of the results; it wouldn't make sense to put
>> it as a config.inc.php setting because I'd want to change it
>> depending on the type of fields I'm editing.
>
> This would mean we would have two mechanisms for user preferences, which
> can be confusing. Also, if someone always prefers the choice that is not
> checked by default, he will complain.
Currently, I only add the configuration in the Settings page.
If you have some time, please try the demo at http://demo.phpmyadmin.net/gsoc-aris and I really appreciate if there is any comment or suggestion.
--
Aris Feryanto
More information about the Developers
mailing list