-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Replaces plots dvc_data_version_info
with flat fields to be used by VS Code and Studio
#9019
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
Conversation
@dberenbaum, what's the difference between |
@dberenbaum before merging this, please ping me - I can do some followup changes on the VS Code if needed. |
👍 No plans to merge imminently (it's still in rough shape). I wanted to open the PR for discussion and see if it would be useful for VS Code and Studio. |
Nothing. |
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.
If we include those fields in the datapoints we probably need to reconsider the current tooltip
See also https://github.com/iterative/studio/pull/5015/files#r1100509945. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #9019 +/- ##
==========================================
- Coverage 92.93% 92.92% -0.02%
==========================================
Files 456 456
Lines 36894 36866 -28
Branches 5323 5314 -9
==========================================
- Hits 34287 34257 -30
- Misses 2085 2088 +3
+ Partials 522 521 -1
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
|
Closing since it doesn't seem we have time or enough benefit for this. |
Fixes #9018.
Without this PR,
plots show/diff --json
adds a nesteddvc_data_version_info
field that VS Code uses to do custom rendering. This PR dropsdvc_data_version_info
and adds these new flat fields to the plots output data:Why?
dvc_data_version_info
is only added if--json
is used. With this PR, there is parity between all plots output formats.Example output of
dvc plots show --split --json
:Before this PR
With this PR