Skip to content

feat(client): add hotkey 'r' to focus on instructions panel - #42503

Merged
raisedadead merged 3 commits into
freeCodeCamp:mainfrom
gikf:feat/hotkey-instructions-panel
Jul 12, 2021
Merged

raisedadead merged 3 commits into
freeCodeCamp:mainfrom
gikf:feat/hotkey-instructions-panel

Conversation

@gikf

@gikf gikf commented Jun 15, 2021

Copy link
Copy Markdown
Member
  • Adds 'r' hotkey to focus on the instructions panel, when in the escape/navigation mode.
  • I haven't added test for it, I recall seeing somewhere tests for hotkeys, but couldn't find them. So maybe make separate PR adding cypress tests for all hotkeys?

Checklist:

  • I have read freeCodeCamp's contribution guidelines.
  • My pull request has a descriptive title (not a vague title like Update index.md)
  • My pull request targets the main branch of freeCodeCamp.
  • I have tested these changes either locally on my machine, or GitPod.

Closes #38842

@gikf gikf added scope: UI Threads for addressing UX changes and improvements to user interface platform: learn UI side of the client application that needs familiarity with React, Gatsby etc. labels Jun 15, 2021
@gikf
gikf requested a review from a team June 15, 2021 12:10
@gitpod-io

gitpod-io Bot commented Jun 15, 2021

Copy link
Copy Markdown

@raisedadead

Copy link
Copy Markdown
Member
  • I haven't added test for it, I recall seeing somewhere tests for hotkeys, but couldn't find them. So maybe make separate PR adding cypress tests for all hotkeys?

Yes - that should be OK. Mind creating an issue and assigning it to yourself?

@raisedadead raisedadead added the status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. label Jun 15, 2021
@Sembauke

Copy link
Copy Markdown
Member

Hey @gikf,

If you need any help making the tests, I am here 😄

@raisedadead raisedadead added MERGE CONFLICT! To be applied to PR's that have a merge conflict and need updating and removed status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. labels Jun 21, 2021
@gikf gikf added status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. MERGE CONFLICT! To be applied to PR's that have a merge conflict and need updating and removed MERGE CONFLICT! To be applied to PR's that have a merge conflict and need updating status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. labels Jun 29, 2021
@gikf
gikf force-pushed the feat/hotkey-instructions-panel branch from 78e4f9d to bf926a8 Compare July 1, 2021 18:13
@gikf gikf added status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. and removed MERGE CONFLICT! To be applied to PR's that have a merge conflict and need updating labels Jul 1, 2021
@gikf
gikf force-pushed the feat/hotkey-instructions-panel branch from bf926a8 to ed19a62 Compare July 1, 2021 18:51

@raisedadead raisedadead left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Can you drop the first commit that changes the the client package.json and lockfiles?

@gikf
gikf force-pushed the feat/hotkey-instructions-panel branch from ed19a62 to ce309e2 Compare July 3, 2021 21:24
@gikf

gikf commented Jul 3, 2021

Copy link
Copy Markdown
Member Author

@raisedadead yes, sorry about that. I somehow botched rebasing when fixing merge conflicts, should be good now.

raisedadead
raisedadead previously approved these changes Jul 6, 2021
@raisedadead
raisedadead enabled auto-merge (squash) July 6, 2021 06:31
@raisedadead

Copy link
Copy Markdown
Member

Because @ojeytonwilliams forgets.

@ojeytonwilliams

Copy link
Copy Markdown
Contributor

I never forget. I just assume other people are taking care of things.

@ojeytonwilliams

Copy link
Copy Markdown
Contributor

@ojeytonwilliams ojeytonwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One minor nitpick, but this is nice work.

gikf and others added 2 commits July 8, 2021 21:05
Co-authored-by: Oliver Eyton-Williams <[email protected]>

@ojeytonwilliams ojeytonwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perfect, thanks for taking care of that extra type issue.

LGTM 👍

@raisedadead
raisedadead merged commit a8e2aff into freeCodeCamp:main Jul 12, 2021
@gikf
gikf deleted the feat/hotkey-instructions-panel branch July 12, 2021 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: learn UI side of the client application that needs familiarity with React, Gatsby etc. scope: UI Threads for addressing UX changes and improvements to user interface status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keyboard Shortcut to go back and forth between reading area and editor.

4 participants