From ad6dda443509c54304498523e296eb25c49f4aad Mon Sep 17 00:00:00 2001 From: Jin Yi Date: Fri, 14 Nov 2025 16:09:32 +0900 Subject: [PATCH] feat: Add generation time sort options to Media Asset Panel (#6698) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Add generation time-based sorting options to the Media Asset Panel ## Changes - **New sorting options**: - Generation time (longest first) - Sort by longest execution time - Generation time (fastest first) - Sort by shortest execution time - **Show only in Generated tab**: - Generation time sorting is only meaningful for output assets with `executionTimeInSeconds` metadata - Implemented conditional rendering via `showGenerationTimeSort` prop ## Technical Details - `useMediaAssetFiltering.ts`: - Added `'longest'` and `'fastest'` to `SortOption` type - Added `getAssetExecutionTime` helper function - Implemented sorting logic using switch-case pattern - `MediaAssetSortMenu.vue`: - Added `showGenerationTimeSort` prop - Generation time sort buttons placed inside `