Metadata explorer converter#335
Merged
Merged
Conversation
… encoding, feature selection, and more
… ToolGridItem and ToolListItem to pass tool type
… with visual feedback
…components when disabled
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a comprehensive metadata enrichment system for DashAI components (converters and explorers) with visual categorization. The changes add category, color, and image preview metadata to components, create a new API endpoint for serving component images, and redesign the frontend to display components in both list and grid views with improved visual elements.
Key changes:
- Added category base classes for converters and explorers with predefined colors and categories
- Enhanced base classes to include image preview, category, and color metadata fields
- Implemented an API endpoint to serve component images with fallback to placeholder
- Redesigned frontend with list/grid view toggle and hover previews
- Removed the
ConverterChainconverter class
Reviewed Changes
Copilot reviewed 85 out of 136 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
DashAI/back/converters/base_converter.py |
Added IMAGE_PREVIEW, CATEGORY, and COLOR metadata fields to BaseConverter |
DashAI/back/exploration/base_explorer.py |
Added IMAGE_PREVIEW, CATEGORY, and COLOR metadata fields to BaseExplorer |
DashAI/back/converters/category/*.py |
New category base classes defining CATEGORY and COLOR for different converter types |
DashAI/back/exploration/*_explorer.py |
New category base classes defining CATEGORY and COLOR for different explorer types |
DashAI/back/converters/scikit_learn/*.py |
Updated converters to inherit from category classes and set IMAGE_PREVIEW |
DashAI/back/converters/simple_converters/*.py |
Updated simple converters to inherit from BasicPreprocessingConverter |
DashAI/back/converters/imbalanced_learn/*.py |
Updated sampling converters to inherit from SamplingConverter |
DashAI/back/converters/hugging_face/embedding.py |
Updated to inherit from AdvancedPreprocessingConverter |
DashAI/back/exploration/explorers/*.py |
Updated explorers to inherit from category classes and set IMAGE_PREVIEW |
DashAI/back/api/api_v1/endpoints/components.py |
New endpoint to serve component images from local files or URLs |
DashAI/back/config.py |
Added BACK_PATH configuration field |
DashAI/back/dependencies/config_builder.py |
Added BACK_PATH to config dict |
DashAI/back/initial_components.py |
Removed ConverterChain from initial components |
DashAI/back/job/converter_job.py |
Removed ConverterChain instantiation logic |
DashAI/front/src/components/notebooks/tool/*.jsx |
New components for list/grid views with image previews and hover info |
DashAI/front/src/components/notebooks/RightBar.jsx |
Integrated new tool components with view mode toggle |
DashAI/front/src/components/notebooks/DescriptionPanel.jsx |
Simplified to show only hover instruction |
DashAI/front/src/components/notebooks/converterCreation/ConverterList.jsx |
Removed old converter list component |
DashAI/front/src/components/notebooks/explorerCreation/ExplorerList.jsx |
Removed old explorer list component |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
cristian-tamblay
approved these changes
Oct 23, 2025
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.
This pull request introduces a comprehensive system for organizing and enriching converter classes in DashAI with new metadata, including visual previews, categories, and colors. It adds category base classes for converters, refactors existing converters to use these categories, and implements an API endpoint to serve component images, either from local files or URLs, with a fallback to a placeholder image. Additionally, it updates the configuration to support these enhancements.
Key changes:
Converter Categorization and Metadata Enrichment
AdvancedPreprocessingConverter,SamplingConverter, etc.) in the newDashAI/back/converters/category/directory, each specifying a category name and color. [1] [2] [3] [4] [5] [6] [7] [8]BaseConverterclass to include new metadata fields:IMAGE_PREVIEW,CATEGORY, andCOLOR. Theget_metadatamethod now returns these fields as part of the converter metadata. [1] [2]IMAGE_PREVIEWattribute. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]API Enhancements
/image/{component_name}/to serve component images. The endpoint retrieves the image based on metadata, supports both local files and remote URLs, and falls back to a placeholder image if necessary. [1] [2]Front