-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Update UI #5577
Update UI #5577
Conversation
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
mlflow.statsmodels | ||
================== | ||
|
||
.. automodule:: mlflow.statsmodels | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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.
It appears line endings have been changed to LF from CRLF.
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.
(mlflow-dev-env) @ mlflow [master] -- INSERT --
% git branch --show-current
master
(mlflow-dev-env) @ mlflow [master] -- INSERT --
% file docs/source/python_api/mlflow.statsmodels.rst
docs/source/python_api/mlflow.statsmodels.rst: ASCII text, with CRLF line terminators
(mlflow-dev-env) @ mlflow [5hy2wakz] -- INSERT --
% git branch --show-current
5hy2wakz
(mlflow-dev-env) @ mlflow [5hy2wakz] -- INSERT --
% file docs/source/python_api/mlflow.statsmodels.rst
docs/source/python_api/mlflow.statsmodels.rst: ASCII text
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.
A list of files using CRLF
% git ls-files | xargs file | grep CRLF
docs/source/python_api/mlflow.statsmodels.rst: ASCII text, with CRLF line terminators
examples/statsmodels/MLproject: ASCII text, with CRLF line terminators
examples/statsmodels/README.md: ASCII text, with CRLF line terminators
examples/statsmodels/conda.yaml: ASCII text, with CRLF line terminators
examples/statsmodels/train.py: Python script text executable, ASCII text, with CRLF line terminators
mlflow/server/prometheus_exporter.py: Python script text executable, ASCII text, with CRLF line terminators
tests/statsmodels/test_statsmodels_model_export.py: Python script text executable, ASCII text, with CRLF line terminators
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.
Filed #5580 to convert CRLF to LF.
mlflow/server/js/src/experiment-tracking/components/ExperimentView.test.js
Outdated
Show resolved
Hide resolved
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
{this.state.listExperimentsExpanded ? ( | ||
<ExperimentListView | ||
activeExperimentId={this.props.experimentId} | ||
onClickListExperiments={this.onClickListExperiments} | ||
/> | ||
) : ( | ||
<i | ||
onClick={this.onClickListExperiments} | ||
title='Show experiment list' | ||
style={styles.showExperimentListExpander} | ||
className='expander fa fa-chevron-right login-icon' | ||
/> | ||
)} | ||
<PageContainer> | ||
{this.state.listExperimentsExpanded ? ( | ||
<ExperimentListView | ||
activeExperimentId={this.props.experimentIds && this.props.experimentIds[0]} | ||
onClickListExperiments={this.onClickListExperiments} | ||
/> | ||
) : ( | ||
<i | ||
onClick={this.onClickListExperiments} | ||
title='Show experiment list' | ||
style={styles.showExperimentListExpander} | ||
className='expander fa fa-chevron-right login-icon' | ||
/> | ||
)} | ||
</PageContainer> |
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.
I pull the branch and try to run locally, but hit an error:
I tried to run:
|
@WeichenXu123 I think you forgot to run |
No, I already run
|
mlflow/server/js/src/experiment-tracking/components/HomeView.js
Outdated
Show resolved
Hide resolved
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
@xanderwebs Would you mind taking a brief look at this PR? |
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.
@harupy Not sure if it's new with this PR, but the edit name / delete actions in the experiment sidebar are very close to the righthand side:
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.
LGTM once #5577 (review) is addressed. Tested this out locally using a synthetic workflow from the PR description and confirmed that all components work properly. Thanks @harupy !
margin-right: 3pxmargin-right: 5pxmargin-right: 10px@dbczumar Which one looks the best to you? 3px looks too narrow. 10px looks a bit too wide? 5px looks good to me. |
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
@@ -193,6 +193,7 @@ export class ExperimentListView extends Component { | |||
onClick={this.handleDeleteExperiment} | |||
data-experimentid={experiment_id} | |||
data-experimentname={name} | |||
style={{ marginRight: 10 }} |
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.
Change to fix #5577 (review)
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.
LGTM
...(proxyTarget && { | ||
devServer: { | ||
hot: true, | ||
https: true, | ||
proxy: [ | ||
// Heads up src/setupProxy.js is indirectly referenced by CRA | ||
// and also defines proxies. | ||
{ | ||
context: function(pathname) { | ||
return mayProxy(pathname); | ||
}, | ||
pathRewrite: { '^/mfe/mlflow': '' }, | ||
target: proxyTarget, | ||
secure: false, | ||
changeOrigin: true, | ||
ws: true, | ||
xfwd: true, | ||
onProxyRes: (proxyRes, req) => { | ||
rewriteRedirect(proxyRes, req); | ||
rewriteCookies(proxyRes); | ||
}, | ||
}, | ||
], | ||
host: 'localhost', | ||
port: 3000, | ||
open: false, | ||
}, | ||
}), |
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.
Signed-off-by: harupy 17039389+harupy@users.noreply.github.com
What changes are proposed in this pull request?
Update MLflow UI.
How is this patch tested?
Does this PR change the documentation?
ci/circleci: build_doc
check. If it's successful, proceed to thenext step, otherwise fix it.
Details
on the right to open the job page of CircleCI.Artifacts
tab.docs/build/html/index.html
.Release Notes
Is this a user-facing change?
(Details in 1-2 sentences. You can just refer to another PR with a description if this PR is part of a larger change.)
What component(s), interfaces, languages, and integrations does this PR affect?
Components
area/artifacts
: Artifact stores and artifact loggingarea/build
: Build and test infrastructure for MLflowarea/docs
: MLflow documentation pagesarea/examples
: Example codearea/model-registry
: Model Registry service, APIs, and the fluent client calls for Model Registryarea/models
: MLmodel format, model serialization/deserialization, flavorsarea/projects
: MLproject format, project running backendsarea/scoring
: MLflow Model server, model deployment tools, Spark UDFsarea/server-infra
: MLflow Tracking server backendarea/tracking
: Tracking Service, tracking client APIs, autologgingInterface
area/uiux
: Front-end, user experience, plotting, JavaScript, JavaScript dev serverarea/docker
: Docker use across MLflow's components, such as MLflow Projects and MLflow Modelsarea/sqlalchemy
: Use of SQLAlchemy in the Tracking Service or Model Registryarea/windows
: Windows supportLanguage
language/r
: R APIs and clientslanguage/java
: Java APIs and clientslanguage/new
: Proposals for new client languagesIntegrations
integrations/azure
: Azure and Azure ML integrationsintegrations/sagemaker
: SageMaker integrationsintegrations/databricks
: Databricks integrationsHow should the PR be classified in the release notes? Choose one:
rn/breaking-change
- The PR will be mentioned in the "Breaking Changes" sectionrn/none
- No description will be included. The PR will be mentioned only by the PR number in the "Small Bugfixes and Documentation Updates" sectionrn/feature
- A new user-facing feature worth mentioning in the release notesrn/bug-fix
- A user-facing bug fix worth mentioning in the release notesrn/documentation
- A user-facing documentation change worth mentioning in the release notes