Skip to content

Conversation

@smacke
Copy link
Contributor

@smacke smacke commented Jul 4, 2023

This just makes sure that 'k' can still work for navigating after the 'Click to add a cell' footer has been focused.

References

Code changes

User-facing changes

Backwards-incompatible changes

@jupyterlab-probot
Copy link

Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link: Binder

@smacke smacke changed the title blur footer on 'k', not just on ArrowUp blur footer for any key that triggers a 'select above', not just ArrowUp Jul 8, 2023
@krassowski
Copy link
Member

@smacke can you confirm whether the latest commits solve the problem for you? This way we do not expand our public API, and we only have one shortcut.

@krassowski krassowski added this to the 4.0.x milestone Sep 23, 2023
Copy link
Member

@krassowski krassowski left a comment

Choose a reason for hiding this comment

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

This is good to go from me, but will wait for confirmation from @smacke and potentially any other comments. It would be great to include this PR in next point release.

@smacke
Copy link
Contributor Author

smacke commented Sep 23, 2023

Thanks for stepping in @krassowski! I can confirm that with these changes, everything behaves the way I would expect:

  • both "k" and "arrowup" can be used to navigate up from the "add new cell" button
  • if I change the keyboard shortcut in keyboard settings, the new setting also works (and there is just one entry in the manifest, unlike with my previous attempt)

@krassowski krassowski merged commit 1692817 into jupyterlab:main Sep 27, 2023
@krassowski
Copy link
Member

@meeseeksdev please backport to 4.0.x

meeseeksmachine pushed a commit to meeseeksmachine/jupyterlab that referenced this pull request Sep 27, 2023
jtpio pushed a commit that referenced this pull request Sep 28, 2023
…bove', not just ArrowUp (#15162)

Co-authored-by: Stephen Macke <stephen.macke@gmail.com>
@fcollonval fcollonval mentioned this pull request Oct 2, 2023
@krassowski krassowski changed the title blur footer for any key that triggers a 'select above', not just ArrowUp Blur footer for any key that triggers a 'select above', not just ArrowUp Oct 11, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants