Skip to content

Conversation

@viva-jinyi
Copy link
Member

@viva-jinyi viva-jinyi commented Jan 23, 2026

Summary

Add a cancel (x) button overlay to active job cards in grid view, matching the existing list view behavior.

Changes

  • What: Added hover-triggered cancel button to ActiveJobCard.vue using the existing useJobActions composable
  • Button appears on hover for jobs in cancellable states (pending, initialization, running)
스크린샷 2026-01-23 오후 5 11 04 스크린샷 2026-01-23 오후 5 10 59

┆Issue is synchronized with this Notion page by Unito

@viva-jinyi viva-jinyi requested a review from a team as a code owner January 23, 2026 04:51
@viva-jinyi viva-jinyi added enhancement New feature or request area:queue labels Jan 23, 2026
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jan 23, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 23, 2026

📝 Walkthrough

Walkthrough

The changes add hover state detection and a cancel button overlay to the ActiveMediaAssetCard component. The component now integrates with the useJobActions composable to determine cancelability and execute job cancellation. Test files are updated with appropriate mocks for the new cancellation behavior and module reset logic.

Changes

Cohort / File(s) Summary
Component hover and cancel UI
src/platform/assets/components/ActiveMediaAssetCard.vue
Added tabindex and mouse/focus event bindings to track hovered state; introduced conditional Cancel button overlay that appears when hovered and cancellation is allowed; integrated useJobActions composable to provide canCancelJob flag and runCancelJob handler
Component test updates
src/platform/assets/components/ActiveMediaAssetCard.test.ts
Added Vue computed import and mock for useJobActions composable with fixed cancelAction object, computed canCancelJob (always false), and stub runCancelJob function to test cancellation-related UI behavior
Composable test cleanup
src/platform/assets/composables/useMediaAssetActions.test.ts
Added vi.resetModules() call at start of beforeEach to reset module registry between tests

Possibly related PRs

