Menu

#1281 Problems with table buttons (Empty,Drop)

fixed
8
2013-06-11
2011-01-15
Anonymous
No

The current quality of warning before dropping a table (which can be holding thousands of lines of information) is not good at all. The current interface (specially the table buttons) priorize size and simplicity (to save screen space) but lets SECURITY to a second plan, giving chance to disasters.
In English the label buttons make it very clear "Empty" and "Drop", they have dramatically different meanings. But in other languages as in Portuguese, the translation of one simple word can lead to confusion (and disasters) because "Limpar" e "Eliminar" have very similar meanings, so, a person can select some rows and click on the last button instead of the penultimate, thinking they are cleaning the selected rows, - Ok, a waring with lower case message (which passes almost unwatched) is presented, but the user don't read, they think: OK, delete my selected rows, fast !!! - and UNFORTUNATELY is surprised with a dropped table message ! I am here to suggest adding one simple word in the second button label, the word TABLE for all languages, because when you read "Eliminar Tabela" (equivalent to "Drop Table") you will be much more able to avoid clicking in the last button to clean some table rows... Please pay attention to this, it is a big trouble dropping a table when you wanted to delete a few rows... The habit of guessing a confirmation dialog in this case causes the disaster. This could also be reduced by USING CAPITAL LETTERS TO CALL ATTENTION !!!

Discussion

  • Marc Delisle

    Marc Delisle - 2011-01-15
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2011-01-15

    In version 3.4.0-beta2, the Empty and Drop menu tabs are gone. Instead, there are more explicit choices under Operations. Did you try this version?

     
  • Anonymous

    Anonymous - 2011-01-15

    Well, it's good to hear this, but unfortunatelly, some internet hosts use old versions of php, so the end user has no control over this. I believe it's very good that you eliminated those buttons, and I have developed a greasemonkey script to make it better, and I ask permission to share it here, for people that use greasemonkey. I will attach both the greasemonkey script and a image of the result (changes the button text to "DROP FULL TABLE"

     
  • Marc Delisle

    Marc Delisle - 2011-01-15

    You can attach your script here if you want; however this feature request will be closed as the feature is already present in the next version. People will still be able to find your script here.

     
  • Anonymous

    Anonymous - 2011-01-15

    Done. I believe it can help many people, as I said, lots of internet hosts use deprecated versions of phpmyadmin and will not change to the newest. So, Firefox and Greasemonkey users will have this choice. Have you checked the files?

     
  • Marc Delisle

    Marc Delisle - 2011-01-15

    I haven't checked the files.

     
  • Marc Delisle

    Marc Delisle - 2011-01-15
    • status: open --> closed-accepted
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-accepted --> fixed