-
Notifications
You must be signed in to change notification settings - Fork 113
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
Investigate Dev/Debug Mode visualisation on the flowchart #1464
Comments
Thank you for writing this up 💥 A couple points of clarification from me:
|
Additional considerations and actions:
|
Here are some additional user feedback regarding this pain point and debugging use case: “And in case something fails, it will be amazing if you can say I know that in this, at this point, something fails, so this box, it's red [indicates node on Viz]”. “I think there's something around debugging… something like this [code preview] is probably more helpful than if we're just gonna go line by line through the code so that I can understand what part of the code are we running into issues and then help". Using Kedro-Viz to debug a Kedro project - “I think an unintended use, for example, when my team tell me the project is ready, and the first thing I do is to plot the repository, install the requirement, open Kedro-Viz. If there's an error and I can run it, I know that there's a problem in the catalog in the pipe somewhere, but that's one of things I use Kedro-Viz for". “So there were times when Kedro-Viz, obviously it needs all of the dependencies to be working correctly in order to generate the, the visualisation. At times, it felt like it would be valuable if those dependencies weren't accurate. If those pieces could be orphaned as almost like troubleshooting where the pipeline might be going wrong. It's more nice to have, obviously the pipeline should just be right, but it felt like it might be a cool opportunity". Copying the initial user comment and feature request on the slack channel here: CC @amandakys |
We're going to close this issue and recreate a larger research task about debugging. |
Description
Following on from the work on displaying dataset statistics in the metadata panel (#662), being able to display dataset statistics or other dataset specific information on the flowchart was raised as a possible extension of that work.
Context
Viewing dataset specific information on the flowchart was first proposed by a user to improve the debugging workflow. The user describes using dataset size to diagnose where the pipeline had failed.
Possible Implementation
Where to access the feature
Currently we have two places where actions affect the display of the flowchart.
Filters
Flow chart menu
In the flowchart menu we change how content in the flowchart is displayed. Show/Hide labels and Show/Hide Layers.
In the filters menu we change what content is displayed in the flowchart.
There is some overlap in that when parameters selected for display in the filters menu, they appear in the flowchart with a yellow outline.
As such, a feature that displayed dataset specific information on the flowchart could fit in both menus.
IMO the flowchart menu is a better place for it as dataset statistics are inherently tied to datasets so they don't add extra elements to the flowchart. But I notice that Tags is also an element type, so maybe thats similar.
The feature
What information should be displayed once enabled?
How should datasets be displayed once enabled?
There are a wide variety of options:
To differentiate between these options, more information would be needed on what users would get out of this feature, what they wanted to see, how/what they planned to use it for. If we better understand the motivation for people accessing this feature we can pick the more appropriate option for visualising it.
Next Steps
The text was updated successfully, but these errors were encountered: