feat: show legacy manager search tip in no-results empty state#8537
feat: show legacy manager search tip in no-results empty state#8537christian-byrne merged 1 commit intomainfrom
Conversation
|
Related Documentation No published documentation to review for changes on this repository. |
📝 WalkthroughWalkthroughAdds a new localization string and a Vue composable to detect manager-related search queries when the new manager UI is active; integrates the composable into ManagerDialog so the empty-state search message includes the legacy-manager tip when appropriate; includes unit tests for the composable. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant ManagerDialog
participant useLegacySearchTip as LegacyTip
participant ManagerState as State
participant I18n as Locales
User->>ManagerDialog: types searchQuery
ManagerDialog->>State: read isNewManagerUI
ManagerDialog->>LegacyTip: provide searchQuery, isNewManagerUI
LegacyTip-->>ManagerDialog: isLegacyManagerSearch (true/false)
ManagerDialog->>I18n: request base emptyStateMessage
I18n-->>ManagerDialog: base message
alt isLegacyManagerSearch == true
ManagerDialog->>I18n: request manager.legacyManagerSearchTip
I18n-->>ManagerDialog: legacy tip text
ManagerDialog-->>User: empty-state message + legacy tip
else
ManagerDialog-->>User: empty-state message
end
Possibly related PRs
Suggested reviewers
✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
🎨 Storybook Build Status✅ Build completed successfully! ⏰ Completed at: 02/02/2026, 01:11:00 AM UTC 🔗 Links🎉 Your Storybook is ready for review! |
🎭 Playwright Tests:
|
Bundle Size ReportSummary
Category Glance Per-category breakdownApp Entry Points — 26 kB (baseline 26 kB) • ⚪ 0 BMain entry bundles and manifests
Status: 1 added / 1 removed Graph Workspace — 978 kB (baseline 978 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) • ⚪ 0 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: 5 added / 5 removed Data & Services — 2.71 MB (baseline 2.71 MB) • 🔴 +891 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.16 MB (baseline 7.16 MB) • 🔴 +159 BBundles that do not match a named category
Status: 38 added / 38 removed |
Add non-intrusive tip in the no-results message when users search for legacy manager-related terms like 'manager', 'comfyui-manager', etc. - Create useLegacySearchTip composable to detect legacy manager searches - Integrate tip into emptyStateMessage as secondary muted text - Only shows when isNewManagerUI is true and no results found - Includes --enable-manager-legacy-ui flag instructions - Includes 9 test cases for coverage Amp-Thread-ID: https://ampcode.com/threads/T-019c1b62-3677-74f9-973d-43a940c9f677
c0e019e to
398fad3
Compare
Summary
Show a non-intrusive tip in the no-results empty state when users search legacy manager-related terms in the new manager UI.
Changes
useLegacySearchTipcomposable that detects when search query matches legacy manager keywords ("manager", "comfyui-manager", etc.) and appends a tip to the empty state message suggesting the--enable-manager-legacy-uiflagReview Focus
Fixes COM-12509