[COMPASS-6738] Refresh button on the Collection tab does not refresh collection stats Created: 19/Apr/23  Updated: 29/Oct/23  Resolved: 19/Apr/23

Status: Closed
Project: Compass
Component/s: Collection
Affects Version/s: 1.36.3
Fix Version/s: 1.36.4

Type: Bug Priority: Minor - P4
Reporter: Himanshu Singh Assignee: Himanshu Singh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS: All
Additional info:


Issue Links:
Problem/Incident
is caused by COMPASS-6431 Refresh CTA in the navigation tree Closed
Story Points: 1
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

The refresh button available on the collections tab does not refresh the collection stats. This might be frustrating for users expecting this behaviour.

Please be sure to attach relevant logs with any sensitive data redacted.

Steps to Reproduce

  1. Set up a new connection in compass and one in mongosh
  2. From the navigation tree on the left select a database to open the collection tab
  3. From the mongosh insert a few documents into any of the collection in the database that you just opened in compass
  4. On compass, press the refresh button that you see on the collection tab

Expected Results

Documents count in the collection grid gets refreshed and reflects the recently added documents

Actual Results

Documents count in the collection grid remains the same

Additional Notes

Any additional information that may be useful to include.



 Comments   
Comment by Githook User [ 24/Apr/23 ]

Author:

{'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}

Message: fix(databases-collections-list): fixes the problem of refresh button on collection tab not refreshing the collection stats - COMPASS-6738 (#4270)
Branch: COMPASS-6530-auto-add-curly-braces
https://github.com/mongodb-js/compass/commit/5453f296a7e9b961922c2be405e96eabb019df0a

Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}

Message: fix(databases-collections-list): fixes the problem of refresh button on collection tab not refreshing the collection stats - COMPASS-6738 (#4270)
Branch: 1.36-releases
https://github.com/mongodb-js/compass/commit/5453f296a7e9b961922c2be405e96eabb019df0a

Comment by Githook User [ 20/Apr/23 ]

Author:

{'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}

Message: fix(databases-collections-list): fixes the problem of refresh button on collection tab not refreshing the collection stats - COMPASS-6738 (#4270)
Branch: COMPASS-6659--case
https://github.com/mongodb-js/compass/commit/5453f296a7e9b961922c2be405e96eabb019df0a

Comment by Githook User [ 20/Apr/23 ]

Author:

{'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}

Message: fix(databases-collections-list): fixes the problem of refresh button on collection tab not refreshing the collection stats - COMPASS-6738 (#4270)
Branch: surface-type-warnings
https://github.com/mongodb-js/compass/commit/5453f296a7e9b961922c2be405e96eabb019df0a

Comment by Githook User [ 19/Apr/23 ]

Author:

{'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}

Message: fix(databases-collections-list): fixes the problem of refresh button on collection tab not refreshing the collection stats - COMPASS-6738 (#4270)
Branch: main
https://github.com/mongodb-js/compass/commit/5453f296a7e9b961922c2be405e96eabb019df0a

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