bobthecow / genghis

The single-file MongoDB admin app
http://genghisapp.com
MIT License
1.45k stars 164 forks source link

Add database name to 'Deleting is forever' warning #119

Open tikan opened 11 years ago

tikan commented 11 years ago

Database name should be specified in warning message which is shown while deleting collection. Now if you want to check if collection from right database is going to be removed you must look at the page content (which is grayed) or in the address bar.

bobthecow commented 11 years ago

Good call.

Should it also include the server name? It would help distinguish staging servers from production, but it could get crazy with some of those hosted instance domain names...

Should the equivalent dialog for databases also include the server name?

tikan commented 11 years ago

It is not obvious, but I think that server name also should be included. Or maybe in cases when only one server is defined (quite often, I think) it could be omitted?

bobthecow commented 11 years ago

Yep. That makes sense.

I'm planning to add named server support in the next major version, which will help with the crazy hosted instance domain names, as well.