[Phpmyadmin-devel] Browsing an empty table
Isaac Bennetch
bennetch at gmail.com
Wed May 1 19:18:58 CEST 2013
On Wed, May 1, 2013 at 1:10 PM, Marc Delisle <marc at infomarc.info> wrote:
> Marc Delisle a écrit :
> > Isaac Bennetch a écrit :
> >> On Wed, May 1, 2013 at 12:26 PM, Marc Delisle <marc at infomarc.info>
> wrote:
> >>
> >>> Hi,
> >>> I was training someone new to phpMyAdmin this morning and she was
> >>> surprised by the interface's behavior.
> >>>
> >>> After Operations > Empty the table, the interface tries to browse the
> >>> table, then goes to the Structure page. She did not expect this.
> >>>
> >>> Maybe, when browsing an empty table, we should avoid to go to
> Structure?
> >>>
> >> Sorry, I think I'm a bit confused. If I go in to a table's Operations
> tab
> >> and click the Empty button, I get a popup warning if I want to truncate
> the
> >> table. After pressing OK, I'm left on the Operations tab with a popup
> >> notification giving the results. At no point am I redirected to any
> other
> >> page. The behavior I'm seeing is what I would expect -- is yours
> behaving
> >> differently or am I misunderstanding the steps to reproduce?
> >>
> >
> > I saw this behavior this morning on 4.0.0-rc2, but I cannot reproduce it
> > right now. I'll try to recreate the needed steps.
> >
> > I remember seeing the table Structure tab being active and the structure
> > displayed; also the "SELECT * from tablename" was shown, with a message
> > "empty result set".
> >
>
> Forgetting the Operations aspect of it, you can see what I mean by
> clicking on Browse for an empty table.
>
>
In that case, I see that "Browse" and "Search" are grey text instead of
black, with a red X cursor when mousing over. As a result, I automatically
assume that those aren't actual links. That being said, I think I recall
that we made them links some time ago because someone was populating data
by some external means and wanted to be able to browse the new data without
having to navigate away and back in phpMyAdmin. I think it's not intuitive,
but then again, it's probably not meant to be.
All that aside, I agree with your statement; Browse should go to the browse
page regardless and not to Structure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130501/bc6a7428/attachment.html>
More information about the Developers
mailing list