Draft
Conversation
Note: This is an experiment representing my vision for how a
querybuilder should be architected and how it should look and feel.
- On-node configuration (no sidebar). This puts the node config right
where the graph is and avoids mousing around, while also making it
easier to read the graph as all the information is right there.
- Immutable (immer managed) node configuration allowing for simple
and efficient undo/redo, and change detection.
- JS-side column name and type interence.
- JS-side materialization - no TP based serialization backend. Much
simpler and just as effective, if not more, as we can get stats about
cache hits etc.
- SQL folding, resulting in much more readable SQL code generation.
- Stable configs - when a node is detached from its parent, instead
of forgetting its internal config its retains it and matches back
columns via name when reconnected. If no such col name exists,
highlight the column field in yellow for easy debugging.
- Node style:
- Color coded titlebars with always visible names. This makes the
graph much easier to interpret as there is a clear separation
between the node title and its content.
- Nodes are only draggable via their title bars, which allows for
draggable elements within the body of the node.
- Inputs and outputs are constrained to the left and right edges,
resulting in more pleasing connection beziers.
🎨 Perfetto UI Builds
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note: This is an experiment representing some ideas for how a query builder could be architected and how it could look and feel.