feat: Change the card description to the filename#8348
Conversation
🎨 Storybook Build Status✅ Build completed successfully! ⏰ Completed at: 01/28/2026, 07:51:17 PM UTC 🔗 Links🎉 Your Storybook is ready for review! |
🎭 Playwright Tests:
|
📝 WalkthroughWalkthroughThe changes replace the Changes
Possibly related PRs
Suggested reviewers
✨ Finishing touches
Comment |
Bundle Size ReportSummary
Category Glance Per-category breakdownApp Entry Points — 25.9 kB (baseline 25.9 kB) • ⚪ 0 BMain entry bundles and manifests
Status: 1 added / 1 removed Graph Workspace — 960 kB (baseline 960 kB) • ⚪ 0 BGraph editor runtime, canvas, workflow orchestration
Status: 1 added / 1 removed Views & Navigation — 80.7 kB (baseline 80.7 kB) • ⚪ 0 BTop-level views, pages, and routed surfaces
Status: 9 added / 9 removed Panels & Settings — 471 kB (baseline 471 kB) • 🟢 -8 BConfiguration panels, inspectors, and settings screens
Status: 12 added / 12 removed User & Accounts — 3.94 kB (baseline 3.94 kB) • ⚪ 0 BAuthentication, profile, and account management bundles
Status: 3 added / 3 removed Editors & Dialogs — 2.89 kB (baseline 2.89 kB) • ⚪ 0 BModals, dialogs, drawers, and in-app editors
Status: 2 added / 2 removed UI Components — 33.7 kB (baseline 33.7 kB) • ⚪ 0 BReusable component library chunks
Status: 4 added / 4 removed Data & Services — 2.7 MB (baseline 2.7 MB) • 🟢 -45 BStores, services, APIs, and repositories
Status: 8 added / 8 removed Utilities & Hooks — 25.3 kB (baseline 25.3 kB) • ⚪ 0 BHelpers, composables, and utility bundles
Status: 7 added / 7 removed Vendor & Third-Party — 10.7 MB (baseline 10.7 MB) • ⚪ 0 BExternal libraries and shared vendor chunks
Other — 7.05 MB (baseline 7.05 MB) • 🟢 -198 BBundles that do not match a named category
Status: 34 added / 34 removed |
🔧 Auto-fixes AppliedThis PR has been automatically updated to fix linting and formatting issues.
Changes made:
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@src/platform/assets/composables/useAssetBrowser.ts`:
- Around line 118-121: Update the comment inside transformAssetForDisplay to
reflect current behavior: state that the description is derived from the
filename via getAssetFilename (not created from tags) and clarify that typeTag
(the variable typeTag) is only used for badges/labels, not for building the
description; keep references to the variables typeTag and description so the
intent is clear to future readers.
| const description = | ||
| getAssetDescription(asset) || | ||
| `${typeTag || t('assetBrowser.unknown')} model` | ||
| const description = getAssetFilename(asset) |
There was a problem hiding this comment.
Whats getAssetDescription give? Should we rename the description variable to avoid confusion?
There was a problem hiding this comment.
Going with secondaryText for now.
Amp-Thread-ID: https://ampcode.com/threads/T-019c061f-db7b-7287-9bab-70b2390de2e2 Co-authored-by: Amp <amp@ampcode.com>
## Summary No longer duplicates the badge info for the Model type. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8348-feat-Change-the-card-description-to-the-filename-2f66d73d3650818d99e1de479d1f8486) by [Unito](https://www.unito.io) --------- Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Amp <amp@ampcode.com>
…me (#8380) Backport of #8348 to `cloud/1.38` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8380-backport-cloud-1-38-feat-Change-the-card-description-to-the-filename-2f66d73d365081a989a3f793bb72605d) by [Unito](https://www.unito.io) Co-authored-by: Alexander Brown <drjkl@comfy.org> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Amp <amp@ampcode.com>


Summary
No longer duplicates the badge info for the Model type.
┆Issue is synchronized with this Notion page by Unito