[COMPASS-6777] Hotkeys on windows not working properly Created: 01/May/23  Updated: 29/Oct/23  Resolved: 05/Jul/23

Status: Closed
Project: Compass
Component/s: UI / UX
Affects Version/s: None
Fix Version/s: 1.39.0

Type: Bug Priority: Major - P3
Reporter: Rhys Howell Assignee: Rhys Howell
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:


Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Edmontonia, Iteration Fukuiraptor

 Description   

Likely a bug with how we're handling the `meta` character for hotkeys on windows with the `useHotkeys` hook.
Some of the hotkeys that aren't working:

  • Focus mode add stage before CTRL + SHIFT  + A
  • Focus mode add stage after CTRL + SHIFT  + B
  • New tab CTRL + T
    These do work on mac.

Initially reported on slack by ian.fogelman@mongodb.com https://mongodb.slack.com/archives/C0U7K0MC3/p1682944519825099 



 Comments   
Comment by Githook User [ 14/Jul/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-components): use mod for hotkey so windows uses ctrl instead of windows key COMPASS-6777 (#4609)
Branch: ga-releases
https://github.com/mongodb-js/compass/commit/d03c44ebcd62b2f781839ebfc8d9ce443b6aed44

Comment by Githook User [ 11/Jul/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-components): use mod for hotkey so windows uses ctrl instead of windows key COMPASS-6777 (#4609)
Branch: storage-mixin-from-user-preferences
https://github.com/mongodb-js/compass/commit/d03c44ebcd62b2f781839ebfc8d9ce443b6aed44

Comment by Githook User [ 10/Jul/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-components): use mod for hotkey so windows uses ctrl instead of windows key COMPASS-6777 (#4609)
Branch: beta-releases
https://github.com/mongodb-js/compass/commit/d03c44ebcd62b2f781839ebfc8d9ce443b6aed44

Comment by Githook User [ 07/Jul/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-components): use mod for hotkey so windows uses ctrl instead of windows key COMPASS-6777 (#4609)
Branch: COMPASS-6839-signals-for-too-many-indexes
https://github.com/mongodb-js/compass/commit/d03c44ebcd62b2f781839ebfc8d9ce443b6aed44

Comment by Githook User [ 05/Jul/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-components): use mod for hotkey so windows uses ctrl instead of windows key COMPASS-6777 (#4609)
Branch: COMPASS-6979-pass-schema-and-docs-to-ai
https://github.com/mongodb-js/compass/commit/d03c44ebcd62b2f781839ebfc8d9ce443b6aed44

Comment by Githook User [ 05/Jul/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-components): use mod for hotkey so windows uses ctrl instead of windows key COMPASS-6777 (#4609)
Branch: main
https://github.com/mongodb-js/compass/commit/d03c44ebcd62b2f781839ebfc8d9ce443b6aed44

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