Keyboard Shortcuts: Replace store name string with exposed store definition#27355
Conversation
definition Replaces references to the `core/keyboard-shortcuts` store name string with the store definition object, adding `import`s where necessary. Addresses WordPress#27088.
|
One of the failing E2E tests seems to be related to #27229 but I'm not sure about the other two. It's looking like Windows really isn't suited to Gutenberg development... I'm going to get my linux environment together tomorrow and try to explore this further - but I'd certainly appreciate any nudges in the right direction! |
|
Thank you for opening this PR. Changes look good, I'll have a closer look tomorrow 👍
I don't see any reason why Window 10 shouldn't be supported. It would be great to file an issue with errors you had. Failing e2e tests are confusing, there is PR that tries to fix 2 of them: #27347. |
Description
Replaces references to the
core/keyboard-shortcutsstore name string with the store definition object, addingimportswhere necessary.
Addresses #27088.
How has this been tested?
npm run test-uniton a Windows 10 machine.The
packages/env/lib/config/test/config.jssuite failed 11 tests for reasons unrelated to this commit - namely, seemingly the Windows 10 environment and Windows-style file-paths. I will set up a linux environment for testing moving forward.Types of changes
Non-breaking refactor replacing string store names to store definition objects. Added named imports where necessary.
Checklist: