[Phpmyadmin-devel] zoom-search: need to push code?

Ammar Yasir ammaryasir.88 at gmail.com
Wed Jul 6 19:36:08 CEST 2011


On Wed, Jul 6, 2011 at 1:36 AM, Marc Delisle <marc at infomarc.info> wrote:

> Le 2011-07-05 08:50, Ammar Yasir a écrit :
> > Hi,
> > I had made some changes and pushed my work.
> >
> >     * Implemented the Hide/Show search criteria for zoom-search
> >       interface. After submitting the input criteria the input form
> >       toggles to hide and can be made visible again by clicking 'Show
> >       input criteria'
>
> Good!
>
> >     * The link for 'How to use?' / instructions to use is available
> >       again by using PMA_ajaxShowMessage
>
> OK but I don't have the time to read the full message; I must click
> again and this is annoying. Maybe leave it in place until I click again?
>
> Maybe just increase the time to 10 sec? or it may be 10 sec is too long ?


> >     * Browse/Edit mode it kept so as to disable the data point info form
> >       elements when using browse mode and enabled when using edit mode.
>
> I still find the modes confusing. Two other reasons to annoy me:
> - now that the search criteria are hidden by default, going into Edit
> mode requires more clicks (and maybe I don't even remember that the
> modes dialog was there)
>
> - in browse mode I still see a Submit button
>
> It would be so much simpler if the interface was always in Edit mode. If
> I don't want to edit, I just don't edit.
>
> Ok, I'll remove the feature.

>
> >       I was thinking that if we had to add more modes like add or delete
> >       we can add it to this panel.
>
> We started this dialog with the Search idea, remember. I'm not sure we
> want Add and Delete, but should we want these:
> - Delete can be implemented with a simple red X or a Delete button in
> the current dialog
> - Add can be done with another button
>
> Using "modes" is just not the right way, IMO. The user wants to do
> something, so give him the links/buttons to do it; don't ask him to
> choose the right mode.
>
>
> >     * Changed the names for some configuration directives
>
> Next time, please do shorter commits, it's easier to see what part of
> the code was changed for what reason. I would have preferred 4 commits
> for your 4 changes.
>
> Another thing: why remove this line from config.default.php?
> $cfg['ShowDisplayDir'] = false;
>
> Reverted the change.

> >
> > Now working on to update query generation on edit mode. Also, will check
> > out the code snippet for panning tyron suggested.
> > I'll look into the default label problem in some time (testing using the
> > pma configuration storage).
> >
> > On Sat, Jul 2, 2011 at 4:40 PM, Marc Delisle <marc at infomarc.info
> > <mailto:marc at infomarc.info>> wrote:
> >
> >     Le 2011-07-01 08:02, Ammar Yasir a écrit :
> >      > Hi Marc,
> >      > There are some parts of the interface where we can use ajax. I've
> >     been
> >      > working on it, but I'm not much experienced with using ajax so
> >     not much
> >      > success. I'll discuss this with thilanka too.
> >      > Some of parts are:
> >      > 1) When the plot is generated, we can hide the search criteria.
> >     This is just
> >      > like the table search page toggle search criteria but when I use
> >     the same
> >      > script as in tbl_select.js it somehow end up losing the plot (it
> >     generates
> >      > empty plot).
> >      > 2) When we click submit after editing the data point values, it
> >     should
> >      > generate the sql query and post it to server/post the updated
> >     values to the
> >      > server and execute the query there.
> >      >
> >      > I think i'll start again fresh with the ajax part.
> >
> >     Ammar,
> >     Firebug's Network panel is very useful to debug Ajax requests and
> >     replies.
> >
> >     --
> >     Marc Delisle
> >     http://infomarc.info
> >
> >
> ------------------------------------------------------------------------------
> >     All of the data generated in your IT infrastructure is seriously
> >     valuable.
> >     Why? It contains a definitive record of application performance,
> >     security
> >     threats, fraudulent activity, and more. Splunk takes this data and
> makes
> >     sense of it. IT sense. And common sense.
> >     http://p.sf.net/sfu/splunk-d2d-c2
> >     _______________________________________________
> >     Phpmyadmin-devel mailing list
> >     Phpmyadmin-devel at lists.sourceforge.net
> >     <mailto:Phpmyadmin-devel at lists.sourceforge.net>
> >     https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > All of the data generated in your IT infrastructure is seriously
> valuable.
> > Why? It contains a definitive record of application performance, security
> > threats, fraudulent activity, and more. Splunk takes this data and makes
> > sense of it. IT sense. And common sense.
> > http://p.sf.net/sfu/splunk-d2d-c2
> >
> >
> >
> > _______________________________________________
> > Phpmyadmin-devel mailing list
> > Phpmyadmin-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>
>
> --
> Marc Delisle
> http://infomarc.info
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110706/6ed8884d/attachment.html>


More information about the Developers mailing list