Suggested reviewers

  • shinshin86
  • KarryCharon
  • benceruleanlu

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@src/components/sidebar/tabs/assets/ActiveJobCard.vue`:
- Around line 88-92: The computed passed into useJobActions toggles between job
and null on hover which is unnecessary given the template already guards with
v-if="hovered && canCancelJob"; simplify by passing the job directly into
useJobActions (e.g., provide job via computed(() => job) or a getter) instead of
computed(() => (hovered.value ? job : null)) so the hook receives a stable
reference and avoids churn; update the call that defines const { cancelAction,
canCancelJob, runCancelJob } = useJobActions(...) accordingly and keep the
existing template guard.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Jan 23, 2026
@viva-jinyi viva-jinyi force-pushed the feature/clear-single-job branch from 6ad61a0 to 5213666 Compare January 23, 2026 04:57
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Jan 23, 2026
@github-actions
Copy link

github-actions bot commented Jan 23, 2026

🎭 Playwright Tests: ⚠️ Passed with flaky tests

Results: 505 passed, 0 failed, 1 flaky, 8 skipped (Total: 514)

❌ Failed Tests

📊 Browser Reports
  • chromium: View Report (✅ 493 / ❌ 0 / ⚠️ 1 / ⏭️ 8)
  • chromium-2x: View Report (✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • chromium-0.5x: View Report (✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • mobile-chrome: View Report (✅ 9 / ❌ 0 / ⚠️ 0 / ⏭️ 0)

@github-actions
Copy link

github-actions bot commented Jan 23, 2026

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 01/28/2026, 02:59:57 AM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@github-actions
Copy link

github-actions bot commented Jan 23, 2026

Bundle Size Report

Summary

  • Raw size: 22.1 MB baseline 22.1 MB — 🔴 +589 B
  • Gzip: 4.59 MB baseline 4.59 MB — 🟢 -305 B
  • Brotli: 3.41 MB baseline 3.41 MB — 🟢 -179 B
  • Bundles: 176 current • 176 baseline • 88 added / 88 removed

Category Glance
Data & Services 🔴 +916 B (2.71 MB) · Other 🟢 -319 B (7.04 MB) · Panels & Settings 🟢 -8 B (470 kB) · Vendor & Third-Party ⚪ 0 B (10.7 MB) · Graph Workspace ⚪ 0 B (961 kB) · Views & Navigation ⚪ 0 B (80.7 kB) · + 5 more

Per-category breakdown
App Entry Points — 23.6 kB (baseline 23.6 kB) • ⚪ 0 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-B040fzLw.js (new) 23.6 kB 🔴 +23.6 kB 🔴 +7.1 kB 🔴 +6.22 kB
assets/index-BTcmNf7-.js (removed) 23.6 kB 🟢 -23.6 kB 🟢 -7.09 kB 🟢 -6.25 kB

Status: 1 added / 1 removed

Graph Workspace — 961 kB (baseline 961 kB) • ⚪ 0 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-CSqCSTOS.js (removed) 961 kB 🟢 -961 kB 🟢 -195 kB 🟢 -147 kB
assets/GraphView-Czm0y1Qt.js (new) 961 kB 🔴 +961 kB 🔴 +195 kB 🔴 +147 kB

Status: 1 added / 1 removed

Views & Navigation — 80.7 kB (baseline 80.7 kB) • ⚪ 0 B

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-DY-UaCtV.js (removed) 17.1 kB 🟢 -17.1 kB 🟢 -3.61 kB 🟢 -3.05 kB
assets/CloudSurveyView-kARAT8uv.js (new) 17.1 kB 🔴 +17.1 kB 🔴 +3.61 kB 🔴 +3.05 kB
assets/CloudLoginView-B4fXwIAO.js (removed) 11.8 kB 🟢 -11.8 kB 🟢 -3.09 kB 🟢 -2.71 kB
assets/CloudLoginView-CT-UMXJt.js (new) 11.8 kB 🔴 +11.8 kB 🔴 +3.09 kB 🔴 +2.72 kB
assets/UserCheckView-dDhR9y-P.js (removed) 10.5 kB 🟢 -10.5 kB 🟢 -2.44 kB 🟢 -2.13 kB
assets/UserCheckView-DE84oItm.js (new) 10.5 kB 🔴 +10.5 kB 🔴 +2.44 kB 🔴 +2.13 kB
assets/CloudLayoutView-DCNnsEB7.js (new) 8.54 kB 🔴 +8.54 kB 🔴 +2.24 kB 🔴 +1.96 kB
assets/CloudLayoutView-usHF-iGJ.js (removed) 8.54 kB 🟢 -8.54 kB 🟢 -2.25 kB 🟢 -1.95 kB
assets/CloudSignupView-CDHSPh5H.js (new) 8.22 kB 🔴 +8.22 kB 🔴 +2.34 kB 🔴 +2.03 kB
assets/CloudSignupView-D3huhAjK.js (removed) 8.22 kB 🟢 -8.22 kB 🟢 -2.34 kB 🟢 -2.04 kB
assets/CloudForgotPasswordView-BxpxI0M2.js (new) 6.26 kB 🔴 +6.26 kB 🔴 +1.93 kB 🔴 +1.69 kB
assets/CloudForgotPasswordView-DPyLuCyu.js (removed) 6.26 kB 🟢 -6.26 kB 🟢 -1.93 kB 🟢 -1.69 kB
assets/UserSelectView-BALlzq8v.js (removed) 5.28 kB 🟢 -5.28 kB 🟢 -1.76 kB 🟢 -1.58 kB
assets/UserSelectView-Dbl7g2vW.js (new) 5.28 kB 🔴 +5.28 kB 🔴 +1.76 kB 🔴 +1.57 kB
assets/CloudSubscriptionRedirectView-9FG79uM2.js (new) 5.27 kB 🔴 +5.27 kB 🔴 +1.73 kB 🔴 +1.54 kB
assets/CloudSubscriptionRedirectView-DxEMEu5D.js (removed) 5.27 kB 🟢 -5.27 kB 🟢 -1.73 kB 🟢 -1.54 kB
assets/CloudAuthTimeoutView-BHH8NJqB.js (removed) 5.24 kB 🟢 -5.24 kB 🟢 -1.71 kB 🟢 -1.48 kB
assets/CloudAuthTimeoutView-Dv0mzPOk.js (new) 5.24 kB 🔴 +5.24 kB 🔴 +1.71 kB 🔴 +1.48 kB
assets/CloudSorryContactSupportView-DPSDjCKF.js 1.97 kB 1.97 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/layout-ouzJzFyy.js 500 B 500 B ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 9 added / 9 removed

Panels & Settings — 470 kB (baseline 470 kB) • 🟢 -8 B

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/WorkspacePanel-BuokS-RA.js (removed) 29.8 kB 🟢 -29.8 kB 🟢 -5.89 kB 🟢 -5.13 kB
assets/WorkspacePanel-CkFMXCZ4.js (new) 29.8 kB 🔴 +29.8 kB 🔴 +5.89 kB 🔴 +5.13 kB
assets/LegacyCreditsPanel-Dq49qx1M.js (new) 23.8 kB 🔴 +23.8 kB 🔴 +5.94 kB 🔴 +5.23 kB
assets/LegacyCreditsPanel-DSijJ2nI.js (removed) 23.8 kB 🟢 -23.8 kB 🟢 -5.95 kB 🟢 -5.23 kB
assets/SubscriptionPanel-C8LbacTA.js (new) 21 kB 🔴 +21 kB 🔴 +5.05 kB 🔴 +4.45 kB
assets/SubscriptionPanel-Dp5qlvCm.js (removed) 21 kB 🟢 -21 kB 🟢 -5.05 kB 🟢 -4.46 kB
assets/KeybindingPanel-B37jW-sB.js (new) 14.2 kB 🔴 +14.2 kB 🔴 +3.74 kB 🔴 +3.32 kB
assets/KeybindingPanel-CcAaHJH9.js (removed) 14.2 kB 🟢 -14.2 kB 🟢 -3.74 kB 🟢 -3.31 kB
assets/AboutPanel-D08ados6.js (removed) 10.8 kB 🟢 -10.8 kB 🟢 -2.68 kB 🟢 -2.43 kB
assets/AboutPanel-DB2O5wc-.js (new) 10.8 kB 🔴 +10.8 kB 🔴 +2.68 kB 🔴 +2.43 kB
assets/ExtensionPanel-B9__sk73.js (removed) 10.2 kB 🟢 -10.2 kB 🟢 -2.71 kB 🟢 -2.4 kB
assets/ExtensionPanel-D0m_VqRv.js (new) 10.2 kB 🔴 +10.2 kB 🔴 +2.71 kB 🔴 +2.4 kB
assets/ServerConfigPanel-BPoDYQ2i.js (new) 7.26 kB 🔴 +7.26 kB 🔴 +2.18 kB 🔴 +1.95 kB
assets/ServerConfigPanel-CuabhO_h.js (removed) 7.26 kB 🟢 -7.26 kB 🟢 -2.18 kB 🟢 -1.95 kB
assets/UserPanel-9-OIaVFs.js (removed) 6.58 kB 🟢 -6.58 kB 🟢 -1.9 kB 🟢 -1.67 kB
assets/UserPanel-DLvBzM0N.js (new) 6.58 kB 🔴 +6.58 kB 🔴 +1.9 kB 🔴 +1.67 kB
assets/config-7fwyFDVl.js (removed) 1.16 kB 🟢 -1.16 kB 🟢 -604 B 🟢 -531 B
assets/config-B1Y-wvqK.js (new) 1.15 kB 🔴 +1.15 kB 🔴 +600 B 🔴 +526 B
assets/refreshRemoteConfig-dvCWODZI.js (removed) 1.14 kB 🟢 -1.14 kB 🟢 -524 B 🟢 -480 B
assets/refreshRemoteConfig-pS8yDmUT.js (new) 1.14 kB 🔴 +1.14 kB 🔴 +523 B 🔴 +483 B
assets/cloudRemoteConfig-DEM--HzV.js (removed) 1.11 kB 🟢 -1.11 kB 🟢 -511 B 🟢 -435 B
assets/cloudRemoteConfig-eIo29aAC.js (new) 1.11 kB 🔴 +1.11 kB 🔴 +507 B 🔴 +434 B
assets/refreshRemoteConfig-DfhUZLXh.js (new) 169 B 🔴 +169 B 🔴 +108 B 🔴 +101 B
assets/refreshRemoteConfig-Dwcqul5n.js (removed) 169 B 🟢 -169 B 🟢 -108 B 🟢 -106 B
assets/remoteConfig-BfvcASY0.js 536 B 536 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings--v6Wg3FT.js 29.4 kB 29.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-6AWMdbEo.js 25.8 kB 25.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-Bd_PrHyW.js 29.6 kB 29.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-BvViWXfv.js 31.2 kB 31.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-CBT5fUQX.js 32.9 kB 32.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-Cr7txePz.js 30.2 kB 30.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DdPwS08h.js 39.4 kB 39.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DqMxzK_S.js 30.4 kB 30.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-Dwt3wMav.js 26.4 kB 26.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-pjwHe3bJ.js 32 kB 32 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-yUgaGSFI.js 35.2 kB 35.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 12 added / 12 removed

User & Accounts — 3.94 kB (baseline 3.94 kB) • ⚪ 0 B

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/auth-BiVOgsiB.js (new) 3.54 kB 🔴 +3.54 kB 🔴 +1.24 kB 🔴 +1.05 kB
assets/auth-D8hs7hgr.js (removed) 3.54 kB 🟢 -3.54 kB 🟢 -1.24 kB 🟢 -1.05 kB
assets/firebaseAuthStore-BuZuErXk.js (removed) 217 B 🟢 -217 B 🟢 -136 B 🟢 -129 B
assets/firebaseAuthStore-DSFPQRVp.js (new) 217 B 🔴 +217 B 🔴 +136 B 🔴 +119 B
assets/auth-B8fwV6YD.js (removed) 178 B 🟢 -178 B 🟢 -141 B 🟢 -129 B
assets/auth-NWpQw5nz.js (new) 178 B 🔴 +178 B 🔴 +142 B 🔴 +132 B

Status: 3 added / 3 removed

Editors & Dialogs — 2.9 kB (baseline 2.9 kB) • ⚪ 0 B

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useSubscriptionDialog-D3SxeEpc.js (removed) 2.73 kB 🟢 -2.73 kB 🟢 -1.29 kB 🟢 -1.15 kB
assets/useSubscriptionDialog-DH8HXf3z.js (new) 2.73 kB 🔴 +2.73 kB 🔴 +1.3 kB 🔴 +1.15 kB
assets/useSubscriptionDialog-BbxzP5ZD.js (new) 179 B 🔴 +179 B 🔴 +110 B 🔴 +102 B
assets/useSubscriptionDialog-BW2XFo5d.js (removed) 179 B 🟢 -179 B 🟢 -110 B 🟢 -96 B

Status: 2 added / 2 removed

UI Components — 33.7 kB (baseline 33.7 kB) • ⚪ 0 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyQueueButton-BmfKpdiT.js (removed) 9.52 kB 🟢 -9.52 kB 🟢 -2.69 kB 🟢 -2.42 kB
assets/ComfyQueueButton-C8l0YZiF.js (new) 9.52 kB 🔴 +9.52 kB 🔴 +2.69 kB 🔴 +2.41 kB
assets/SubscribeButton-CY2lyHWM.js (new) 4.63 kB 🔴 +4.63 kB 🔴 +1.56 kB 🔴 +1.38 kB
assets/SubscribeButton-D5WFVqa8.js (removed) 4.63 kB 🟢 -4.63 kB 🟢 -1.56 kB 🟢 -1.38 kB
assets/CloudBadge-BYWlMNEv.js (new) 1.85 kB 🔴 +1.85 kB 🔴 +717 B 🔴 +641 B
assets/CloudBadge-C8RdkOOk.js (removed) 1.85 kB 🟢 -1.85 kB 🟢 -718 B 🟢 -641 B
assets/cloudFeedbackTopbarButton-nhqR2jfG.js (removed) 1.24 kB 🟢 -1.24 kB 🟢 -676 B 🟢 -573 B
assets/cloudFeedbackTopbarButton-xfhzT0dd.js (new) 1.24 kB 🔴 +1.24 kB 🔴 +675 B 🔴 +565 B
assets/ComfyQueueButton-CHhnMnVq.js (removed) 181 B 🟢 -181 B 🟢 -118 B 🟢 -107 B
assets/ComfyQueueButton-DUqZP2Vb.js (new) 181 B 🔴 +181 B 🔴 +118 B 🔴 +111 B
assets/Button-DMDKiCng.js 3.82 kB 3.82 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/TopbarBadge-evNElHF1.js 8.36 kB 8.36 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/UserAvatar-BcT4RJD_.js 1.73 kB 1.73 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetButton-BGT7rdIi.js 2.41 kB 2.41 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 5 added / 5 removed

Data & Services — 2.71 MB (baseline 2.71 MB) • 🔴 +916 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/dialogService-DoydP-yi.js (new) 2.01 MB 🔴 +2.01 MB 🔴 +425 kB 🔴 +324 kB
assets/dialogService-BtKJRJFW.js (removed) 2.01 MB 🟢 -2.01 MB 🟢 -425 kB 🟢 -324 kB
assets/api-BXd5ouIO.js (removed) 672 kB 🟢 -672 kB 🟢 -148 kB 🟢 -118 kB
assets/api-Cks-Dgjn.js (new) 672 kB 🔴 +672 kB 🔴 +148 kB 🔴 +118 kB
assets/releaseStore-BV1A0k4X.js (new) 8.94 kB 🔴 +8.94 kB 🔴 +2.41 kB 🔴 +2.13 kB
assets/releaseStore-EocEPgvO.js (removed) 8.94 kB 🟢 -8.94 kB 🟢 -2.41 kB 🟢 -2.13 kB
assets/keybindingService-Ca6TD1Rw.js (removed) 6.78 kB 🟢 -6.78 kB 🟢 -1.74 kB 🟢 -1.52 kB
assets/keybindingService-D8NcPU8i.js (new) 6.78 kB 🔴 +6.78 kB 🔴 +1.74 kB 🔴 +1.51 kB
assets/bootstrapStore-BwXYoGcJ.js (removed) 2.73 kB 🟢 -2.73 kB 🟢 -1.04 kB 🟢 -980 B
assets/bootstrapStore-CeQtnS7T.js (new) 2.73 kB 🔴 +2.73 kB 🔴 +1.04 kB 🔴 +946 B
assets/userStore-DKIBitrQ.js (new) 2.16 kB 🔴 +2.16 kB 🔴 +811 B 🔴 +724 B
assets/userStore-sPA4jjxX.js (removed) 2.16 kB 🟢 -2.16 kB 🟢 -812 B 🟢 -723 B
assets/audioService-CwQPtQxS.js (new) 2.03 kB 🔴 +2.03 kB 🔴 +929 B 🔴 +816 B
assets/audioService-DKNmDLdY.js (removed) 2.03 kB 🟢 -2.03 kB 🟢 -932 B 🟢 -808 B
assets/teamWorkspaceStore-HAElxBv2.js (new) 165 B 🔴 +165 B 🔴 +123 B 🔴 +110 B
assets/teamWorkspaceStore-xbYnMn8Z.js (removed) 165 B 🟢 -165 B 🟢 -123 B 🟢 -107 B
assets/releaseStore-ei-E04c4.js (new) 140 B 🔴 +140 B 🔴 +106 B 🔴 +107 B
assets/releaseStore-XpZ7U7pN.js (removed) 140 B 🟢 -140 B 🟢 -106 B 🟢 -104 B
assets/serverConfigStore-Bx_up0Gg.js 2.64 kB 2.64 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 9 added / 9 removed

Utilities & Hooks — 25.5 kB (baseline 25.5 kB) • ⚪ 0 B

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useErrorHandling-BCsqNkhp.js (removed) 5.15 kB 🟢 -5.15 kB 🟢 -1.52 kB 🟢 -1.33 kB
assets/useErrorHandling-Dtpg8gIV.js (new) 5.15 kB 🔴 +5.15 kB 🔴 +1.52 kB 🔴 +1.33 kB
assets/useWorkspaceUI-Bu3eT1Vd.js (removed) 3.42 kB 🟢 -3.42 kB 🟢 -976 B 🟢 -849 B
assets/useWorkspaceUI-D6-ND9Dn.js (new) 3.42 kB 🔴 +3.42 kB 🔴 +974 B 🔴 +846 B
assets/subscriptionCheckoutUtil-DOOLYlLJ.js (new) 2.23 kB 🔴 +2.23 kB 🔴 +910 B 🔴 +802 B
assets/subscriptionCheckoutUtil-DqvWjRtX.js (removed) 2.23 kB 🟢 -2.23 kB 🟢 -910 B 🟢 -801 B
assets/useSubscriptionActions-DKbzAn9O.js (new) 2.22 kB 🔴 +2.22 kB 🔴 +867 B 🔴 +755 B
assets/useSubscriptionActions-DwR0BfQI.js (removed) 2.22 kB 🟢 -2.22 kB 🟢 -870 B 🟢 -759 B
assets/useSubscriptionCredits-BcTa01fW.js (removed) 1.39 kB 🟢 -1.39 kB 🟢 -600 B 🟢 -528 B
assets/useSubscriptionCredits-CE-H6wVS.js (new) 1.39 kB 🔴 +1.39 kB 🔴 +600 B 🔴 +530 B
assets/audioUtils-0CbjrI7v.js (new) 970 B 🔴 +970 B 🔴 +546 B 🔴 +483 B
assets/audioUtils-BzXGIKbk.js (removed) 970 B 🟢 -970 B 🟢 -550 B 🟢 -460 B
assets/useCurrentUser-BrZyhuuo.js (removed) 145 B 🟢 -145 B 🟢 -114 B 🟢 -103 B
assets/useCurrentUser-kugGr9L4.js (new) 145 B 🔴 +145 B 🔴 +114 B 🔴 +102 B
assets/_plugin-vue_export-helper-D8rH49Eq.js 467 B 467 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/colorUtil-DqLCx1BB.js 7.2 kB 7.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/markdownRendererUtil-CE67zEoD.js 1.78 kB 1.78 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/tailwindUtil-_s9SadH1.js 488 B 488 B ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 7 added / 7 removed

Vendor & Third-Party — 10.7 MB (baseline 10.7 MB) • ⚪ 0 B

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-chart-CKfqpTaz.js 408 kB 408 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-other-kYGuXLQE.js 4.1 MB 4.1 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-primevue-C6oIq5r_.js 3.04 MB 3.04 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-reka-ui-BIaZqDUN.js 256 kB 256 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-three-DyMKDuqR.js 1.83 MB 1.83 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-tiptap-TV831oRr.js 650 kB 650 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-vue-DzppPAJv.js 13.6 kB 13.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-xterm-B0dJmw9h.js 398 kB 398 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
Other — 7.04 MB (baseline 7.04 MB) • 🟢 -319 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/i18n-DRP_FUVU.js (removed) 496 kB 🟢 -496 kB 🟢 -95.8 kB 🟢 -71.4 kB
assets/i18n-C2-uZwsv.js (new) 495 kB 🔴 +495 kB 🔴 +95.7 kB 🔴 +71.3 kB
assets/core-DxZBhCEl.js (removed) 180 kB 🟢 -180 kB 🟢 -43.4 kB 🟢 -36.2 kB
assets/core-Dt5UhqfW.js (new) 180 kB 🔴 +180 kB 🔴 +43.3 kB 🔴 +36.2 kB
assets/WidgetSelect-COW_G50K.js (new) 51 kB 🔴 +51 kB 🔴 +11.3 kB 🔴 +9.81 kB
assets/WidgetSelect-FbmNdkCM.js (removed) 51 kB 🟢 -51 kB 🟢 -11.3 kB 🟢 -9.82 kB
assets/Load3DControls-BQDrO6G6.js (new) 35.9 kB 🔴 +35.9 kB 🔴 +5.87 kB 🔴 +5.08 kB
assets/Load3DControls-CU4xEDbb.js (removed) 35.9 kB 🟢 -35.9 kB 🟢 -5.87 kB 🟢 -5.08 kB
assets/SubscriptionRequiredDialogContent-CmSsp56-.js (removed) 28.7 kB 🟢 -28.7 kB 🟢 -6.79 kB 🟢 -5.92 kB
assets/SubscriptionRequiredDialogContent-DMklzNuW.js (new) 28.7 kB 🔴 +28.7 kB 🔴 +6.78 kB 🔴 +5.91 kB
assets/CurrentUserPopoverWorkspace-Cn0VZDtg.js (removed) 22.2 kB 🟢 -22.2 kB 🟢 -4.99 kB 🟢 -4.42 kB
assets/CurrentUserPopoverWorkspace-CsKZ9D2U.js (new) 22.2 kB 🔴 +22.2 kB 🔴 +4.99 kB 🔴 +4.42 kB
assets/Load3D-DGz2PB-F.js (removed) 20.9 kB 🟢 -20.9 kB 🟢 -4.59 kB 🟢 -4.02 kB
assets/Load3D-qEe9oUMq.js (new) 20.9 kB 🔴 +20.9 kB 🔴 +4.58 kB 🔴 +4.01 kB
assets/WidgetRecordAudio-B6fVg-kH.js (new) 18.3 kB 🔴 +18.3 kB 🔴 +4.97 kB 🔴 +4.43 kB
assets/WidgetRecordAudio-BXcoP2ir.js (removed) 18.3 kB 🟢 -18.3 kB 🟢 -4.97 kB 🟢 -4.43 kB
assets/WidgetInputNumber-D_ceHPMO.js (removed) 18.3 kB 🟢 -18.3 kB 🟢 -4.51 kB 🟢 -4.01 kB
assets/WidgetInputNumber-dAvl_M-U.js (new) 18.3 kB 🔴 +18.3 kB 🔴 +4.51 kB 🔴 +4.01 kB
assets/SubscriptionPanelContentWorkspace-CbCRUVDP.js (removed) 18.2 kB 🟢 -18.2 kB 🟢 -4.47 kB 🟢 -3.89 kB
assets/SubscriptionPanelContentWorkspace-hrriig7f.js (new) 18.2 kB 🔴 +18.2 kB 🔴 +4.47 kB 🔴 +3.9 kB
assets/WidgetImageCrop-BN-pzOf-.js (new) 17.1 kB 🔴 +17.1 kB 🔴 +4.13 kB 🔴 +3.62 kB
assets/WidgetImageCrop-DGaTEc3h.js (removed) 17.1 kB 🟢 -17.1 kB 🟢 -4.14 kB 🟢 -3.63 kB
assets/PanelTemplate-BguId-jb.js (new) 16.3 kB 🔴 +16.3 kB 🔴 +5.47 kB 🔴 +4.81 kB
assets/PanelTemplate-BmnDRjdT.js (removed) 16.3 kB 🟢 -16.3 kB 🟢 -5.47 kB 🟢 -4.82 kB
assets/AudioPreviewPlayer-B9fJDj_8.js (new) 10.8 kB 🔴 +10.8 kB 🔴 +2.97 kB 🔴 +2.65 kB
assets/AudioPreviewPlayer-BtlBN4HJ.js (removed) 10.8 kB 🟢 -10.8 kB 🟢 -2.98 kB 🟢 -2.65 kB
assets/InviteMemberDialogContent-3uZ8IVwX.js (new) 8.36 kB 🔴 +8.36 kB 🔴 +2.51 kB 🔴 +2.18 kB
assets/InviteMemberDialogContent-BUyn4Qeq.js (removed) 8.36 kB 🟢 -8.36 kB 🟢 -2.51 kB 🟢 -2.17 kB
assets/WidgetWithControl-amS4ZMi4.js (removed) 8.09 kB 🟢 -8.09 kB 🟢 -2.7 kB 🟢 -2.42 kB
assets/WidgetWithControl-CbOAZptm.js (new) 8.09 kB 🔴 +8.09 kB 🔴 +2.69 kB 🔴 +2.42 kB
assets/CreateWorkspaceDialogContent-BJmLVt5X.js (removed) 5.93 kB 🟢 -5.93 kB 🟢 -1.93 kB 🟢 -1.68 kB
assets/CreateWorkspaceDialogContent-tqFqCYLT.js (new) 5.93 kB 🔴 +5.93 kB 🔴 +1.93 kB 🔴 +1.68 kB
assets/EditWorkspaceDialogContent-3lZhWjsI.js (removed) 5.7 kB 🟢 -5.7 kB 🟢 -1.88 kB 🟢 -1.64 kB
assets/EditWorkspaceDialogContent-CNgZ7mbZ.js (new) 5.7 kB 🔴 +5.7 kB 🔴 +1.88 kB 🔴 +1.64 kB
assets/ValueControlPopover-C3auYTM3.js (new) 5.17 kB 🔴 +5.17 kB 🔴 +1.69 kB 🔴 +1.5 kB
assets/ValueControlPopover-D5_z9U-d.js (removed) 5.17 kB 🟢 -5.17 kB 🟢 -1.69 kB 🟢 -1.5 kB
assets/DeleteWorkspaceDialogContent-amZei_LE.js (new) 4.59 kB 🔴 +4.59 kB 🔴 +1.56 kB 🔴 +1.35 kB
assets/DeleteWorkspaceDialogContent-Dxi0A5CM.js (removed) 4.59 kB 🟢 -4.59 kB 🟢 -1.57 kB 🟢 -1.35 kB
assets/LeaveWorkspaceDialogContent--PjqwMFR.js (new) 4.41 kB 🔴 +4.41 kB 🔴 +1.51 kB 🔴 +1.31 kB
assets/LeaveWorkspaceDialogContent-DP1361d9.js (removed) 4.41 kB 🟢 -4.41 kB 🟢 -1.51 kB 🟢 -1.31 kB
assets/RemoveMemberDialogContent-DUbplEzz.js (new) 4.38 kB 🔴 +4.38 kB 🔴 +1.45 kB 🔴 +1.27 kB
assets/RemoveMemberDialogContent-G5ZkxgM4.js (removed) 4.38 kB 🟢 -4.38 kB 🟢 -1.45 kB 🟢 -1.27 kB
assets/RevokeInviteDialogContent-Bbv7BQf9.js (removed) 4.29 kB 🟢 -4.29 kB 🟢 -1.47 kB 🟢 -1.29 kB
assets/RevokeInviteDialogContent-DjCX7oyl.js (new) 4.29 kB 🔴 +4.29 kB 🔴 +1.47 kB 🔴 +1.29 kB
assets/GlobalToast-BQuTNJL9.js (removed) 3.05 kB 🟢 -3.05 kB 🟢 -1.1 kB 🟢 -944 B
assets/GlobalToast-DUKLxinS.js (new) 3.05 kB 🔴 +3.05 kB 🔴 +1.09 kB 🔴 +943 B
assets/cloudSessionCookie-CI3HiQmF.js (new) 2.97 kB 🔴 +2.97 kB 🔴 +941 B 🔴 +813 B
assets/cloudSessionCookie-Ct849XcI.js (removed) 2.97 kB 🟢 -2.97 kB 🟢 -943 B 🟢 -814 B
assets/SubscribeToRun-B4yxgEqT.js (new) 2.96 kB 🔴 +2.96 kB 🔴 +1.15 kB 🔴 +1.01 kB
assets/SubscribeToRun-CwfApRQo.js (removed) 2.96 kB 🟢 -2.96 kB 🟢 -1.15 kB 🟢 -1.01 kB
assets/BaseViewTemplate-B2j8OPUA.js (removed) 2.42 kB 🟢 -2.42 kB 🟢 -1.05 kB 🟢 -933 B
assets/BaseViewTemplate-y5IgE3vW.js (new) 2.42 kB 🔴 +2.42 kB 🔴 +1.04 kB 🔴 +935 B
assets/CloudRunButtonWrapper-C0LBUvxM.js (new) 1.79 kB 🔴 +1.79 kB 🔴 +643 B 🔴 +561 B
assets/CloudRunButtonWrapper-Cpj9OqZ7.js (removed) 1.79 kB 🟢 -1.79 kB 🟢 -643 B 🟢 -564 B
assets/gtm-CkX_rs8c.js (removed) 1.3 kB 🟢 -1.3 kB 🟢 -625 B 🟢 -527 B
assets/gtm-DanqTfzl.js (new) 1.3 kB 🔴 +1.3 kB 🔴 +626 B 🔴 +500 B
assets/cloudBadges-eLaxtcoe.js (removed) 1.08 kB 🟢 -1.08 kB 🟢 -537 B 🟢 -480 B
assets/cloudBadges-sO6eY3-2.js (new) 1.08 kB 🔴 +1.08 kB 🔴 +536 B 🔴 +480 B
assets/graphHasMissingNodes-DLh58pDh.js (removed) 1.06 kB 🟢 -1.06 kB 🟢 -462 B 🟢 -422 B
assets/graphHasMissingNodes-DoxKto80.js (new) 1.06 kB 🔴 +1.06 kB 🔴 +461 B 🔴 +413 B
assets/cloudSubscription-B0uCJYI9.js (new) 976 B 🔴 +976 B 🔴 +461 B 🔴 +398 B
assets/cloudSubscription-Bpwv6mU8.js (removed) 976 B 🟢 -976 B 🟢 -461 B 🟢 -397 B
assets/types-9RyZweiA.js (new) 909 B 🔴 +909 B 🔴 +458 B 🔴 +384 B
assets/types-Cm9RavTs.js (removed) 908 B 🟢 -908 B 🟢 -455 B 🟢 -385 B
assets/nightlyBadges-BATNoAL9.js (removed) 595 B 🟢 -595 B 🟢 -357 B 🟢 -312 B
assets/nightlyBadges-DftRzK_d.js (new) 595 B 🔴 +595 B 🔴 +355 B 🔴 +310 B
assets/SubscriptionPanelContentWorkspace-CvsKxLvD.js (new) 266 B 🔴 +266 B 🔴 +136 B 🔴 +118 B
assets/SubscriptionPanelContentWorkspace-DMxfLyoq.js (removed) 266 B 🟢 -266 B 🟢 -136 B 🟢 -126 B
assets/i18n-B4-iN3Dj.js (new) 188 B 🔴 +188 B 🔴 +151 B 🔴 +126 B
assets/i18n-DHOeERpV.js (removed) 188 B 🟢 -188 B 🟢 -152 B 🟢 -127 B
assets/WidgetInputNumber-C-kMwMy3.js (removed) 186 B 🟢 -186 B 🟢 -119 B 🟢 -112 B
assets/WidgetInputNumber-DlddXuMd.js (new) 186 B 🔴 +186 B 🔴 +119 B 🔴 +112 B
assets/WidgetLegacy-BkVIIy7V.js (removed) 164 B 🟢 -164 B 🟢 -125 B 🟢 -111 B
assets/WidgetLegacy-NDYutLvm.js (new) 164 B 🔴 +164 B 🔴 +125 B 🔴 +107 B
assets/Load3D-B8QPmmlg.js (removed) 131 B 🟢 -131 B 🟢 -107 B 🟢 -104 B
assets/Load3D-CcwZV69x.js (new) 131 B 🔴 +131 B 🔴 +107 B 🔴 +105 B
assets/gtm-dUv7avmH.js (new) 122 B 🔴 +122 B 🔴 +116 B 🔴 +110 B
assets/gtm-jkR_i4KL.js (removed) 122 B 🟢 -122 B 🟢 -116 B 🟢 -109 B
assets/auto-CIz1W2VX.js 1.73 kB 1.73 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-B2kaqXwB.js 19.3 kB 19.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-C4b7jkru.js 18 kB 18 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CfyfvZ26.js 17.9 kB 17.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CVGDesiQ.js 18.8 kB 18.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-D5s7OQ2Y.js 19.3 kB 19.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DIpat94F.js 18.5 kB 18.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DIyyDM8B.js 20.6 kB 20.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DmapSMuR.js 17.8 kB 17.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DVgVR6E3.js 17.2 kB 17.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-rL7INiLx.js 17 kB 17 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-XNemNPrT.js 18 kB 18 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/LazyImage-DaPgFlDo.js 14.1 kB 14.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-BYMeROYU.js 112 kB 112 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CgEoH02C.js 154 kB 154 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CI3jqob9.js 172 kB 172 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CKO629VV.js 150 kB 150 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CL7lQuTU.js 132 kB 132 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Cz7KlYu8.js 128 kB 128 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-D1SebohP.js 125 kB 125 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DcZO51UE.js 143 kB 143 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-De_XRzjK.js 111 kB 111 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DPjf0Yxm.js 125 kB 125 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-K82I8n9k.js 129 kB 129 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/Media3DTop-C2-Fo6sU.js 2.38 kB 2.38 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaAudioTop-Ci-kpVMy.js 2 kB 2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaImageTop-DGHrmsG1.js 2.34 kB 2.34 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaVideoTop-CTPTvpaW.js 2.82 kB 2.82 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/mixpanel.module-D2psgEhK.js 143 B 143 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Bnfj3jVd.js 412 kB 412 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-BOtpSRhY.js 366 kB 366 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CJdnE3iS.js 373 kB 373 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CUtkGNC5.js 369 kB 369 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CvJk0KJv.js 448 kB 448 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-DMSL5DLd.js 413 kB 413 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Dun_mUNl.js 369 kB 369 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-eLEyykRM.js 383 kB 383 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-mMDG_apG.js 363 kB 363 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Q0xInTMU.js 342 kB 342 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-wT_xujHW.js 339 kB 339 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/OBJLoader2WorkerModule-DTMpvldF.js 109 kB 109 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/previousFullPath-CATisLRM.js 838 B 838 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/rolldown-runtime-cVp-94Rc.js 1.96 kB 1.96 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/Slider-CQgQc3BO.js 4.21 kB 4.21 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/widget-BEaQgM5X.js 518 B 518 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetBoundingBox-BdFPwTvH.js 186 B 186 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetBoundingBox-D_TNvFYD.js 4.71 kB 4.71 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetChart-CLCIoBG-.js 2.79 kB 2.79 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetColorPicker-CanUnjIO.js 3.71 kB 3.71 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetGalleria-xXISrgBX.js 4.57 kB 4.57 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetImageCompare-BsjQ0cGs.js 3.79 kB 3.79 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetInputText-pGYR6qb7.js 2.58 kB 2.58 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetLayoutField-Dk8frFKs.js 2.61 kB 2.61 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetMarkdown-CHxeeWZW.js 3.22 kB 3.22 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/widgetPropFilter-BFYO1LwS.js 1.31 kB 1.31 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetTextarea-B6NaOy9u.js 3.52 kB 3.52 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetToggleSwitch-BK1i1Z9b.js 3.08 kB 3.08 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 39 added / 39 removed

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In `@src/platform/assets/components/ActiveMediaAssetCard.vue`:
- Around line 40-49: Replace the icon-only Button used in
ActiveMediaAssetCard.vue with the shared IconButton component: where Button with
props (:variant="cancelAction.variant", size="icon",
:aria-label="cancelAction.label", class, `@click.stop`="runCancelJob()") is
rendered (also the similar usage at lines 80-81), import and use IconButton from
src/components/button and map the props to IconButton’s API (pass the
aria-label, variant if supported, the click handler runCancelJob, and the icon
via its slot or icon prop per IconButton contract) so the component matches the
design system and preserves the hovered && canCancelJob conditional and stop
propagation on click.
- Around line 6-7: The cancel button is only shown on mouse hover (using the
hovered reactive), which prevents keyboard users from accessing it; add keyboard
focus support by making the card container focusable (add tabindex) and tracking
focus with a new focused reactive state, attach `@focus`="focused = true" and
`@blur`="focused = false" handlers on the same container where
`@mouseenter/`@mouseleave are defined, and update the cancel button render
condition from relying solely on hovered to use (hovered || focused) so the
button appears for keyboard focus as well; update references to the hovered
reactive and the cancel button conditional in ActiveMediaAssetCard.vue to
implement these changes.

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Jan 23, 2026
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/platform/assets/components/ActiveMediaAssetCard.test.ts (1)

42-58: Consider using function declarations for test helpers.

Per coding guidelines, prefer pure function declarations over function expressions for better hoisting clarity and consistency.

♻️ Suggested refactor
-const createJob = (overrides: Partial<JobListItem> = {}): JobListItem => ({
-  id: 'test-job-1',
-  title: 'Running...',
-  meta: 'Step 5/10',
-  state: 'running',
-  progressTotalPercent: 50,
-  progressCurrentPercent: 75,
-  ...overrides
-})
+function createJob(overrides: Partial<JobListItem> = {}): JobListItem {
+  return {
+    id: 'test-job-1',
+    title: 'Running...',
+    meta: 'Step 5/10',
+    state: 'running',
+    progressTotalPercent: 50,
+    progressCurrentPercent: 75,
+    ...overrides
+  }
+}

-const mountComponent = (job: JobListItem) =>
-  mount(ActiveJobCard, {
-    props: { job },
-    global: {
-      plugins: [i18n]
-    }
-  })
+function mountComponent(job: JobListItem) {
+  return mount(ActiveJobCard, {
+    props: { job },
+    global: {
+      plugins: [i18n]
+    }
+  })
+}
🤖 Fix all issues with AI agents
In `@src/platform/assets/components/ActiveMediaAssetCard.test.ts`:
- Around line 10-20: The mock always returning false for canCancelJob prevents
testing the cancel button; replace the static mock with a hoisted mutable mock
(use vi.hoisted) named e.g. mockJobActions and have useJobActions return
cancelAction and canCancelJob: computed(() => mockJobActions.canCancelJob.value)
and runCancelJob: mockJobActions.runCancelJob so tests can toggle
mockJobActions.canCancelJob.value = true to assert the cancel button (aria-label
"Cancel") appears on hover/focus and verify runCancelJob is called on click;
update/add tests that set mockJobActions.canCancelJob.value before mounting,
trigger mouseenter/focus, assert existence of the cancel button, and simulate
click to expect mockJobActions.runCancelJob to have been called.

In `@src/platform/assets/components/ActiveMediaAssetCard.vue`:
- Line 80: The import list includes an unused symbol `computed`; update the Vue
import in ActiveMediaAssetCard.vue to remove `computed` and import only `ref`
(i.e., change the import to use `{ ref }`), and verify there are no remaining
references to `computed` in the component (run the linter/tests to confirm).
- Around line 42-52: Add a unit test for ActiveMediaAssetCard.vue that sets
canCancelJob to true (instead of the current mocked false), simulates the
hovered state so the Cancel Button is rendered, asserts the Button with
aria-label matching cancelAction.label is visible, and simulates a click to
verify runCancelJob is called and that the click event is stopped from
propagating; target the component's canCancelJob prop/computed, the hovered
state, the cancelAction properties, and the runCancelJob method when writing the
test.

@benceruleanlu
Copy link
Member

@codex review

@chatgpt-codex-connector
Copy link

To use Codex here, create a Codex account and connect to github.

@benceruleanlu
Copy link
Member

To use Codex here, create a Codex account and connect to github.

image

benceruleanlu
benceruleanlu previously approved these changes Jan 23, 2026
Copy link
Member

@benceruleanlu benceruleanlu left a comment

Choose a reason for hiding this comment

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

Can we make it match the designs next?

@viva-jinyi
Copy link
Member Author

@benceruleanlu I modified the code for matching the design, can you review it again?

@coderabbitai coderabbitai bot requested a review from benceruleanlu January 28, 2026 02:58
@viva-jinyi viva-jinyi merged commit 17bd5f5 into main Jan 28, 2026
27 checks passed
@viva-jinyi viva-jinyi deleted the feature/clear-single-job branch January 28, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:queue enhancement New feature or request size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants