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

feat(ui): implement Tree component to handle hierarchical views #1710

Merged
merged 26 commits into from
Jan 6, 2022

Conversation

argshook
Copy link
Contributor

This PR is an attempt at solving #1541

It adds a new <Tree/> component for representing hierarchical views

Each tree node has an onOpen handler - a function that returns a promise. When resolved with appropriate value, that value is used to expand tree node and display new children of tree node. This can continue infinitely through recursion.

This PR also integrates <Tree/> into <Table/> to display columns under a collapsable folder.

Component can be used anywhere else where hierarchical structure needs to be represented.

Example usage
2021-11-13-150500

@CLAassistant
Copy link

CLAassistant commented Dec 18, 2021

CLA assistant check
All committers have signed the CLA.

@bluestreak01
Copy link
Member

image

here there is icon for index (int triangle) and partition information circled. These can go into their own groups perhaps ?

@argshook argshook marked this pull request as ready for review January 6, 2022 10:14
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.

None yet

4 participants