phpmyadmin icon indicating copy to clipboard operation
phpmyadmin copied to clipboard

Error popup

Open OlafvdSpek opened this issue 9 years ago • 15 comments

It's too small, I can't properly read the query this way. It's a popup.. why? Can't it be shown as a flash message, at the top of the page? Then maybe we could also copy/paste stuff from it.

pma

OlafvdSpek avatar Feb 20 '17 15:02 OlafvdSpek

The error display does not seem to happen the way you explained. Or you picture illustrates can you give me a step by step method on how to reproduce your own view? thanks.

error

nfebe avatar Mar 09 '17 12:03 nfebe

Moreover copying is very possible with error modal, I am wondering paste will be.

nfebe avatar Mar 09 '17 12:03 nfebe

I used the Insert (Row) page.

OlafvdSpek avatar Mar 09 '17 12:03 OlafvdSpek

Ok but then the version am using seems to do validation ones entries are made and the form does not submit with any errors. So I will appreciate a step strep procedure which can be used to reproduce your issue

nfebe avatar Mar 09 '17 13:03 nfebe

What version are you using?

You should be able to make the error popup somewhere..

OlafvdSpek avatar Mar 09 '17 13:03 OlafvdSpek

Version information: 4.8.0-dev, latest stable version: 4.6.6

nfebe avatar Mar 09 '17 14:03 nfebe

@OlafvdSpek I think I can make it some changes on the layout of this box or maybe we can shift it as toast message!

A quick change on box gives me screen shot 2017-03-12 at 1 14 26 pm

Any suggestions ?

poush avatar Mar 12 '17 07:03 poush

Looks better already. A toast message would be even better.

OlafvdSpek avatar Mar 12 '17 09:03 OlafvdSpek

screenflow

poush avatar Mar 14 '17 13:03 poush

made an attempt to create small popup/message can be automatically dismissable

poush avatar Mar 14 '17 13:03 poush

@poush great work there! Please help me with a step by step method to reproduce the error pop up.

nfebe avatar Mar 15 '17 12:03 nfebe

@OlafvdSpek. I'm currently working on this, do you think showing it as a flash message will make it more readable? In my opinion, increasing the size of the box(and the query) and adding a copy query button would be better

aroralakshya avatar Jun 27 '18 14:06 aroralakshya

A flash message would cause the error to remain visible while still allowing you to properly read / use the rest of the page, right? I think that's best.

OlafvdSpek avatar Jun 27 '18 14:06 OlafvdSpek

I was thinking about showing all kinds of error messages like the screenshot by @Fenn-CS. It will make the rest of the page accessible, and I'll add a copy query button as well. What about wrapping the query instead of scrolling it when it overflows. @ibennetch

aroralakshya avatar Jun 27 '18 16:06 aroralakshya

Looks reasonable.

OlafvdSpek avatar Jun 27 '18 20:06 OlafvdSpek