Skip to content

feat: tree view  #2

@danielhe4rt

Description

@danielhe4rt

Feature

tree view sketch

The first area which we can work on in this project is the Left Bar, which will be placed a Tree View for navigate through.

First Approach

My first glimpse on it was something around the File Explorer, where you can list keyspaces and enter a Keyspace which will list all tables, mvs and udts. Fortunately @Daniel-Boll found in advance the lib ratatui-explorer, which works perfectly but we would need to fork it (I GUESS) to make it work based on our needs.

File Explorer Ratatui

Second Approach

Also we have the possibility to just bring a Tree View on it and make it work faster, since it's simple do add new nodes to it. @Daniel-Boll also brought this crate which is tui-rs-tree-widget and solves our problem in a short term.

tui-rs tree overview

So, what would you like to implement in a first moment?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions