Comfy-Org / Comfy-Org/ComfyUI_frontend

Consider generalizing AssetsListCard into a more reusable Item component

Open
#7,865 0 comments 0 reactions 1 assignee Claimed by @benceruleanlu View on GitHub
area:ui
Dominant language
TypeScript
Stars
2k
Forks
702
Avg merge
1d 8h
Merged PRs (30d)
512

Description

## Context

This issue tracks a suggestion to refactor `AssetsListCard` into a more generalized `Item` component for broader reusability.

## Background

In PR #7737, @christian-byrne suggested that `AssetsListCard` could potentially be made into a more generalized `Item` component, with `AssetListItem` implementing the more jobs-specific functionality.

While the current QPO is planned for deletion after the changes in #7737, this generalization could still provide value for future use cases.

## References

- Original PR: https://github.com/Comfy-Org/ComfyUI_frontend/pull/7737
- Discussion: https://github.com/Comfy-Org/ComfyUI_frontend/pull/7737#discussion_r2654590279
- Requested by: @benceruleanlu

## Component Location

`src/platform/assets/components/AssetsListCard.vue`

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-7865-Consider-generalizing-AssetsListCard-into-a-more-reusable-Item-component-2e16d73d36508167831fc3a73e43d31f) 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.