SamuelTallet / MongoDB-PHP-GUI

Open-source graphical interface for MongoDB database. Written in PHP, JavaScript, HTML & CSS.
142 stars 33 forks source link

Quick edit full document entry #25

Open creharmony opened 2 years ago

creharmony commented 2 years ago

I've seen the way to quick edit a given document attribute when your mouse is hover a given field, you have a pen with a input form to edit the attribute content 👍

but now I need to quickly refactor the whole document:

One simple way to do that is to add an "edit mode"

in current mode, add a EDIT button on a result array > data row

a clic on this button will switch to "edit mode" in "edit mode"

so cancel return in initial mode without saving and save return to initial mode after saving document

SamuelTallet commented 2 years ago

@creharmony

What if a click on a JSON:

In "edit mode", it would be great to have syntax highlighting, etc. to assist even more the user. By the way, I think it's time to uniformize JSON colors... and switch to a dark theme 🙂

What do you think about?

creharmony commented 2 years ago

That would be great, I can't wait to test this 👍

McHill007 commented 2 years ago

This feature would be great. Can't wait ;) Hope it is still on planed.