Fix Traces view in Prompts tab not being scrollable#21282
Merged
daniellok-db merged 1 commit intomlflow:masterfrom Mar 4, 2026
Merged
Fix Traces view in Prompts tab not being scrollable#21282daniellok-db merged 1 commit intomlflow:masterfrom
daniellok-db merged 1 commit intomlflow:masterfrom
Conversation
Add `minWidth: 0` to the right pane flex container in PromptsDetailsPage and `flex: 1` / `minWidth: 0` to PromptFilteredTracesView. Without these, the flex items use the default `minWidth: auto` which prevents them from shrinking below the traces table's natural width (~1440px), causing content to overflow and be clipped instead of scrollable. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Tomu Hirata <tomu.hirata@gmail.com>
Contributor
🛠 DevTools 🛠
Install mlflow from this PRFor Databricks, use the following command: |
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes a flexbox sizing constraint in the Prompts details “Traces” view so the traces table can properly shrink within the right pane and become horizontally scrollable (instead of being clipped by an ancestor with overflow: hidden).
Changes:
- Add
minWidth: 0to the Prompts details right-pane flex container so it can shrink below its contents’ intrinsic width. - Make the traces view wrapper (
PromptFilteredTracesViewImpl) a shrinking flex item viaflex: 1andminWidth: 0.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| mlflow/server/js/src/experiment-tracking/pages/prompts/components/PromptFilteredTracesView.tsx | Ensures the traces view can shrink within a flex row by applying flex: 1 and minWidth: 0. |
| mlflow/server/js/src/experiment-tracking/pages/prompts/PromptsDetailsPage.tsx | Allows the right pane to shrink in the split layout by setting minWidth: 0 on the flex child container. |
Contributor
|
Documentation preview for 9ee9186 is available at: More info
|
daniellok-db
approved these changes
Mar 4, 2026
daniellok-db
pushed a commit
to daniellok-db/mlflow
that referenced
this pull request
Mar 5, 2026
Signed-off-by: Tomu Hirata <tomu.hirata@gmail.com> Co-authored-by: Claude <noreply@anthropic.com>
daniellok-db
pushed a commit
to daniellok-db/mlflow
that referenced
this pull request
Mar 5, 2026
Signed-off-by: Tomu Hirata <tomu.hirata@gmail.com> Co-authored-by: Claude <noreply@anthropic.com>
daniellok-db
pushed a commit
that referenced
this pull request
Mar 5, 2026
Signed-off-by: Tomu Hirata <tomu.hirata@gmail.com> Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues/PRs
N/A
What changes are proposed in this pull request?
Fixes the Traces view in the Prompts details page not being scrollable. The right pane flex container was using the default
minWidth: auto, which prevented it from shrinking below the traces table's natural width (~1440px). This caused the content to overflow and be clipped by the parent'soverflow: hiddeninstead of being properly scrollable.Changes:
minWidth: 0to the right pane container inPromptsDetailsPage.tsxto allow the flex item to shrinkflex: 1andminWidth: 0toPromptFilteredTracesView.tsxto properly fill and constrain the available spaceScreen.Recording.2026-03-03.at.13.55.21.mov
How is this PR tested?
Verified in the browser that the traces table is now properly constrained within the right pane and supports horizontal scrolling.
Does this PR require documentation update?
Does this PR require updating the MLflow Skills repository?
Release Notes
Is this a user-facing change?
Fix Traces view in Prompts tab not being scrollable due to incorrect flex layout constraints.
What component(s), interfaces, languages, and integrations does this PR affect?
Components
area/uiux: Front-end, user experience, plotting, JavaScript, JavaScript dev serverarea/prompts: MLflow prompt engineering features, prompt templates, and prompt managementHow should the PR be classified in the release notes? Choose one:
rn/bug-fix- A user-facing bug fix worth mentioning in the release notesShould this PR be included in the next patch release?