Skip to content

Add display name and color attributes to components#356

Merged
cristian-tamblay merged 9 commits into
developfrom
refactor/display-name
Oct 29, 2025
Merged

Add display name and color attributes to components#356
cristian-tamblay merged 9 commits into
developfrom
refactor/display-name

Conversation

@Irozuku
Copy link
Copy Markdown
Collaborator

@Irozuku Irozuku commented Oct 27, 2025

This pull request standardizes and enhances component metadata across the codebase, primarily by introducing and populating DISPLAY_NAME and COLOR attributes for data loaders, explainers, and models. Additionally, the component registry is updated to handle the new metadata fields. These changes improve component identification, display, and organization in the UI and internal logic.

Component Metadata Standardization

  • Added DISPLAY_NAME and COLOR attributes to all model classes (including scikit-learn, Hugging Face, and base models) to provide readable labels and associated colors for UI and registry purposes. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
  • Added DISPLAY_NAME attributes to all data loader classes for consistent component naming. [1] [2] [3]
  • Enhanced explainer classes with DISPLAY_NAME and COLOR attributes for improved identification and UI presentation. [1] [2] [3]

Component Registry Enhancements

  • Updated the ComponentRegistry to include a color field in its metadata schema and registration logic, ensuring new attributes are properly managed and accessible. [1] [2]
image image image image image

@cristian-tamblay cristian-tamblay merged commit 3db5bc4 into develop Oct 29, 2025
18 checks passed
@cristian-tamblay cristian-tamblay deleted the refactor/display-name branch October 29, 2025 16:11
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.

2 participants