Skip to content

Clean up assessment pane: remove type dropdown and redundant toggle#21281

Closed
B-Step62 wants to merge 2 commits intomlflow:masterfrom
B-Step62:fix/assessment-pane-cleanup
Closed

Clean up assessment pane: remove type dropdown and redundant toggle#21281
B-Step62 wants to merge 2 commits intomlflow:masterfrom
B-Step62:fix/assessment-pane-cleanup

Conversation

@B-Step62
Copy link
Collaborator

@B-Step62 B-Step62 commented Mar 3, 2026

Related Issues/PRs

Resolve ML-62939
Resolve ML-62964

What changes are proposed in this pull request?

Two minor assessment pane UX improvements:

  1. Remove redundant "Hide assessments" toggle (ML-62939): The toggle button now returns null when the pane is expanded, since the close (x) button inside the pane already handles hiding. The "Show assessments" button still appears when the pane is collapsed.

  2. Remove assessment type dropdown and align terminology (ML-62964): The "Assessment Type" dropdown in the creation form is removed — the type is now determined by which section (Feedback or Expectations) the form is opened from. Updated terminology:

    • "Assessment Name" → "Name"
    • Placeholder: "Enter a feedback name" / "Enter an expectation name" (context-aware)
    • Removed "Assessments" title from pane header (section headers already provide context)

Before:
Screenshot 2026-03-03 at 13 55 45

After:
Screenshot 2026-03-03 at 13 55 32

How is this PR tested?

  • Existing unit/integration tests
  • New unit/integration tests
  • Manual tests

Updated 6 existing tests in AssessmentCreateForm.test.tsx to reflect the removed dropdown and updated placeholders. All tests pass. Verified manually in the dev server.

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.

Cleaned up the assessment pane UI: removed redundant "Hide assessments" toggle (close button suffices), removed the assessment type dropdown from the creation form (type is now inferred from context), and aligned terminology with the Feedback/Expectations split.

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/bug-fix - A user-facing bug fix worth mentioning in the release notes

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)

B-Step62 and others added 2 commits March 3, 2026 13:53
The close (x) button inside the assessments pane already provides the
hide functionality, so the toggle button is now hidden when the pane is
expanded and only shown as "Show assessments" when collapsed.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: B-Step62 <yuki.watanabe@databricks.com>
…xpectations

The assessment creation form no longer shows a redundant "Assessment Type"
dropdown since the type is determined by which section (Feedback or
Expectations) the form is opened from. Updated terminology throughout:
- "Assessment Name" → "Name"
- Placeholder: "Enter a feedback name" / "Enter an expectation name"
- Removed "Assessments" title from pane header (section headers suffice)

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

github-actions bot commented Mar 3, 2026

🛠 DevTools 🛠

Install mlflow from this PR

# mlflow
pip install git+https://github.com/mlflow/mlflow.git@refs/pull/21281/merge
# mlflow-skinny
pip install git+https://github.com/mlflow/mlflow.git@refs/pull/21281/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/21281/merge

@github-actions github-actions bot added area/uiux Front-end, user experience, plotting, JavaScript, JavaScript dev server rn/bug-fix Mention under Bug Fixes in Changelogs. v3.10.1 size/L Large PR (200-499 LoC) labels Mar 3, 2026
@B-Step62 B-Step62 added team-review Trigger a team review request mlflow-fix-it-q1fy27 labels Mar 3, 2026
@github-actions github-actions bot requested review from TomeHirata and harupy March 3, 2026 04:57
Copy link
Member

@harupy harupy Mar 3, 2026

Choose a reason for hiding this comment

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

@B-Step62 Can't we split this PR, one to just remove the redundant "Hide assessments" toggle, one for the rest?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sure

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

UI Preview for this PR has been removed.

Copy link
Collaborator

@TomeHirata TomeHirata left a comment

Choose a reason for hiding this comment

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

Change LGTM, but can we disable "Add Feedback/Expectation" button when the form is already displayed?

Image

@B-Step62
Copy link
Collaborator Author

B-Step62 commented Mar 5, 2026

@TomeHirata Makes sense! FYI I split this PR to two so will address it in #21379

@B-Step62 B-Step62 closed this Mar 5, 2026
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 mlflow-fix-it-q1fy27 rn/bug-fix Mention under Bug Fixes in Changelogs. size/L Large PR (200-499 LoC) team-review Trigger a team review request ui-preview Deploy UI preview on Databricks Apps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants