Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinGet manifest Keyboard Shortcuts extension #35433

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Aaron-Junker
Copy link
Collaborator

Summary of the Pull Request

Work for Shortcut Guide v2

PR Checklist

  • Closes: #xxx
  • Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
  • Tests: Added/updated and all pass
  • Localization: All end user facing strings can be localized
  • Dev docs: Added/updated
  • New binaries: Added on the required places
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

This comment has been minimized.

This comment has been minimized.

@Aaron-Junker Aaron-Junker changed the title [WIP] WinGet manifest Keyboard Shortcuts extension WinGet manifest Keyboard Shortcuts extension Nov 3, 2024
@Aaron-Junker Aaron-Junker marked this pull request as ready for review November 3, 2024 22:02
@Aaron-Junker
Copy link
Collaborator Author

This is ready for review now

This comment has been minimized.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • .github/actions/spell-check/expect.txt: Language not supported
Comments suppressed due to low confidence (2)

doc/specs/Winget Manifest Keyboard Shortcuts schema.md:23

  • The example filename is missing a closing quotation mark. It should be corrected to test.bar.en-US.KBSC.yaml.
For example the package "test.bar" saves its manifest with `en-US` strings in `test.bar.en-US.KBSC.yaml"

doc/specs/Winget Manifest Keyboard Shortcuts schema.md:276

  • The key 'Filter' should be 'WindowFilter' to be consistent with the rest of the document.
- Filter: "*"

Comment on lines +168 to +169
An string array of all the keys that need to be pressed. If a number is supplied, it should be read as a [KeyCode](https://learn.microsoft.com/windows/win32/inputdev/virtual-key-codes) and displayed accordingly (based on the Keyboard Layout of the user).

Copy link
Preview

Copilot AI Feb 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrase 'An string array' should be corrected to 'A string array'.

Suggested change
An string array of all the keys that need to be pressed. If a number is supplied, it should be read as a [KeyCode](https://learn.microsoft.com/windows/win32/inputdev/virtual-key-codes) and displayed accordingly (based on the Keyboard Layout of the user).
A string array of all the keys that need to be pressed. If a number is supplied, it should be read as a [KeyCode](https://learn.microsoft.com/windows/win32/inputdev/virtual-key-codes) and displayed accordingly (based on the Keyboard Layout of the user).

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

@yeelam-gordon
Copy link
Contributor

Thanks for your effort and passion in writing this up!

The spec doesn’t explicitly mention its purpose/goal, so let me clarify the intended goal. I assume this is designed to simplify configuring and restoring shortcut keys for PowerToys modules via WinGet configuration—please let me know if that’s not the case.

From what I see, the location and example provided seem to extend beyond just PowerToys. If your goal is to support any Windows app, not just PowerToys, I recommend explicitly specifying this in the Goal section to avoid ambiguity.

Additionally, based on the spec, I suggest considering the following aspects:

Expected behavior for multiple shortcut manifests – Should they merge, override, or warn about conflicts?
How the manifest is updated – When users modify their preferences, what’s the expected process for exporting and applying changes?
Handling duplicate shortcut definitions – How should duplicates within the same manifest or across multiple manifests be managed?
Looking forward to your thoughts!

@Aaron-Junker Aaron-Junker marked this pull request as draft February 23, 2025 12:09
@Aaron-Junker
Copy link
Collaborator Author

Thanks for your effort and passion in writing this up!

The spec doesn’t explicitly mention its purpose/goal, so let me clarify the intended goal. I assume this is designed to simplify configuring and restoring shortcut keys for PowerToys modules via WinGet configuration—please let me know if that’s not the case.

From what I see, the location and example provided seem to extend beyond just PowerToys. If your goal is to support any Windows app, not just PowerToys, I recommend explicitly specifying this in the Goal section to avoid ambiguity.

Additionally, based on the spec, I suggest considering the following aspects:

Expected behavior for multiple shortcut manifests – Should they merge, override, or warn about conflicts? How the manifest is updated – When users modify their preferences, what’s the expected process for exporting and applying changes? Handling duplicate shortcut definitions – How should duplicates within the same manifest or across multiple manifests be managed? Looking forward to your thoughts!

Hi @yeelam-gordon. Thank you for your feedback. This spec stands in relation to Shortcut Guide V2 which was discussed internally.

I changed the PR back to a draft so I can implement some clarifications and adress your questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants