Skip to content

[Studio UI] Consolidate icon naming to filled/outline convention (#3848) - #4083

Open
idaiv wants to merge 2 commits into
2026.xfrom
fix/icon-naming-consolidation
Open

[Studio UI] Consolidate icon naming to filled/outline convention (#3848)#4083
idaiv wants to merge 2 commits into
2026.xfrom
fix/icon-naming-consolidation

Conversation

@idaiv

@idaiv idaiv commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Standardizes icon naming to a consistent {name} (filled) + {name}-outline (outline) pattern.

Renames in code (11 files):

  • warning-circlealert-outline (4 usages)
  • info-circleinfo-outline (8 usages)
  • x-circleclose-outline (1 usage)

Old names kept as aliases in the icon library for backward compatibility — external bundles using the old names (warning-circle, info-circle, x-circle) continue to work without changes.

Final naming convention:

Semantic Filled Outline
Warning alert alert-outline
Info info info-outline
Success checkmark check-circle
Error close-filled close-outline

Relates to #3848

Test plan

  • Verify all inline warning icons still render (select validation, job errors, upload conflicts, notification settings)
  • Verify all info icons still render (form field help, element actions menu, messages, missing context)
  • Verify job failed icon still renders (execution engine)
  • Open an external bundle that uses old names (e.g., copilot-bundle with alert-outline, check-circle) — verify icons still work

🤖 Generated with Claude Code

Standardize icon usages to the canonical naming pattern:
- {name} for filled variant
- {name}-outline for outline variant

Renames in code (11 files):
- warning-circle → alert-outline (4 usages)
- info-circle → info-outline (8 usages)
- x-circle → close-outline (1 usage)

The old icon names remain registered in the icon library for
backward compatibility with external bundles (copilot-bundle,
direct-edit, data-importer, data-quality-management use the
old names).

Consistent naming per semantic:
- Warning: alert (filled) / alert-outline (outline)
- Info: info (filled) / info-outline (outline)
- Success: checkmark (filled) / check-circle (outline)
- Error: close-filled (filled) / close-outline (outline)

Relates to #3848

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings September 4, 2026 10:54
@idaiv idaiv added this to the 2026.3.0 milestone Sep 4, 2026
@idaiv
idaiv requested a review from xIrusux September 4, 2026 10:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The migrated info and close outline assets hard-code black and therefore ignore inherited theme colors.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Consolidates production icon references around the filled/outline naming convention while retaining legacy registrations.

Changes:

  • Migrates warning and information icon references.
  • Renames the failed-job icon to close-outline.
  • Preserves backward compatibility through existing legacy registrations.

Review: The production call sites are covered, but the new info/close SVGs bypass theme colors by hard-coding black. Automated regression coverage is absent, and one Storybook x-circle reference remains.

File summaries
File Description
notification-settings-view.tsx Updates warning icon.
job-view.tsx Updates warning and failure icons.
use-element-actions-menu.tsx Updates information icon.
missing-context.tsx Updates information icon.
video/footer.tsx Updates details icon.
use-link-data-type.ts Updates link-details icon.
context-menu/index.tsx Updates asset information icon.
select.tsx Updates empty-state warning icon.
use-upload-conflict-modal.tsx Updates conflict warning icon.
useMessage/index.tsx Updates message information icons.
virtual-item.tsx Updates field-help icon.
Review details
  • Files reviewed: 11/11 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

<Icon
options={ { width: '16px', height: '16px' } }
value={ 'info-circle' }
value={ 'info-outline' }
gap={ 'small' }
>
<Icon value='x-circle' /><span>{ t('jobs.job.failed', { title: props.title }) }</span>
<Icon value='close-outline' /><span>{ t('jobs.job.failed', { title: props.title }) }</span>
@sonarqubecloud

sonarqubecloud Bot commented Sep 4, 2026

Copy link
Copy Markdown

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