Skip to content

Tree view component #900

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

Merged
merged 39 commits into from
Feb 12, 2024
Merged

Tree view component #900

merged 39 commits into from
Feb 12, 2024

Conversation

matt-aitken
Copy link
Member

@matt-aitken matt-aitken commented Feb 12, 2024

A useTree hook and TreeView component that will be used for our logs view, and other things.

Features

  • Allows passing in a selectedId and collapsedIds from outside the component.
  • Keyboard navigation.
  • Scroll to node support.
  • Autofocus on page load.
  • Virtualized rows so it only renders what's on screen. This should allow massive trees to be rendered with good performance.
  • Animation when expanding and collapsing parent nodes
  • Filtering with custom logic
CleanShot.2024-02-11.at.15.14.00.mp4

Copy link

changeset-bot bot commented Feb 12, 2024

⚠️ No Changeset found

Latest commit: c05e929

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@matt-aitken matt-aitken merged commit 310d51b into main Feb 12, 2024
@matt-aitken matt-aitken deleted the tree-view-component branch February 12, 2024 16:43
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.

1 participant