[COMPASS-3819] Refresh Cmd-r doesn't update view when data changed via mongo shell Created: 14/Aug/19  Updated: 10/Jan/24  Resolved: 25/Sep/19

Status: Closed
Project: Compass
Component/s: Compass, UI / UX, Views
Affects Version/s: 1.19.2, 1.19.3
Fix Version/s: 1.20.0

Type: Bug Priority: Minor - P4
Reporter: Felicia Hsieh Assignee: Durran Jordan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MacOs 10.14.6
mongo 4.0.10
Compass 1.19.2 Community, 1.19.3 Stable


Attachments: PNG File newly_inserted_docs_not_found_by_keystroke_cmd-R.png    
Sprint: Iteration Newt

 Description   

 
This was reproduced using a default mongo shell connection and changed the collection data (with db.collection.insert command) while viewed in Compass. The Compass "cursor" was on the collection name before the Cmd-r press. Pressing Cmd-r, flashed text of "Loading databases" and a progress bar appears, but the collections data is not refreshed. Pressing the "Reload" icon (clockwise circular arrow) on the LEFT sidebar has no effect either but was expected.
Moving to another collection and back successfully refreshes the data.
Clicking the circular arrow on the RIGHT (near "Displaying Documents...") successfully refreshes the data.

This bug also exists in 1.19.3 Stable, but the Jira label for this release cannot seem to be added.
Also tested in 1.19.3 Stable is the menu command "View>Reload". It does not refresh either.
Using the ellipses on the collection to "Open in New Tab" does a successful refresh.



 Comments   
Comment by Githook User [ 25/Sep/19 ]

Author:

{'name': 'Durran Jordan', 'username': 'durran', 'email': 'durran@gmail.com'}

Message: COMPASS-3819: Refresh documents when instance refreshed
Branch: 1.20-releases
https://github.com/mongodb-js/compass/commit/39ff7f986a7d522bcc20bdf299b826ae82d0bd08

Comment by Githook User [ 25/Sep/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3819: Refresh documents when instance refreshed
Branch: master
https://github.com/mongodb-js/compass/commit/aa5463fbf79f8896ec37046d90e87221ae4b1283

Comment by Githook User [ 25/Sep/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3819: Refresh documents when instance refreshed
Branch: bug-fixes
https://github.com/mongodb-js/compass/commit/d21fe5874773545964ad4f24616226d68c949f42

Generated at Wed Feb 07 22:34:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.