-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Frontend hardcoded and send codes to Visualization server, it should be refactoryed #3085
Comments
It's a good point, we should do this. just that I don't feel this is a p0. This is an example of how to do this: https://github.com/kubeflow/pipelines/pull/3089/files |
Hey guys, what is ur opinion of using Vega as the main vis dsl? I am a big fan of Vega as I think it is a very good dsl for describing vis. |
And I can implement a purely client-side solution. And all it needs is a json spec of the vis. |
@eterna2 Thanks for offering the idea, current KFP visualization work focuses on integrating existing jupyter notebook visualizations into KFP UI. For Vega, sounds like an interesting usage, but I don't have much personal experience, can you open a separate issue to discuss about it? Do we expect data scientists using Vega for visualizations directly? |
If possible, can we refactor visualization to move the visualization codes to |
@Ark-kun thanks! that's a good idea to me. Current visualization doesn't take any parameters, sounds like it would be better as components instead. The caching problem is also solved. |
hey I created a issue to describe more on my idea #3187 I don't think vega will solve the issue with existing integration with jupyter notebook vis (unless they are using py lib like https://altair-viz.github.io/ ). But I think it is very useful moving forward, for more general use cases (i.e. data that do not have a handy lib to generate the vis) and for
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it. |
cb4f4ba#diff-3403c794353f09e8d1cde18b6bfc3baa
Python codes should be keep inside Visualization server. Frontend should not hardcode python codes. Aka, if CUSTOM visualization means put python codes in frontend, better we disable it and use TYPED visualization.
The text was updated successfully, but these errors were encountered: