Skip to content

Conversation

@Robbie1977
Copy link
Collaborator

We were missing Types in the term info - Hopefully this fixes it

Copy link
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 pull request removes the 'Types' case from the switch statement in the GeneralInformation component's renderProperty function, changing how 'Types' metadata is rendered in the term information display.

Changes:

  • Removed the 'Types' case that was grouped with 'Tags' in the property rendering switch statement, causing 'Types' to be rendered as comma-separated text instead of as colored chips

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 880 to 881
case 'Tags':
case 'Types':
return renderTags(value);
Copy link

Copilot AI Jan 27, 2026

Choose a reason for hiding this comment

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

The PR description states "We were missing Types in the term info - Hopefully this fixes it", but removing the 'Types' case doesn't make Types appear if it was missing. Instead, it changes how Types are rendered. Previously, Types would be rendered as colored chips (via renderTags), but now they will fall through to the default case and be rendered as comma-separated text (lines 892-901). If Types was truly missing from term info, the fix would be to ensure Types data is being passed to the component, not to remove its special rendering. Please verify whether the intention is to change the rendering style from chips to text, or if there's a different issue being addressed.

Copilot uses AI. Check for mistakes.
ddelpiano
ddelpiano previously approved these changes Jan 27, 2026
@ddelpiano ddelpiano changed the base branch from main to development January 27, 2026 12:06
@ddelpiano ddelpiano dismissed their stale review January 27, 2026 12:06

The base branch was changed.

@ddelpiano ddelpiano merged commit b75ef3b into MetaCell:development Jan 27, 2026
8 checks passed
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