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 explore
operator and table
format (TUI)
#3113
base: main
Are you sure you want to change the base?
Conversation
71c1f31
to
61d8134
Compare
Nix now has FTXUI 4.1 per this PR: NixOS/nixpkgs#232288 Now we need to wire it here. |
I would prefer to do the |
@otbim I will just rebase this branch once your other branch is merged. If you could push the Nix changes on this branch afterwards, that would be helpful. |
71ac1ab
to
4ee45fc
Compare
The Docker build fails with:
Curiously, the regular Debian build worked. |
I also have no trouble on macOS. Weird. Could this be a GCC bug? |
476f4d8
to
e619f2c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a tremendous feat. I really like it. I mostly noted down things relating to the user experience for now, and did not yet look much at the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This happens because the border colors slightly change based on the focused pane, to support guiding the user where they are. I might remove this detail unless I get the inner borders to update as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be addressed in a future PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where do we track this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not something I'll be able to address in this PR, but it'll go on a list of follow-up improvements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question as above: Where do we track this? Maybe add a list of known issues to the code itself?
explore
operator (TUI)explore
operator and table
format (TUI)
This commit introduces a new shared library with components used by the `explore` and `table` plugins. This new library contains all shared logic, e.g., UI components and DOM elements.
5b8fbb6
to
4977f30
Compare
The provided functionality of this PR is at a point where we should merge it. The remaining task is getting the packaging in place. It's unclear that we'll get a release, and release cycles generally are not short. @tobim I'd say we figure out how to a custom version that points to a specific commit, just like in our submodule. What does this entail? EDIT: looks like we're going to get a new FTXUI v5.0 release in the next few weeks, so let's keep sitting on our fingers. 🚀 |
Here's a solution for redirecting stdin, which is probably something we want at some point as it's the natural source for data: ArthurSonzogni/FTXUI#723 (comment) |
@tobim I've bumped FTXUI to v5.0.0. This was the last piece needed to get this PR in shape functionally. I'm just struggling again with the build setup. Any help to get things compile in CI would be terrific. 🙏 |
This needs to be rebased; with FTXUI 5.0 being out, do we still need the submodule at all for this? |
I think so. It's not packaged on Homebrew and neither Debian. |
This PR adds a
tui
operator that renders pipeline results in a terminal user interface (TUI).The PR is continuation of #2838, leveraging the FTXUI library.
See the docs page for details.
Screenshot:
Review instructions:
record_type::depth()
separately.