bububa / MongoHub-Mac

MongoHub mac native version.
http://mongohub.todayclose.com
1.18k stars 314 forks source link

Feature Request: Reload Document when Saving via Document Editor #99

Open iStefo opened 10 years ago

iStefo commented 10 years ago

A probably not too difficult to implement feature which repeatedly comes into my mind:

When saving a document (after double-clicking it in the collection view) after making changes, closing the editing window and reopening it, it still shows the old document (which is logical, because it doesn't run the whole query again).

Still, this is confusing when you want to check which document you just updated etc. and MongoHub should display the updated document.

I think this could be implemented by querying only the document that was changed (by its _id) and then update the "internal" query cache of MongoHub so the next time the user opens the edit window, he will see the previously updated document.