Skip to content

Add action icons for Predictions and Explainability in Experiments module#309

Merged
cristian-tamblay merged 14 commits into
developfrom
feat/experiment-prediction-explainability-chaining
Sep 26, 2025
Merged

Add action icons for Predictions and Explainability in Experiments module#309
cristian-tamblay merged 14 commits into
developfrom
feat/experiment-prediction-explainability-chaining

Conversation

@Irozuku
Copy link
Copy Markdown
Collaborator

@Irozuku Irozuku commented Sep 25, 2025

This PR introduces new action icons in the Experiments results table that allow users to directly access the Predictions and Explainability modules for any trained model.

  • Predict icon: opens the predictions module with the selected model preloaded.
  • Explain icon: opens the explainability module with the selected model preloaded.
  • Updated the Actions column to include these new shortcuts alongside the existing Details action.

UI Preview

  • Icons for Details, Predict, and Explain are now shown in the Actions column.
  • The new icons provide quick, intuitive entry points for extended model evaluation.
image

Prediction modal if it was redirected from a trained model:
image

@Irozuku Irozuku marked this pull request as ready for review September 25, 2025 15:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds action icons to the Experiments results table to provide quick access to Predictions and Explainability modules for trained models. The changes enable users to directly navigate to these modules with preloaded model data.

  • Adds "Predict" and "Explain" action icons alongside the existing "Details" action in the experiments results table
  • Updates the action column to use individual icon buttons instead of a single actions column
  • Modifies the predictions module to handle preselected model data from experiment navigation

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
DashAI/front/src/pages/results/constants/initialColumns.jsx Reduces column widths to accommodate new action icons
DashAI/front/src/pages/results/constants/extractColumns.jsx Refactors to support multiple action icons and passes navigation handlers
DashAI/front/src/pages/results/constants/actionsColumns.jsx Converts from single action to configurable multiple icon buttons
DashAI/front/src/pages/results/components/ResultsTable.jsx Adds navigation handlers for prediction and explainer modules
DashAI/front/src/pages/predictions/PredictionPage.jsx Handles preselected model data from experiment navigation
DashAI/front/src/components/predictions/renderStep.js Centralizes step rendering logic for the prediction modal
DashAI/front/src/components/predictions/SelectModelStep.jsx Refactors to use shared prediction name input component
DashAI/front/src/components/predictions/SelectDatasetStep.jsx Adds prediction name input when model is preselected
DashAI/front/src/components/predictions/PredictionNameInput.jsx Extracted reusable prediction name input component
DashAI/front/src/components/predictions/PredictionModal.jsx Handles preselected model data and conditional step rendering
Comments suppressed due to low confidence (1)

DashAI/front/src/components/predictions/PredictionModal.jsx:271

  • The button text logic assumes there are only 2 steps (hardcoded activeStep === 1), but now the number of steps is dynamic based on whether a model is preselected. This should check activeStep === steps.length - 1 to determine if it's the last step.
            {activeStep === 1
              ? isSubmitting
                ? "Submitting..."
                : "Save"
              : "Next"}

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread DashAI/front/src/components/predictions/SelectDatasetStep.jsx Outdated
@cristian-tamblay cristian-tamblay merged commit 51bd416 into develop Sep 26, 2025
5 checks passed
@cristian-tamblay cristian-tamblay deleted the feat/experiment-prediction-explainability-chaining branch September 26, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants