[COMPASS-1735] Map Cmd-R (Ctrl-R) to reloading data only, Cmd-Shift-R app reload Created: 15/Aug/17  Updated: 12/Nov/18  Resolved: 24/Jul/18

Status: Closed
Project: Compass
Component/s: Navigation
Affects Version/s: None
Fix Version/s: 1.16.0

Type: Task Priority: Major - P3
Reporter: Thomas Rueckstiess Assignee: Irina Shestak (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-2280
Story Points: 5
Sprint: Iteration Cashew, Iteration Daikon Radish

 Description   

This request has been made many times, e.g. this intercom conversation:
https://app.intercom.io/a/apps/p57suhg7/respond/inbox/conversation/11245082354

Based on email discussion with Sam, Dana, Fred (see below), let's make the following changes:

Cmd-R (Ctrl-R on Windows/Linux) should reload data only. No app refresh.

Behavior:

  • always trigger a reload of the sidebar, and
  • if the user is on the instance level databases view: refresh the list of databases
  • if the user is on the instance level RTSS view, reset the view
  • if the user is on the database level collections view: refresh the list of collections
  • if the user is on one of the collection level tabs, additionally execute the following action:
    • Documents tab: reload the documents (like the dedicated Refresh button)
    • Schema tab: execute a new schema sampling with the same query
    • Explain tab: execute a new explain plan with the same query
    • Indexes tab: refresh indexes
    • Document validation: reload validation rules

Cmd-Shift-R (Ctrl-Shift-R on Windows/Linux) should reload the app (behavior that is Cmd-R today).



 Comments   
Comment by Githook User [ 24/Jul/18 ]

Author:

{'name': 'Irina Shestak', 'email': 'lrlna@users.noreply.github.com', 'username': 'lrlna'}

Message: COMPASS-1735: update refresh-data events in component packages
Branch: master
https://github.com/10gen/compass/commit/4ceaa26495f96c69cf161c741416024bf6de702e

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