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

Add project tree navigation shortcuts #1488

Merged
merged 4 commits into from
Jul 29, 2023
Merged

Add project tree navigation shortcuts #1488

merged 4 commits into from
Jul 29, 2023

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Jul 29, 2023

Summary:

This PR adds the following keyboard shortcuts for the project tree:

  • Shift+Up and Shift+Down navigates up and down the project tree between sibling elements under the same node. Navigation stops at the boundaries. This is different from normal Up and Down navigation, which moves between rows and ignores the tree structure. The new functionality is mostly useful on the higher levels as you can skip all expanded child items.
  • Shift+ Left navigates to the immediate parent of the selected item, stopping when reaching a root item. This is only marginally different than the Left key which will alternate between closing an item and moving to the parent, depending on the item's state.
  • Shift+Right navigates to the first child of the item, expanding it in the process. This too is only marginally different than Right, but it combines expanding and moving in one keypress.

Related Issue(s):

Closes #1348

Reviewer's Checklist:

  • The header of all files contain a reference to the repository license
  • The overall test coverage is increased or remains the same as before
  • All tests are passing
  • All flake8 checks are passing and the style guide is followed
  • Documentation (as docstrings) is complete and understandable
  • Only files that have been actively changed are committed

@vkbo vkbo added this to the Release 2.1 Beta 1 milestone Jul 29, 2023
@vkbo vkbo linked an issue Jul 29, 2023 that may be closed by this pull request
@vkbo vkbo merged commit ea13f4f into dev Jul 29, 2023
@vkbo vkbo deleted the tree_shortcuts branch July 29, 2023 20:41
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.

Add keyboard shortcuts to cycle through entire chapters
1 participant