Skip to content

Fix duplicated title and add icons to Experiments/Prompts page headers#20813

Merged
B-Step62 merged 8 commits intomlflow:masterfrom
B-Step62:claude/distracted-wescoff
Feb 17, 2026
Merged

Fix duplicated title and add icons to Experiments/Prompts page headers#20813
B-Step62 merged 8 commits intomlflow:masterfrom
B-Step62:claude/distracted-wescoff

Conversation

@B-Step62
Copy link
Collaborator

@B-Step62 B-Step62 commented Feb 14, 2026

Related Issues/PRs

#xxx

What changes are proposed in this pull request?

Two improvements to page header consistency:

  1. Remove duplicated title on Prompts page under Experiment: When viewing the Prompts tab within an Experiment, the page showed a duplicated "Prompts" title — one from the parent ExperimentPageTabs header (experiment name + tab navigation) and another from the inner <Header title="Prompts"> in PromptsPage. This removes the inner Header when the page is rendered under an experiment context, consistent with how other experiment sub-pages (Traces, Evaluations, etc.) handle this. The "Create prompt" button is relocated next to the search filter bar when in experiment mode.

  2. Add icons to top-level Experiments and Prompts page headers: The inner-experiment page headers display a styled icon box (e.g., BeakerIcon, TextBoxIcon) next to the page title, but the top-level Experiments list and Prompts list pages did not. This adds the same styled icon boxes to align the visual experience — BeakerIcon for Experiments and TextBoxIcon for Prompts — matching the icons used in the sidebar navigation and inner-experiment headers.

Screenshot 2026-02-14 at 22 50 57

How is this PR tested?

  • Existing unit/integration tests
  • Manual tests

Prompt page under experiment (no header duplication)
Screenshot 2026-02-14 at 22 51 36

Top-level Prompt page (now has an icon)
Screenshot 2026-02-14 at 23 53 33

Top-level Experiment page (now has an icon)
Screenshot 2026-02-14 at 22 51 50

Does this PR require documentation update?

  • No. You can skip the rest of this section.

Does this PR require updating the MLflow Skills repository?

  • No. You can skip the rest of this section.

Release Notes

Is this a user-facing change?

  • Yes. Give a description of this change to be included in the release notes for MLflow users.

Fixed duplicated "Prompts" title on the Prompts tab when viewed within an Experiment page, and added icons to the top-level Experiments and Prompts page headers for visual consistency with inner-experiment pages.

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

Components

  • area/uiux: Front-end, user experience, plotting, JavaScript, JavaScript dev server

How should the PR be classified in the release notes? Choose one:

  • rn/none

Should this PR be included in the next patch release?

  • Yes (this PR will be cherry-picked and included in the next patch release)
  • No (this PR will be included in the next minor release)

When viewing the Prompts tab within an Experiment, the "Prompts" title
from the inner Header component was redundant since the parent
ExperimentPageTabs already provides the experiment header with tab
navigation. This removes the inner Header when under an experiment
context and relocates the "Create prompt" button next to the search
filter bar.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: B-Step62 <yuki.watanabe@databricks.com>
@github-actions
Copy link
Contributor

🛠 DevTools 🛠

Install mlflow from this PR

# mlflow
pip install git+https://github.com/mlflow/mlflow.git@refs/pull/20813/merge
# mlflow-skinny
pip install git+https://github.com/mlflow/mlflow.git@refs/pull/20813/merge#subdirectory=libs/skinny

For Databricks, use the following command:

%sh curl -LsSf https://raw.githubusercontent.com/mlflow/mlflow/HEAD/dev/install-skinny.sh | sh -s pull/20813/merge

@github-actions github-actions bot added v3.10.0 area/uiux Front-end, user experience, plotting, JavaScript, JavaScript dev server rn/bug-fix Mention under Bug Fixes in Changelogs. labels Feb 14, 2026
Align the top-level Experiments and Prompts list page headers with the
inner-experiment page by adding the same styled icon boxes used in the
experiment side nav and header. Uses BeakerIcon for Experiments and
TextBoxIcon for Prompts, matching the sidebar navigation icons.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: B-Step62 <yuki.watanabe@databricks.com>
@B-Step62 B-Step62 changed the title Fix duplicated title on Prompts page under Experiment Fix duplicated title and add icons to Experiments/Prompts page headers Feb 14, 2026
@github-actions github-actions bot added the rn/none List under Small Changes in Changelogs. label Feb 14, 2026
B-Step62 and others added 2 commits February 14, 2026 22:56
When the Prompts page is rendered inside an experiment, the
ScrollablePageWrapper (which wraps PageWrapper) adds 16px left/right
padding on top of the padding already provided by ExperimentPageTabs.
Other experiment sub-pages (Traces, Evaluations) don't use
PageWrapper for this reason. Use a plain div when inside an experiment
to eliminate the doubled padding.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: B-Step62 <yuki.watanabe@databricks.com>
@B-Step62
Copy link
Collaborator Author

/autoformat

Signed-off-by: mlflow-app[bot] <mlflow-app[bot]@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 14, 2026

Documentation preview for d2a2f5c is available at:

More info
  • Ignore this comment if this PR does not change the documentation.
  • The preview is updated when a new commit is pushed to this PR.
  • This comment was created by this workflow run.
  • The documentation was built by this workflow run.

@B-Step62
Copy link
Collaborator Author

/autoformat

Copy link
Collaborator

@daniellok-db daniellok-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg, but should we add an icon to the other top-level pages (AI gateway, model registry, and home) for consistency?

B-Step62 and others added 3 commits February 16, 2026 22:36
Adds consistent icon styling to the remaining top-level pages to match
the Experiments and Prompts pages, addressing PR review feedback.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: B-Step62 <yuki.watanabe@databricks.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: B-Step62 <yuki.watanabe@databricks.com>
The test asserted the presence of the "Prompts" header text, which is no
longer rendered inside PromptsPage when experimentId is set (the parent
ExperimentPageTabs provides the header instead).

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: B-Step62 <yuki.watanabe@databricks.com>
@B-Step62 B-Step62 added this pull request to the merge queue Feb 17, 2026
Merged via the queue into mlflow:master with commit e080831 Feb 17, 2026
14 checks passed
@B-Step62 B-Step62 deleted the claude/distracted-wescoff branch February 17, 2026 11:15
daniellok-db pushed a commit to daniellok-db/mlflow that referenced this pull request Feb 20, 2026
mlflow#20813)

Signed-off-by: B-Step62 <yuki.watanabe@databricks.com>
Signed-off-by: mlflow-app[bot] <mlflow-app[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: mlflow-app[bot] <mlflow-app[bot]@users.noreply.github.com>
daniellok-db pushed a commit that referenced this pull request Feb 20, 2026
#20813)

Signed-off-by: B-Step62 <yuki.watanabe@databricks.com>
Signed-off-by: mlflow-app[bot] <mlflow-app[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: mlflow-app[bot] <mlflow-app[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/uiux Front-end, user experience, plotting, JavaScript, JavaScript dev server rn/bug-fix Mention under Bug Fixes in Changelogs. rn/none List under Small Changes in Changelogs. size/M v3.10.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants