Comfy-Org / Comfy-Org/ComfyUI_frontend

Remove 5 dead components with zero production references

Open
#11,040 0 comments 0 reactions 0 assignees View on GitHub
audit:dead-code code-audit effort:small priority:recommended
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

## Recommendation

### 🗑️ SAFE TO REMOVE (after verification)

Five components have zero production references (not imported in any template, router, or composable):

| Component | Location | Notes |
|-----------|----------|-------|
| `JobGroupsList` | Queue panel area | Not used in queue panel |
| `CreditTopUpOption` | Cloud credits | Unused cloud credit component |
| `CardTitle` | UI components | shadcn card part never imported |
| `CardDescription` | UI components | shadcn card part never imported |
| `DisplayCarousel` | Display widgets | Unused display widget |

## How to Fix

1. For each component, verify with: `grep -r 'ComponentName' src/ --include='*.ts' --include='*.vue'`
2. Confirm no dynamic/lazy imports
3. Remove files

## If Removing (⚠️ proceed with caution)

- [ ] No dynamic imports reference these components
- [ ] Check git blame — none are recently added WIP
- [ ] `CardTitle`/`CardDescription` aren't used by external consumers via the design system package

---
**Category:** Dead Code | **Priority:** Recommended | **Effort:** Small
Part of #11022
_Filed by repo-audit skill_

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-11040-Remove-5-dead-components-with-zero-production-references-33e6d73d365081828aaffb10252b3db0) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.