Skip to content

Conversation

@pythongosssss
Copy link
Member

@pythongosssss pythongosssss commented Aug 21, 2025

Summary

  • Adds support for loading custom icons and using them via tailwind classes
  • Updates sidebar tabs to use icon classes instead of components
  • Updates "Browse Templates" menu item to use custom icon
  • Remove padding from svgs
  • Very basic test that just checks an svg variable is set on some icons and that it contains svg markup

Changes

  • What: Adds tailwind build plugin to support custom icons
  • Dependencies: @iconify/tailwind

Review Focus

I have left in the support for component icons in sidebar tabs for extensions, if we don't think this is worth keeping i'm happy to remove it as the core no longer uses it.

Screenshots (if applicable)

New (left) vs old (right) icon size:
image

Browse templates uses custom icon:
image

┆Issue is synchronized with this Notion page by Unito

- Register svgs from custom icons folder
- Update existing custom icons to remove padding
- Swap component icons for classes in sidebar tabs
- Update browse templates in menu to use custom icon
@pythongosssss pythongosssss requested review from a team as code owners August 21, 2025 20:15
@github-actions
Copy link

github-actions bot commented Aug 21, 2025

🎭 Playwright Test Results

All tests passed across all browsers!

⏰ Completed at: 08/21/2025, 08:38:18 PM UTC

📊 Test Reports by Browser


🎉 Your tests are passing across all browsers!

@github-actions
Copy link

github-actions bot commented Aug 21, 2025

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 08/21/2025, 08:17:32 PM UTC

📊 Build Summary

  • Components: 13
  • Stories: 52
  • Visual changes: 0
  • Errors: 0

🔗 Links


🎉 Your Storybook is ready for review!

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​iconify/​tailwind@​1.2.0951007578100
Updatedaxios@​1.8.2 ⏵ 1.11.099 +110010094100

View full report

@DrJKL DrJKL self-assigned this Aug 21, 2025

import { comfyPageFixture as test } from '../fixtures/ComfyPage'

async function verifyCustomIconSvg(iconElement: Locator) {
Copy link
Contributor

Choose a reason for hiding this comment

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

What do the errors for this look like in a failure state?

Copy link
Contributor

Choose a reason for hiding this comment

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

Why not TypeScript?

@DrJKL DrJKL assigned pythongosssss and unassigned DrJKL Aug 21, 2025
@christian-byrne christian-byrne merged commit a630caa into main Aug 25, 2025
12 checks passed
@christian-byrne christian-byrne deleted the pysssss/iconify-custom-icons branch August 25, 2025 17:20
@christian-byrne christian-byrne mentioned this pull request Aug 27, 2025
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.

4 participants