question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Runs table filter dropdown is narrow, truncates content

See original GitHub issue

MLflow Roadmap Item

This is an MLflow Roadmap item that has been prioritized by the MLflow maintainers. We’re seeking help with the implementation of roadmap items tagged with the help wanted label.

For requirements clarifications and implementation questions, or to request a PR review, please tag @BenWilson2 in your communications related to this issue.

System information

  • Have I written custom code (as opposed to using a stock example script provided in MLflow): No
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): OSX 10.15
  • MLflow installed from (source or binary): Binary
  • MLflow version (run mlflow --version): 1.20.2
  • Python version: 3.8
  • npm version, if running the dev UI: NA
  • Exact command to reproduce: mlflow ui

Describe the problem

In the MLflow experiment UI, the dropdown for sorting columns (i.e. parameters, metrics, and tags) in the Runs table in ascending / descending order is narrow, so column names are cut off.

For example, see:

Screen Shot 2021-09-16 at 8 42 00 PM

This dropdown should be widened.

Code to reproduce issue

  1. Run the following Python code and then launch the MLflow UI by running mlflow ui from the same directory:
import mlflow

for _ in range(10):
    with mlflow.start_run():
        for i in range(10):
            mlflow.log_param("my_medium_param_key_" + str(i), str(i))
  1. Open the column sorting dropdown in the experiment UI

What component(s), interfaces, languages, and integrations does this bug affect?

Components

  • area/artifacts: Artifact stores and artifact logging
  • area/build: Build and test infrastructure for MLflow
  • area/docs: MLflow documentation pages
  • area/examples: Example code
  • area/model-registry: Model Registry service, APIs, and the fluent client calls for Model Registry
  • area/models: MLmodel format, model serialization/deserialization, flavors
  • area/projects: MLproject format, project running backends
  • area/scoring: MLflow Model server, model deployment tools, Spark UDFs
  • area/server-infra: MLflow Tracking server backend
  • area/tracking: Tracking Service, tracking client APIs, autologging

Interface

  • area/uiux: Front-end, user experience, plotting, JavaScript, JavaScript dev server
  • area/docker: Docker use across MLflow’s components, such as MLflow Projects and MLflow Models
  • area/sqlalchemy: Use of SQLAlchemy in the Tracking Service or Model Registry
  • area/windows: Windows support

Language

  • language/r: R APIs and clients
  • language/java: Java APIs and clients
  • language/new: Proposals for new client languages

Integrations

  • integrations/azure: Azure and Azure ML integrations
  • integrations/sagemaker: SageMaker integrations
  • integrations/databricks: Databricks integrations

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dbczumarcommented, Nov 8, 2021
0reactions
coder-freestylecommented, Nov 9, 2021

@dbczumar I was looking at an alternate solution for this issue for future references which would truncate the extra white space introduced due to min-width being set as 30%. We can set the dropdownMatchSelectWidth as false and keep the width in CSS as auto. Attaching the code snippet and the user interface screenshot.

Screenshot 2021-11-09 at 3 37 00 PM Screenshot 2021-11-09 at 3 37 26 PM

Please let me know your thoughts (in case a PR needs to be raised)

FYI @NieuweNils

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix data that is cut off in cells - Microsoft Support
If you enter more content into the cell, Excel will continue to reduce the font size. Select the cells. Right-click and select Format...
Read more >
Chapter 3. Data, Tables, and Database Design - O'Reilly
THE ANNOYANCE: I just designed my first database, but when I tried to put data into it, Access gave me a "primary key...
Read more >
Truncate with condition - Stack Overflow
No, TRUNCATE is all or nothing. You can do a DELETE FROM <table> WHERE <conditions> but this loses the speed advantages of TRUNCATE...
Read more >
Table chart options | Looker - Google Cloud
Select the Subtotals checkbox and press Run. Subtotals appear only in the table visualization. They do not appear in the data table.
Read more >
How to stop text spilling over in Excel - Ablebits
Select the cells you want to prevent from overflowing. On the Home tab, in the Alignment group, click the Dialog launcher (a small...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found