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

Enhance Tree so that there is a expand/collapse action that is separate from select #1700

Merged
merged 12 commits into from
Jan 31, 2023

Commits on Jan 31, 2023

  1. Add a toggle action to Tree, along with a new binding

    See Textualize#1433. The idea here is that the user has an option of
    expanding/collapsing a non-leaf node without causing a selected event,
    or (with auto_expand turned off) cause a selected event without an
    expand/collapse event.
    
    As this will need a new binding, I've chosen the space bar as the key to
    toggle the expanded state.
    davep committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    5c17bc3 View commit details
    Browse the repository at this point in the history
  2. Add a docstring to action_toggle_node

    I want to add docstrings to the actions I'm adding as part of Textualize#1700, so with
    this in mind I'm going to add docstrings to all the actions.
    davep committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    775165e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ca224b7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    93d4863 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    84fa949 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    17d84bc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b2aecfa View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ca773f4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9e406f5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    606af8d View commit details
    Browse the repository at this point in the history
  11. Update the CHANGELOG

    davep committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    2086b71 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6db5217 View commit details
    Browse the repository at this point in the history