-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 markdown viewer #897
Add markdown viewer #897
Conversation
/lgtm Thanks a lot for pushing the PR for the next week's bug bash. |
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.
Here's my two cents on 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.
Thanks @avdaredevil for the review!
/lgtm |
/approve |
49366fa
to
9090b5b
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yebrahim The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
/test kubeflow-pipeline-e2e-test |
3 similar comments
/test kubeflow-pipeline-e2e-test |
/test kubeflow-pipeline-e2e-test |
/test kubeflow-pipeline-e2e-test |
/retest |
* working, needs tests * tests * add output artifact loader tests * cleanup new experiment tests * pr comments
* Fix up kfserving install doc link * Update quick install for 0.3.0 * Upgrade quick install to use istio 1.6.2 * Add perf test job for sklearn example * Add KFServing demo gif * Reorganize examples * Add feature descriptions * Add feature table for model serve * Add alibi references * Update main README * Add batcher/gRPC example * Fix perf job for sklearn example * separate custom predictor * Update batching and alibi * Add roadmap
This PR adds a new viewer for markdown text, which supports both inlining the markdown or reading it from a remote storage. It uses markdown-it to convert the markdown text to HTML, and uses React's
dangerouslySetInnerHTML
method to insert it. We rely on the library's sanitization to make sure all active scripts are removed from the markdown. Basic component tests are added here as well.The PR also cleans up test files for NewExperiment, RecurringRunDetails, and RecurringRunsManager to reuse the mount tree, there's no change in functionality there, however, and they can be skipped in the review without leaving out much (so can their snapshot files).
@avdaredevil I'd appreciate it if you can review this PR, since @rileyjbauer is out.
This change is