Skip to content

Conversation

@youknowriad
Copy link
Contributor

I've also refactored the components that I touched to use useSelect/useDispatch.

I've noticed that the "sidebar toggle" shortcut is not working but that's on master too.

@youknowriad youknowriad added [Type] Code Quality Issues or PRs that relate to code quality [a11y] Keyboard & Focus labels Dec 24, 2019
@youknowriad youknowriad self-assigned this Dec 24, 2019
@youknowriad youknowriad force-pushed the update/edit-post-shortcuts branch from e8b8841 to ed437ef Compare December 24, 2019 10:28
@youknowriad youknowriad force-pushed the update/edit-post-shortcuts branch from ed437ef to 4abf7c6 Compare December 25, 2019 07:09
@youknowriad youknowriad force-pushed the update/edit-post-shortcuts branch from 4abf7c6 to c47f1f4 Compare December 25, 2019 07:12
@youknowriad youknowriad merged commit 52000d7 into master Dec 25, 2019
@youknowriad youknowriad deleted the update/edit-post-shortcuts branch December 25, 2019 07:40
Comment on lines +43 to +47
const formattingMethods = {
display: displayShortcut,
raw: rawShortcut,
ariaLabel: shortcutAriaLabel,
};
Copy link
Member

Choose a reason for hiding this comment

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

Doubt it has much overhead, and I could grant an argument that it benefits from colocation, but this appears to be constant, could be defined at the top of the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants