Skip to content

Conversation

@pythongosssss
Copy link
Member

@pythongosssss pythongosssss commented Jan 5, 2026

Summary

The current help / feedback is often overlooked by users, this adds a setting that makes it more visible moving it up into the tab bar and moves the user login/profile button out of the "action bar" into the tab bar.

Changes

  • Add 'Comfy.UI.TabBarLayout' setting with Default/Integrated options
  • Move Help & User controls to tab bar when Integrated mode is enabled
  • Extract help center logic into shared useHelpCenter composable

Screenshots (if applicable)

image image

┆Issue is synchronized with this Notion page by Unito

- Add 'Comfy.UI.TabBarLayout' setting with Default/Integrated options
- Move Help & User controls to tab bar when Integrated mode is enabled
- Extract help center logic into shared useHelpCenter composable
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 5, 2026

📝 Walkthrough

Walkthrough

Adds an integrated Tab Bar Layout option and moves Help/User controls into the tab bar when enabled; refactors Help Center UI into a centralized composable+popup component, updates settings/schema/locales, and wires conditional rendering across topbar and sidebar components.

Changes

Cohort / File(s) Summary
Settings & Schema
src/locales/en/settings.json, src/platform/settings/constants/coreSettings.ts, src/schemas/apiSchema.ts
Add Comfy.UI.TabBarLayout setting (Default/Integrated), localization entries, core setting registration, and schema validation (zSettings) entry.
Help Center UI & Composable
src/components/helpcenter/HelpCenterPopups.vue, src/composables/useHelpCenter.ts, src/stores/helpCenterStore.ts
New centralized popups component that Teleports Help Center/Release/WhatsNew UIs into canvas. New useHelpCenter() composable exposes visibility, triggerLocation, red-dot logic, toggle/close/handleWhatsNew. Store gains triggerLocation type and updated toggle(location?)/show(location?) signatures.
Sidebar changes
src/components/sidebar/SidebarHelpCenterIcon.vue, src/components/sidebar/SideToolbar.vue
SidebarHelpCenterIcon simplified to a single icon delegating behavior to composable; SideToolbar conditionally hides help icon in Integrated layout and mounts HelpCenterPopups.
Topbar & Tab Bar integration
src/components/topbar/TopMenuHelpButton.vue, src/components/topbar/CurrentUserButton.vue, src/components/topbar/LoginButton.vue, src/components/topbar/WorkflowTabs.vue, src/components/TopMenuSection.vue
New TopMenuHelpButton. CurrentUserButton adds showArrow prop. LoginButton gains class prop and switches to text-only variant. WorkflowTabs and TopMenuSection read Comfy.UI.TabBarLayout (via setting store) to render integrated tab-bar actions and hide topbar controls when Integrated.
Localization (top menu)
src/locales/en/main.json
Add menu.helpAndFeedback string for top-menu help label.

Sequence Diagram(s)

mermaid
sequenceDiagram
autonumber
participant User
participant Topbar as TopMenuHelpButton / TopMenuSection
participant Sidebar as SidebarHelpCenterIcon / SideToolbar
participant Composable as useHelpCenter()
participant Store as helpCenterStore
participant Popups as HelpCenterPopups (Teleport)
participant Dialog as DialogService

Note over User,Topbar: User triggers Help (click)
User->>Topbar: click help button
Topbar->>Composable: toggleHelpCenter(trigger='topbar')
Composable->>Store: toggle('topbar') / set triggerLocation
Store-->>Composable: updated isVisible / triggerLocation
Composable->>Popups: render/show Help Center (Teleport into canvas)
Popups-->>User: display popup
alt User dismisses WhatsNew
    User->>Popups: dismiss WhatsNew
    Popups->>Composable: handleWhatsNewDismissed()
    Composable->>Dialog: maybe show conflict modal (async)
    Dialog-->>User: show conflict modal (if needed)
end

style Composable rect #E8F0FE,stroke:#A3BFFA
style Store rect #F3F7E8,stroke:#B7D4A8
style Popups rect #FFF6E8,stroke:#FFD59E

Possibly related PRs

✨ Finishing touches
  • 📝 Generate docstrings

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.

@github-actions
Copy link

github-actions bot commented Jan 5, 2026

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 01/06/2026, 03:04:22 PM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@github-actions
Copy link

github-actions bot commented Jan 5, 2026

🎭 Playwright Test Results

⚠️ Tests passed with flaky tests

⏰ Completed at: 01/06/2026, 03:09:32 PM UTC

📈 Summary

  • Total Tests: 512
  • Passed: 502 ✅
  • Failed: 0
  • Flaky: 2 ⚠️
  • Skipped: 8 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 492 / ❌ 0 / ⚠️ 1 / ⏭️ 8
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 7 / ❌ 0 / ⚠️ 1 / ⏭️ 0

🎉 Click on the links above to view detailed test results for each browser configuration.

@github-actions
Copy link

github-actions bot commented Jan 5, 2026

Bundle Size Report

Summary

  • Raw size: 17.4 MB baseline 17.4 MB — 🔴 +4.59 kB
  • Gzip: 3.57 MB baseline 3.57 MB — 🔴 +766 B
  • Brotli: 2.72 MB baseline 2.72 MB — 🔴 +641 B
  • Bundles: 99 current • 99 baseline • 43 added / 43 removed

Category Glance
Graph Workspace 🔴 +4.23 kB (1 MB) · App Entry Points 🔴 +365 B (3.23 MB) · Vendor & Third-Party ⚪ 0 B (9.19 MB) · Other ⚪ 0 B (3.5 MB) · Panels & Settings ⚪ 0 B (300 kB) · UI Components ⚪ 0 B (193 kB) · + 3 more

Per-category breakdown
App Entry Points — 3.23 MB (baseline 3.23 MB) • 🔴 +365 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-DVed4Q0o.js (new) 3.03 MB 🔴 +3.03 MB 🔴 +637 kB 🔴 +484 kB
assets/index-0-ZRvV8_.js (removed) 3.03 MB 🟢 -3.03 MB 🟢 -637 kB 🟢 -484 kB
assets/index-6X2Jj7Ox.js (new) 194 kB 🔴 +194 kB 🔴 +42.3 kB 🔴 +35.1 kB
assets/index-BjQdrK0E.js (removed) 194 kB 🟢 -194 kB 🟢 -42.3 kB 🟢 -35.2 kB
assets/index-BI9nSbCF.js (new) 345 B 🔴 +345 B 🔴 +245 B 🔴 +200 B
assets/index-DH4VRHwR.js (removed) 345 B 🟢 -345 B 🟢 -247 B 🟢 -200 B

Status: 3 added / 3 removed

Graph Workspace — 1 MB (baseline 1 MB) • 🔴 +4.23 kB

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-C8GQiFTe.js (new) 1 MB 🔴 +1 MB 🔴 +195 kB 🔴 +148 kB
assets/GraphView-CuxXpvx7.js (removed) 1 MB 🟢 -1 MB 🟢 -195 kB 🟢 -148 kB

Status: 1 added / 1 removed

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

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/UserSelectView-C-KbBdXf.js (new) 6.63 kB 🔴 +6.63 kB 🔴 +2.14 kB 🔴 +1.9 kB
assets/UserSelectView-DRpEEECs.js (removed) 6.63 kB 🟢 -6.63 kB 🟢 -2.14 kB 🟢 -1.9 kB

Status: 1 added / 1 removed

Panels & Settings — 300 kB (baseline 300 kB) • ⚪ 0 B

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/LegacyCreditsPanel-CVh-D0Oc.js (removed) 22.7 kB 🟢 -22.7 kB 🟢 -5.25 kB 🟢 -4.61 kB
assets/LegacyCreditsPanel-DoktKAks.js (new) 22.7 kB 🔴 +22.7 kB 🔴 +5.25 kB 🔴 +4.6 kB
assets/KeybindingPanel-BO2Gtnwf.js (removed) 14.8 kB 🟢 -14.8 kB 🟢 -3.57 kB 🟢 -3.13 kB
assets/KeybindingPanel-Dp4tJtnE.js (new) 14.8 kB 🔴 +14.8 kB 🔴 +3.57 kB 🔴 +3.12 kB
assets/ExtensionPanel-1RRU3MdT.js (removed) 11.1 kB 🟢 -11.1 kB 🟢 -2.62 kB 🟢 -2.29 kB
assets/ExtensionPanel-76TDTAhp.js (new) 11.1 kB 🔴 +11.1 kB 🔴 +2.62 kB 🔴 +2.29 kB
assets/AboutPanel-C3croOFj.js (new) 9.16 kB 🔴 +9.16 kB 🔴 +2.46 kB 🔴 +2.2 kB
assets/AboutPanel-D8kwifgX.js (removed) 9.16 kB 🟢 -9.16 kB 🟢 -2.46 kB 🟢 -2.21 kB
assets/ServerConfigPanel-DEsR-qOu.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +2.04 kB 🔴 +1.8 kB
assets/ServerConfigPanel-DiNEaCik.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -2.04 kB 🟢 -1.8 kB
assets/UserPanel-CuRUuVsv.js (removed) 6.88 kB 🟢 -6.88 kB 🟢 -1.79 kB 🟢 -1.57 kB
assets/UserPanel-jUdCp082.js (new) 6.88 kB 🔴 +6.88 kB 🔴 +1.79 kB 🔴 +1.56 kB
assets/settings-BhbWhsRg.js 101 B 101 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-BIdKi-OT.js 26.2 kB 26.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-Bu3OR-lX.js 24.6 kB 24.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-ByL6gy5c.js 25.4 kB 25.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-CjlRFMdL.js 32.8 kB 32.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DkGwvylK.js 26.9 kB 26.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-Dyd027Dx.js 24.7 kB 24.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-MzsBgiwB.js 21.7 kB 21.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-wwBxqLH5.js 21.3 kB 21.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-xx2Yb6R2.js 23.8 kB 23.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 6 added / 6 removed

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

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/LazyImage.vue_vue_type_script_setup_true_lang-ByVDlPz-.js (new) 60.1 kB 🔴 +60.1 kB 🔴 +12.4 kB 🔴 +10.8 kB
assets/LazyImage.vue_vue_type_script_setup_true_lang-DMyG3Dc7.js (removed) 60.1 kB 🟢 -60.1 kB 🟢 -12.4 kB 🟢 -10.8 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-B0dS9eNN.js (removed) 54.4 kB 🟢 -54.4 kB 🟢 -8.6 kB 🟢 -7.38 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-BUDX81uv.js (new) 54.4 kB 🔴 +54.4 kB 🔴 +8.6 kB 🔴 +7.38 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-9Pu23t8O.js (removed) 49 kB 🟢 -49 kB 🟢 -10.5 kB 🟢 -9.14 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-C-FwHmnd.js (new) 49 kB 🔴 +49 kB 🔴 +10.5 kB 🔴 +9.13 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-BERQZ2NE.js (removed) 10.9 kB 🟢 -10.9 kB 🟢 -2.9 kB 🟢 -2.55 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-DBuGiWGE.js (new) 10.9 kB 🔴 +10.9 kB 🔴 +2.89 kB 🔴 +2.57 kB
assets/ComfyQueueButton-btesDgQD.js (new) 8.83 kB 🔴 +8.83 kB 🔴 +2.57 kB 🔴 +2.29 kB
assets/ComfyQueueButton-CNPxg51s.js (removed) 8.83 kB 🟢 -8.83 kB 🟢 -2.58 kB 🟢 -2.3 kB
assets/WidgetWithControl.vue_vue_type_script_setup_true_lang-B9i3d5oV.js (new) 3.72 kB 🔴 +3.72 kB 🔴 +1.45 kB 🔴 +1.31 kB
assets/WidgetWithControl.vue_vue_type_script_setup_true_lang-Cj1RHLr9.js (removed) 3.72 kB 🟢 -3.72 kB 🟢 -1.46 kB 🟢 -1.32 kB
assets/WidgetButton-8kXjRWp7.js (removed) 2.21 kB 🟢 -2.21 kB 🟢 -997 B 🟢 -870 B
assets/WidgetButton-BtlLEgKL.js (new) 2.21 kB 🔴 +2.21 kB 🔴 +995 B 🔴 +897 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-D3ul47hR.js (new) 2.14 kB 🔴 +2.14 kB 🔴 +890 B 🔴 +769 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-Dfs8yo_h.js (removed) 2.14 kB 🟢 -2.14 kB 🟢 -890 B 🟢 -774 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-BRLbcC4n.js (removed) 897 B 🟢 -897 B 🟢 -501 B 🟢 -442 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-C-h2Czxa.js (new) 897 B 🔴 +897 B 🔴 +501 B 🔴 +442 B
assets/UserAvatar.vue_vue_type_script_setup_true_lang-Btc-ocVv.js 1.34 kB 1.34 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 9 added / 9 removed

Data & Services — 12.5 kB (baseline 12.5 kB) • ⚪ 0 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/keybindingService-BpU68nix.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +1.83 kB 🔴 +1.58 kB
assets/keybindingService-DOCJK-GQ.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -1.83 kB 🟢 -1.57 kB
assets/audioService-Bt26KJCc.js (new) 2.2 kB 🔴 +2.2 kB 🔴 +964 B 🔴 +821 B
assets/audioService-DkEYooJ8.js (removed) 2.2 kB 🟢 -2.2 kB 🟢 -963 B 🟢 -829 B
assets/serverConfigStore-CLS4uKu9.js 2.83 kB 2.83 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 2 added / 2 removed

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

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/audioUtils-B3VdaLdt.js (removed) 1.41 kB 🟢 -1.41 kB 🟢 -651 B 🟢 -552 B
assets/audioUtils-D_rP2z7q.js (new) 1.41 kB 🔴 +1.41 kB 🔴 +652 B 🔴 +550 B

Status: 1 added / 1 removed

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

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-chart-vIZEp4HX.js 452 kB 452 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-other-fFl5a9Y4.js 3.9 MB 3.9 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-primevue-woBPd4cb.js 1.95 MB 1.95 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-three-r9r5tF_O.js 2.08 MB 2.08 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-tiptap-C79JtMXE.js 232 kB 232 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-vue-BXnt3M34.js 160 kB 160 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-xterm-BF8peZ5_.js 420 kB 420 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
Other — 3.5 MB (baseline 3.5 MB) • ⚪ 0 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SubscriptionRequiredDialogContent-CLIb77p8.js (new) 29 kB 🔴 +29 kB 🔴 +6.42 kB 🔴 +5.58 kB
assets/SubscriptionRequiredDialogContent-DfaTdV1i.js (removed) 29 kB 🟢 -29 kB 🟢 -6.42 kB 🟢 -5.59 kB
assets/WidgetRecordAudio-Bs2z5zui.js (removed) 20.4 kB 🟢 -20.4 kB 🟢 -5.23 kB 🟢 -4.64 kB
assets/WidgetRecordAudio-D6LI0jTt.js (new) 20.4 kB 🔴 +20.4 kB 🔴 +5.23 kB 🔴 +4.62 kB
assets/AudioPreviewPlayer-D48eIG9s.js (removed) 13.3 kB 🟢 -13.3 kB 🟢 -3.35 kB 🟢 -2.99 kB
assets/AudioPreviewPlayer-DNuPUc1o.js (new) 13.3 kB 🔴 +13.3 kB 🔴 +3.35 kB 🔴 +3 kB
assets/ValueControlPopover-CjgHPod-.js (new) 5.49 kB 🔴 +5.49 kB 🔴 +1.7 kB 🔴 +1.51 kB
assets/ValueControlPopover-D97Ulq1d.js (removed) 5.49 kB 🟢 -5.49 kB 🟢 -1.7 kB 🟢 -1.52 kB
assets/WidgetGalleria-BN8_s0Fj.js (new) 4.1 kB 🔴 +4.1 kB 🔴 +1.45 kB 🔴 +1.3 kB
assets/WidgetGalleria-CWhKuoei.js (removed) 4.1 kB 🟢 -4.1 kB 🟢 -1.44 kB 🟢 -1.3 kB
assets/WidgetColorPicker-BQHaRUyK.js (removed) 3.41 kB 🟢 -3.41 kB 🟢 -1.38 kB 🟢 -1.24 kB
assets/WidgetColorPicker-cPlUsps1.js (new) 3.41 kB 🔴 +3.41 kB 🔴 +1.38 kB 🔴 +1.23 kB
assets/WidgetTextarea-BO9Q8ULi.js (new) 3.08 kB 🔴 +3.08 kB 🔴 +1.21 kB 🔴 +1.08 kB
assets/WidgetTextarea-CsvSnSbT.js (removed) 3.08 kB 🟢 -3.08 kB 🟢 -1.22 kB 🟢 -1.07 kB
assets/WidgetMarkdown-BccmcMa2.js (removed) 3.08 kB 🟢 -3.08 kB 🟢 -1.28 kB 🟢 -1.12 kB
assets/WidgetMarkdown-D7cbH5WQ.js (new) 3.08 kB 🔴 +3.08 kB 🔴 +1.28 kB 🔴 +1.13 kB
assets/WidgetAudioUI-CQdxlYr2.js (removed) 2.89 kB 🟢 -2.89 kB 🟢 -1.17 kB 🟢 -1.06 kB
assets/WidgetAudioUI-l2GnshTL.js (new) 2.89 kB 🔴 +2.89 kB 🔴 +1.16 kB 🔴 +1.06 kB
assets/WidgetInputText-B2N58t3z.js (new) 1.99 kB 🔴 +1.99 kB 🔴 +919 B 🔴 +829 B
assets/WidgetInputText-mb74WK_5.js (removed) 1.99 kB 🟢 -1.99 kB 🟢 -920 B 🟢 -846 B
assets/WidgetToggleSwitch-DLNuEpE2.js (new) 1.76 kB 🔴 +1.76 kB 🔴 +835 B 🔴 +729 B
assets/WidgetToggleSwitch-PIAmZhSn.js (removed) 1.76 kB 🟢 -1.76 kB 🟢 -833 B 🟢 -728 B
assets/MediaImageBottom-CQQbaq7v.js (new) 1.55 kB 🔴 +1.55 kB 🔴 +730 B 🔴 +639 B
assets/MediaImageBottom-DzlcEFcu.js (removed) 1.55 kB 🟢 -1.55 kB 🟢 -733 B 🟢 -641 B
assets/MediaAudioBottom-C5dLAFmv.js (new) 1.51 kB 🔴 +1.51 kB 🔴 +731 B 🔴 +647 B
assets/MediaAudioBottom-DtPIypXI.js (removed) 1.51 kB 🟢 -1.51 kB 🟢 -731 B 🟢 -647 B
assets/Media3DBottom-DEL6O2ZP.js (new) 1.5 kB 🔴 +1.5 kB 🔴 +731 B 🔴 +647 B
assets/Media3DBottom-HMtw74hi.js (removed) 1.5 kB 🟢 -1.5 kB 🟢 -730 B 🟢 -646 B
assets/MediaVideoBottom-BX7W3zXq.js (new) 1.5 kB 🔴 +1.5 kB 🔴 +730 B 🔴 +646 B
assets/MediaVideoBottom-CIVQKp4J.js (removed) 1.5 kB 🟢 -1.5 kB 🟢 -730 B 🟢 -646 B
assets/Media3DTop--RktqaL_.js (new) 1.49 kB 🔴 +1.49 kB 🔴 +762 B 🔴 +652 B
assets/Media3DTop-QqSFBALO.js (removed) 1.49 kB 🟢 -1.49 kB 🟢 -763 B 🟢 -651 B
assets/WidgetSelect-BwZnU5-G.js (new) 733 B 🔴 +733 B 🔴 +358 B 🔴 +330 B
assets/WidgetSelect-C4Ae-26T.js (removed) 733 B 🟢 -733 B 🟢 -364 B 🟢 -325 B
assets/WidgetInputNumber-BPTTEWE2.js (removed) 673 B 🟢 -673 B 🟢 -351 B 🟢 -288 B
assets/WidgetInputNumber-DWSfzvd4.js (new) 673 B 🔴 +673 B 🔴 +347 B 🔴 +291 B
assets/Load3D-CPzL5cI8.js (new) 424 B 🔴 +424 B 🔴 +266 B 🔴 +224 B
assets/Load3D-DpiNpDU3.js (removed) 424 B 🟢 -424 B 🟢 -265 B 🟢 -223 B
assets/WidgetLegacy-C8biUcWj.js (removed) 364 B 🟢 -364 B 🟢 -236 B 🟢 -196 B
assets/WidgetLegacy-DxonWML8.js (new) 364 B 🔴 +364 B 🔴 +236 B 🔴 +197 B
assets/commands-09qoDJrw.js 13.8 kB 13.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BWp4HdfU.js 101 B 101 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CcfGaui5.js 14.4 kB 14.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CisfgZf5.js 13.7 kB 13.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CkU12Foh.js 13 kB 13 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CoH2DJa6.js 14.2 kB 14.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-COSt-Bjx.js 14.9 kB 14.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DalfIW5f.js 15.9 kB 15.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DfTl0eCm.js 13.5 kB 13.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DwSJL865.js 13.7 kB 13.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Ba_fO77I.js 91.3 kB 91.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Bdc58rJq.js 97.1 kB 97.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-C9ZJBRdI.js 81.5 kB 81.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CAL83XT3.js 84.6 kB 84.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CHLLfvpG.js 82.4 kB 82.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Cw9RZWRY.js 89 B 89 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DDqR5EuX.js 71.3 kB 71.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DLHyaEcz.js 92.1 kB 92.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-O7KfJeMO.js 79.9 kB 79.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-OzGsrlqJ.js 112 kB 112 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaAudioTop-DrF_Vdi7.js 1.46 kB 1.46 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaImageTop-DmgiGEEz.js 1.75 kB 1.75 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaVideoTop-BXyavTZf.js 2.65 kB 2.65 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-aW9En70v.js 260 kB 260 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-BIckSVgU.js 273 kB 273 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-BiYpVi7D.js 263 kB 263 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Bw_Jitw_.js 101 B 101 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CCEXtYfM.js 243 kB 243 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CvmVDWYd.js 323 kB 323 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-D_wreoPJ.js 267 kB 267 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Dz-0ZIBN.js 297 kB 297 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-VZsNmhG7.js 264 kB 264 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Zy145v5w.js 279 kB 279 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/OBJLoader2Worker-GDlTeC1j.js 4.69 kB 4.69 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetChart-dhwVJAgU.js 2.48 kB 2.48 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetImageCompare-C2io158s.js 3.18 kB 3.18 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/widgetPropFilter-BIbGSUAt.js 1.28 kB 1.28 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 20 added / 20 removed

@github-actions
Copy link

github-actions bot commented Jan 5, 2026

🔧 Auto-fixes Applied

This PR has been automatically updated to fix linting and formatting issues.

⚠️ Important: Your local branch is now behind. Run git pull before making additional changes to avoid conflicts.

Changes made:

  • ESLint auto-fixes
  • Prettier formatting

@pythongosssss pythongosssss marked this pull request as ready for review January 6, 2026 10:56
@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Jan 6, 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: 4

Caution

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

⚠️ Outside diff range comments (1)
src/components/sidebar/SidebarHelpCenterIcon.vue (1)

25-44: Use design system color token instead of hardcoded color, and remove !important if possible.

The hardcoded color #ff3b30 should be replaced with a design system token. The closest available semantic colors are --color-danger-200 (#d62952) or --color-error-text (#ff4444). Determine which is appropriate for your notification indicator.

For the !important on line 42, try removing it by adjusting the CSS selector specificity to override PrimeVue's defaults without the !important flag.

Current code
:deep(.p-badge) {
  background: #ff3b30;
  color: #ff3b30;
  min-width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 9999px;
  font-size: 0;
  margin-top: 4px;
  margin-right: 4px;
  border: none;
  outline: none;
  box-shadow: none;
}

:deep(.p-badge.p-badge-dot) {
  width: 8px !important;
}
🤖 Fix all issues with AI Agents
In @src/components/helpcenter/HelpCenterPopups.vue:
- Around line 44-50: The backdrop element rendered inside Teleport uses
position: absolute which can fail to cover the viewport; update the styling for
the backdrop (the div with class "help-center-backdrop" rendered when
isHelpCenterVisible and the similar backdrop used around lines 74-82) to use
position: fixed instead of absolute so it always spans the full viewport
regardless of document flow or scrolling; locate the CSS rules for
.help-center-backdrop (and any duplicate backdrop class/inline style in the same
component) and change position to fixed, keeping existing sizing
(top/left/right/bottom or width/height) and z-index intact.
- Around line 73-134: Replace hardcoded CSS in HelpCenterPopups.vue by switching
positioning and z-index to Tailwind/design tokens and moving animations to
shared CSS: update usages of .help-center-backdrop and .help-center-popup
(including variants .sidebar-left, .sidebar-right, .topbar-right,
.small-sidebar) to use Tailwind utility classes for absolute positioning,
spacing and z-index tokens instead of 9999/10000; if Tailwind's built-in
animations cover the behavior, replace the local @keyframes slideInUp and
slideInDown with Tailwind animation classes, otherwise move these keyframes into
the shared design-system CSS (or an @apply-enabled file) and reference them via
a named utility or class so the component contains only utility classes.

In @src/composables/useHelpCenter.ts:
- Around line 85-89: Wrap the onMounted initialization of the release store in a
try/catch: call releaseStore.initialize() inside try, handle failures in catch
by logging the error (e.g., console.error or your app logger), optionally
surface a user-friendly fallback (e.g., display a toast or set a local error
state) and avoid rethrowing so the unhandled error doesn’t crash the app; update
the onMounted block that calls releaseStore.initialize() accordingly and include
references to the onMounted callback and releaseStore.initialize() so reviewers
can find the change.
- Around line 43-48: The telemetry event in toggleHelpCenter hardcodes button_id
to 'sidebar_help_center_toggled' which mislabels events when triggerFrom is
'topbar'; update toggleHelpCenter to derive the button_id from triggerFrom
(e.g., use a mapping or template like `${triggerFrom}_help_center_toggled`)
before calling useTelemetry()?.trackUiButtonClicked, and keep the
helpCenterStore.toggle(triggerFrom) call unchanged so analytics reflect the real
trigger location.
📜 Review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a7d0825 and 2d169db.

📒 Files selected for processing (14)
  • src/components/TopMenuSection.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/composables/useHelpCenter.ts
  • src/locales/en/main.json
  • src/locales/en/settings.json
  • src/platform/settings/constants/coreSettings.ts
  • src/schemas/apiSchema.ts
  • src/stores/helpCenterStore.ts
🧰 Additional context used
📓 Path-based instructions (18)
**/*.{ts,tsx,vue,js,jsx,json,css}

📄 CodeRabbit inference engine (AGENTS.md)

Apply Prettier formatting with 2-space indentation, single quotes, no trailing semicolons, and 80-character line width

Files:

  • src/locales/en/main.json
  • src/locales/en/settings.json
  • src/components/topbar/CurrentUserButton.vue
  • src/schemas/apiSchema.ts
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/platform/settings/constants/coreSettings.ts
  • src/composables/useHelpCenter.ts
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/stores/helpCenterStore.ts
  • src/components/sidebar/SidebarHelpCenterIcon.vue
src/**/*.vue

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

src/**/*.vue: Use the Vue 3 Composition API instead of the Options API when writing Vue components (exception: when overriding or extending PrimeVue components for compatibility)
Use setup() function for component logic
Utilize ref and reactive for reactive state
Implement computed properties with computed()
Use watch and watchEffect for side effects
Implement lifecycle hooks with onMounted, onUpdated, etc.
Utilize provide/inject for dependency injection
Use vue 3.5 style of default prop declaration
Use Tailwind CSS for styling
Implement proper props and emits definitions
Utilize Vue 3's Teleport component when needed
Use Suspense for async components
Follow Vue 3 style guide and naming conventions

Files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
src/**/*.{vue,ts}

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

src/**/*.{vue,ts}: Leverage VueUse functions for performance-enhancing styles
Implement proper error handling
Use vue-i18n in composition API for any string literals. Place new translation entries in src/locales/en/main.json

Files:

  • src/components/topbar/CurrentUserButton.vue
  • src/schemas/apiSchema.ts
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/platform/settings/constants/coreSettings.ts
  • src/composables/useHelpCenter.ts
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/stores/helpCenterStore.ts
  • src/components/sidebar/SidebarHelpCenterIcon.vue
src/**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (src/CLAUDE.md)

src/**/*.{ts,tsx,vue}: Sanitize HTML with DOMPurify to prevent XSS attacks
Avoid using @ts-expect-error; use proper TypeScript types instead
Use es-toolkit for utility functions instead of other utility libraries
Implement proper TypeScript types throughout the codebase

Files:

  • src/components/topbar/CurrentUserButton.vue
  • src/schemas/apiSchema.ts
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/platform/settings/constants/coreSettings.ts
  • src/composables/useHelpCenter.ts
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/stores/helpCenterStore.ts
  • src/components/sidebar/SidebarHelpCenterIcon.vue
src/**/{composables,components}/**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Clean up subscriptions in state management to prevent memory leaks

Files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/composables/useHelpCenter.ts
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
src/**/*.{vue,ts,tsx}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Follow Vue 3 composition API style guide

Files:

  • src/components/topbar/CurrentUserButton.vue
  • src/schemas/apiSchema.ts
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/platform/settings/constants/coreSettings.ts
  • src/composables/useHelpCenter.ts
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/stores/helpCenterStore.ts
  • src/components/sidebar/SidebarHelpCenterIcon.vue
src/**/{components,composables}/**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Use vue-i18n for ALL user-facing strings by adding them to src/locales/en/main.json

Files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/composables/useHelpCenter.ts
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
src/components/**/*.vue

📄 CodeRabbit inference engine (src/components/CLAUDE.md)

src/components/**/*.vue: Use setup() function in Vue 3 Composition API
Destructure props using Vue 3.5 style in Vue components
Use ref/reactive for state management in Vue 3 Composition API
Implement computed() for derived state in Vue 3 Composition API
Use provide/inject for dependency injection in Vue components
Prefer emit/@event-name for state changes over other communication patterns
Use defineExpose only for imperative operations (such as form.validate(), modal.open())
Replace PrimeVue Dropdown component with Select
Replace PrimeVue OverlayPanel component with Popover
Replace PrimeVue Calendar component with DatePicker
Replace PrimeVue InputSwitch component with ToggleSwitch
Replace PrimeVue Sidebar component with Drawer
Replace PrimeVue Chips component with AutoComplete with multiple enabled
Replace PrimeVue TabMenu component with Tabs without panels
Replace PrimeVue Steps component with Stepper without panels
Replace PrimeVue InlineMessage component with Message
Extract complex conditionals to computed properties
Implement cleanup for async operations in Vue components
Use lifecycle hooks: onMounted, onUpdated in Vue 3 Composition API
Use Teleport/Suspense when needed for component rendering
Define proper props and emits definitions in Vue components

Files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
src/components/**/*.{vue,css}

📄 CodeRabbit inference engine (src/components/CLAUDE.md)

src/components/**/*.{vue,css}: Use Tailwind CSS only for styling (no custom CSS)
Use the correct tokens from style.css in the design system package

Files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
src/components/**/*.{vue,ts,js}

📄 CodeRabbit inference engine (src/components/CLAUDE.md)

src/components/**/*.{vue,ts,js}: Use existing VueUse composables (such as useElementHover) instead of manually managing event listeners
Use useIntersectionObserver for visibility detection instead of custom scroll handlers
Use vue-i18n for ALL UI strings

Files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
**/*.vue

📄 CodeRabbit inference engine (AGENTS.md)

**/*.vue: Use Vue 3.5+ with TypeScript in .vue files, exclusively using Composition API with <script setup lang="ts"> syntax
Use Tailwind 4 for styling in Vue components; avoid <style> blocks
Name Vue components using PascalCase (e.g., MenuHamburger.vue)
Use Vue 3.5 TypeScript-style default prop declaration with reactive props destructuring; do not use withDefaults or runtime props declaration
Prefer computed() over ref with watch when deriving values
Prefer useModel over separately defining prop and emit for two-way binding
Use vue-i18n in composition API for string literals; place new translation entries in src/locales/en/main.json
Use cn() utility function from @/utils/tailwindUtil for merging Tailwind class names; do not use :class="[]" syntax
Do not use the dark: Tailwind variant; use semantic values from the style.css theme instead (e.g., bg-node-component-surface)
Do not use !important or the ! important prefix for Tailwind classes; find and correct interfering !important classes instead
Avoid new usage of PrimeVue components; use VueUse, shadcn/vue, or Reka UI instead
Leverage VueUse functions for performance-enhancing styles in Vue components
Implement proper props and emits definitions in Vue components
Utilize Vue 3's Teleport component when needed
Use Suspense for async components
Follow Vue 3 style guide and naming conventions

Files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{ts,tsx,vue}: Use TypeScript exclusively; do not write new JavaScript code
Use sorted and grouped imports organized by plugin/source
Enforce ESLint rules including Vue + TypeScript rules, disallow floating promises, disallow unused imports, and restrict i18n raw text in templates
Do not use any type or as any type assertions; fix the underlying type issue instead
Write code that is expressive and self-documenting; avoid redundant comments and clean as you go
Keep functions short and functional; minimize nesting and follow the arrow anti-pattern
Avoid mutable state; prefer immutability and assignment at point of declaration
Use function declarations instead of function expressions when possible
Use es-toolkit for utility functions
Implement proper error handling in code

Files:

  • src/components/topbar/CurrentUserButton.vue
  • src/schemas/apiSchema.ts
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/platform/settings/constants/coreSettings.ts
  • src/composables/useHelpCenter.ts
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/stores/helpCenterStore.ts
  • src/components/sidebar/SidebarHelpCenterIcon.vue
src/**/*.ts

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

src/**/*.ts: Use es-toolkit for utility functions
Use TypeScript for type safety

Files:

  • src/schemas/apiSchema.ts
  • src/platform/settings/constants/coreSettings.ts
  • src/composables/useHelpCenter.ts
  • src/stores/helpCenterStore.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

Minimize the surface area (exported values) of each module and composable

Files:

  • src/schemas/apiSchema.ts
  • src/platform/settings/constants/coreSettings.ts
  • src/composables/useHelpCenter.ts
  • src/stores/helpCenterStore.ts
src/**/{services,composables}/**/*.{ts,tsx}

📄 CodeRabbit inference engine (src/CLAUDE.md)

src/**/{services,composables}/**/*.{ts,tsx}: Use api.apiURL() for backend endpoints instead of constructing URLs directly
Use api.fileURL() for static file access instead of constructing URLs directly

Files:

  • src/composables/useHelpCenter.ts
**/**/use[A-Z]*.ts

📄 CodeRabbit inference engine (AGENTS.md)

Name composables using the pattern useXyz.ts

Files:

  • src/composables/useHelpCenter.ts
src/**/stores/**/*.{ts,tsx}

📄 CodeRabbit inference engine (src/CLAUDE.md)

src/**/stores/**/*.{ts,tsx}: Maintain clear public interfaces and restrict extension access in stores
Use TypeScript for type safety in state management stores

Files:

  • src/stores/helpCenterStore.ts
**/*Store.ts

📄 CodeRabbit inference engine (AGENTS.md)

Name Pinia stores using the pattern *Store.ts

Files:

  • src/stores/helpCenterStore.ts
🧠 Learnings (44)
📚 Learning: 2025-12-09T04:35:43.971Z
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 6300
File: src/locales/en/main.json:774-780
Timestamp: 2025-12-09T04:35:43.971Z
Learning: In the Comfy-Org/ComfyUI_frontend repository, locale files other than `src/locales/en/main.json` are generated automatically on every release. Developers only need to add English (en) key/values in `src/locales/en/main.json` when making PRs; manual updates to other locale files (fr, ja, ko, ru, zh, zh-TW, es, ar, tr, etc.) are not required and should not be suggested in reviews.

Applied to files:

  • src/locales/en/settings.json
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.vue : Replace PrimeVue OverlayPanel component with Popover

Applied to files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
📚 Learning: 2025-12-09T03:49:52.828Z
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 6300
File: src/platform/updates/components/WhatsNewPopup.vue:5-13
Timestamp: 2025-12-09T03:49:52.828Z
Learning: In Vue files across the ComfyUI_frontend repo, when a button is needed, prefer the repo's common button components from src/components/button/ (IconButton.vue, TextButton.vue, IconTextButton.vue) over plain HTML <button> elements. These components wrap PrimeVue with the project’s design system styling. Use only the common button components for consistency and theming, and import them from src/components/button/ as needed.

Applied to files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
📚 Learning: 2025-12-09T21:40:12.361Z
Learnt from: benceruleanlu
Repo: Comfy-Org/ComfyUI_frontend PR: 7297
File: src/components/actionbar/ComfyActionbar.vue:33-43
Timestamp: 2025-12-09T21:40:12.361Z
Learning: In Vue single-file components, allow inline Tailwind CSS class strings for static classes and avoid extracting them into computed properties solely for readability. Prefer keeping static class names inline for simplicity and performance. For dynamic or conditional classes, use Vue bindings (e.g., :class) to compose classes.

Applies to all Vue files in the repository (e.g., src/**/*.vue) where Tailwind utilities are used for static styling.

Applied to files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
📚 Learning: 2025-12-16T22:26:49.463Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7537
File: src/components/ui/button/Button.vue:17-17
Timestamp: 2025-12-16T22:26:49.463Z
Learning: In Vue 3.5+ with <script setup>, when using defineProps<Props>() with partial destructuring (e.g., const { as = 'button', class: customClass = '' } = defineProps<Props>() ), props that are not destructured (e.g., variant, size) stay accessible by name in the template scope. This pattern is valid: you can destructure only a subset of props for convenience while referencing the remaining props directly in template expressions. Apply this guideline to Vue components across the codebase (all .vue files).

Applied to files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
📚 Learning: 2025-12-22T21:36:08.369Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7649
File: src/platform/cloud/subscription/components/PricingTable.vue:185-201
Timestamp: 2025-12-22T21:36:08.369Z
Learning: In Vue components, avoid creating single-use variants for common UI components (e.g., Button and other shared components). Aim for reusable variants that cover multiple use cases. It’s acceptable to temporarily mix variant props with inline Tailwind classes when a styling need is unique to one place, but plan and consolidate into shared, reusable variants as patterns emerge across the codebase.

Applied to files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
📚 Learning: 2025-12-11T12:25:15.470Z
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 7358
File: src/components/dialog/content/signin/SignUpForm.vue:45-54
Timestamp: 2025-12-11T12:25:15.470Z
Learning: This repository uses CI automation to format code (pnpm format). Do not include manual formatting suggestions in code reviews for Comfy-Org/ComfyUI_frontend. If formatting issues are detected, rely on the CI formatter or re-run pnpm format. Focus reviews on correctness, readability, performance, accessibility, and maintainability rather than style formatting.

Applied to files:

  • src/components/topbar/CurrentUserButton.vue
  • src/schemas/apiSchema.ts
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/platform/settings/constants/coreSettings.ts
  • src/composables/useHelpCenter.ts
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/stores/helpCenterStore.ts
  • src/components/sidebar/SidebarHelpCenterIcon.vue
📚 Learning: 2025-12-18T02:07:38.870Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7598
File: src/components/sidebar/tabs/AssetsSidebarTab.vue:131-131
Timestamp: 2025-12-18T02:07:38.870Z
Learning: Tailwind CSS v4 safe utilities (e.g., items-center-safe, justify-*-safe, place-*-safe) are allowed in Vue components under src/ and in story files. Do not flag these specific safe variants as invalid when reviewing code in src/**/*.vue or related stories.

Applied to files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
📚 Learning: 2025-12-18T21:15:46.862Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7603
File: src/components/queue/QueueOverlayHeader.vue:49-59
Timestamp: 2025-12-18T21:15:46.862Z
Learning: In the ComfyUI_frontend repository, for Vue components, do not add aria-label to buttons that have visible text content (e.g., buttons containing <span> text). The visible text provides the accessible name. Use aria-label only for elements without visible labels (e.g., icon-only buttons). If a button has no visible label, provide a clear aria-label or associate with an aria-labelledby describing its action.

Applied to files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
📚 Learning: 2025-12-21T01:06:02.786Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7649
File: src/components/graph/selectionToolbox/ColorPickerButton.vue:15-18
Timestamp: 2025-12-21T01:06:02.786Z
Learning: In Comfy-Org/ComfyUI_frontend, in Vue component files, when a filled icon is required (e.g., 'pi pi-circle-fill'), you may mix PrimeIcons with Lucide icons since Lucide lacks filled variants. This mixed usage is acceptable when one icon library does not provide an equivalent filled icon. Apply consistently across Vue components in the src directory where icons are used, and document the rationale when a mixed approach is chosen.

Applied to files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
📚 Learning: 2025-12-18T16:03:02.066Z
Learnt from: henrikvilhelmberglund
Repo: Comfy-Org/ComfyUI_frontend PR: 7617
File: src/components/actionbar/ComfyActionbar.vue:301-308
Timestamp: 2025-12-18T16:03:02.066Z
Learning: In the ComfyUI frontend queue system, useQueuePendingTaskCountStore().count indicates the number of tasks in the queue, where count = 1 means a single active/running task and count > 1 means there are pending tasks in addition to the active task. Therefore, in src/components/actionbar/ComfyActionbar.vue, enable the 'Clear Pending Tasks' button only when count > 1 to avoid clearing the currently running task. The active task should be canceled using the 'Cancel current run' button instead. This rule should be enforced via a conditional check on the queue count, with appropriate disabled/aria-disabled states for accessibility, and tests should verify behavior for count = 1 and count > 1.

Applied to files:

  • src/components/topbar/CurrentUserButton.vue
  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/TopMenuSection.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
📚 Learning: 2025-12-09T03:39:54.501Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7169
File: src/platform/remote/comfyui/jobs/jobTypes.ts:1-107
Timestamp: 2025-12-09T03:39:54.501Z
Learning: In the ComfyUI_frontend project, Zod is on v3.x. Do not suggest Zod v4 standalone validators (z.uuid, z.ulid, z.cuid2, z.nanoid) until an upgrade to Zod 4 is performed. When reviewing TypeScript files (e.g., src/platform/remote/comfyui/jobs/jobTypes.ts) validate against Zod 3 capabilities and avoid introducing v4-specific features; flag any proposal to upgrade or incorporate v4-only validators and propose staying with compatible 3.x patterns.

Applied to files:

  • src/schemas/apiSchema.ts
  • src/platform/settings/constants/coreSettings.ts
  • src/composables/useHelpCenter.ts
  • src/stores/helpCenterStore.ts
📚 Learning: 2025-12-13T11:03:11.264Z
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 7416
File: src/stores/imagePreviewStore.ts:5-7
Timestamp: 2025-12-13T11:03:11.264Z
Learning: In the ComfyUI_frontend repository, lint rules require keeping 'import type' statements separate from non-type imports, even if importing from the same module. Do not suggest consolidating them into a single import statement. Ensure type imports remain on their own line (import type { ... } from 'module') and regular imports stay on separate lines.

Applied to files:

  • src/schemas/apiSchema.ts
  • src/platform/settings/constants/coreSettings.ts
  • src/composables/useHelpCenter.ts
  • src/stores/helpCenterStore.ts
📚 Learning: 2025-12-17T00:40:09.635Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7537
File: src/components/ui/button/Button.stories.ts:45-55
Timestamp: 2025-12-17T00:40:09.635Z
Learning: Prefer pure function declarations over function expressions (e.g., use function foo() { ... } instead of const foo = () => { ... }) for pure functions in the repository. Function declarations are more functional-leaning, offer better hoisting clarity, and can improve readability and tooling consistency. Apply this guideline across TypeScript files in Comfy-Org/ComfyUI_frontend, including story and UI component code, except where a function expression is semantically required (e.g., callbacks, higher-order functions with closures).

Applied to files:

  • src/schemas/apiSchema.ts
  • src/platform/settings/constants/coreSettings.ts
  • src/composables/useHelpCenter.ts
  • src/stores/helpCenterStore.ts
📚 Learning: 2025-12-30T22:22:33.836Z
Learnt from: kaili-yang
Repo: Comfy-Org/ComfyUI_frontend PR: 7805
File: src/composables/useCoreCommands.ts:439-439
Timestamp: 2025-12-30T22:22:33.836Z
Learning: When accessing reactive properties from Pinia stores in TypeScript files, avoid using .value on direct property access (e.g., useStore().isOverlayExpanded). Pinia auto-wraps refs when accessed directly, returning the primitive value. The .value accessor is only needed when destructuring store properties or when using storeToRefs().

Applied to files:

  • src/schemas/apiSchema.ts
  • src/platform/settings/constants/coreSettings.ts
  • src/composables/useHelpCenter.ts
  • src/stores/helpCenterStore.ts
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.vue : Replace PrimeVue TabMenu component with Tabs without panels

Applied to files:

  • src/components/topbar/WorkflowTabs.vue
  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/TopMenuSection.vue
📚 Learning: 2025-11-24T19:47:02.860Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-24T19:47:02.860Z
Learning: Applies to src/**/*.{vue,ts} : Leverage VueUse functions for performance-enhancing styles

Applied to files:

  • src/components/topbar/WorkflowTabs.vue
  • src/components/sidebar/SideToolbar.vue
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.{vue,ts,js} : Use existing VueUse composables (such as useElementHover) instead of manually managing event listeners

Applied to files:

  • src/components/topbar/WorkflowTabs.vue
  • src/composables/useHelpCenter.ts
  • src/components/sidebar/SideToolbar.vue
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.{vue,ts,js} : Use vue-i18n for ALL UI strings

Applied to files:

  • src/components/topbar/WorkflowTabs.vue
📚 Learning: 2025-11-24T19:47:34.324Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/{components,composables}/**/*.{ts,tsx,vue} : Use vue-i18n for ALL user-facing strings by adding them to `src/locales/en/main.json`

Applied to files:

  • src/components/topbar/WorkflowTabs.vue
📚 Learning: 2025-11-24T19:47:02.860Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-24T19:47:02.860Z
Learning: Applies to src/**/*.vue : Utilize Vue 3's Teleport component when needed

Applied to files:

  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Leverage VueUse functions for performance-enhancing styles in Vue components

Applied to files:

  • src/components/topbar/WorkflowTabs.vue
  • src/components/sidebar/SideToolbar.vue
📚 Learning: 2025-11-24T19:47:34.324Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/*.{vue,ts,tsx} : Follow Vue 3 composition API style guide

Applied to files:

  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Utilize Vue 3's Teleport component when needed

Applied to files:

  • src/components/topbar/WorkflowTabs.vue
  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.vue : Use Teleport/Suspense when needed for component rendering

Applied to files:

  • src/components/helpcenter/HelpCenterPopups.vue
  • src/components/sidebar/SideToolbar.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Use Vue 3.5+ with TypeScript in `.vue` files, exclusively using Composition API with `<script setup lang="ts">` syntax

Applied to files:

  • src/components/helpcenter/HelpCenterPopups.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Use Vue 3.5 TypeScript-style default prop declaration with reactive props destructuring; do not use `withDefaults` or runtime props declaration

Applied to files:

  • src/components/helpcenter/HelpCenterPopups.vue
📚 Learning: 2025-11-24T19:47:02.860Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-24T19:47:02.860Z
Learning: Applies to src/**/*.vue : Follow Vue 3 style guide and naming conventions

Applied to files:

  • src/components/helpcenter/HelpCenterPopups.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Follow Vue 3 style guide and naming conventions

Applied to files:

  • src/components/helpcenter/HelpCenterPopups.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Implement proper props and emits definitions in Vue components

Applied to files:

  • src/components/helpcenter/HelpCenterPopups.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/**/use[A-Z]*.ts : Name composables using the pattern `useXyz.ts`

Applied to files:

  • src/composables/useHelpCenter.ts
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.vue : Replace PrimeVue Sidebar component with Drawer

Applied to files:

  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/LoginButton.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
📚 Learning: 2025-11-24T19:47:02.860Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-24T19:47:02.860Z
Learning: Applies to src/**/*.vue : Utilize ref and reactive for reactive state

Applied to files:

  • src/components/sidebar/SideToolbar.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Avoid new usage of PrimeVue components; use VueUse, shadcn/vue, or Reka UI instead

Applied to files:

  • src/components/sidebar/SideToolbar.vue
  • src/components/topbar/LoginButton.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Name Vue components using PascalCase (e.g., `MenuHamburger.vue`)

Applied to files:

  • src/components/topbar/TopMenuHelpButton.vue
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.vue : Replace PrimeVue InputSwitch component with ToggleSwitch

Applied to files:

  • src/components/topbar/TopMenuHelpButton.vue
  • src/components/topbar/LoginButton.vue
  • src/components/sidebar/SidebarHelpCenterIcon.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Use `cn()` utility function from `@/utils/tailwindUtil` for merging Tailwind class names; do not use `:class="[]"` syntax

Applied to files:

  • src/components/topbar/LoginButton.vue
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.vue : Replace PrimeVue Dropdown component with Select

Applied to files:

  • src/components/topbar/LoginButton.vue
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.vue : Replace PrimeVue Calendar component with DatePicker

Applied to files:

  • src/components/topbar/LoginButton.vue
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.vue : Replace PrimeVue InlineMessage component with Message

Applied to files:

  • src/components/topbar/LoginButton.vue
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.vue : Replace PrimeVue Chips component with AutoComplete with multiple enabled

Applied to files:

  • src/components/topbar/LoginButton.vue
📚 Learning: 2025-12-30T22:22:38.162Z
Learnt from: kaili-yang
Repo: Comfy-Org/ComfyUI_frontend PR: 7805
File: src/composables/useCoreCommands.ts:439-439
Timestamp: 2025-12-30T22:22:38.162Z
Learning: In Pinia setup stores, when accessing reactive properties directly via `useStore().property` pattern (e.g., `useQueueUIStore().isOverlayExpanded`), Pinia automatically unwraps refs and returns the primitive value. The `.value` accessor is only needed when destructuring store properties or using `storeToRefs()`.

Applied to files:

  • src/components/TopMenuSection.vue
📚 Learning: 2025-11-24T19:47:34.324Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/stores/**/*.{ts,tsx} : Maintain clear public interfaces and restrict extension access in stores

Applied to files:

  • src/stores/helpCenterStore.ts
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.{ts,tsx} : Minimize the surface area (exported values) of each module and composable

Applied to files:

  • src/components/sidebar/SidebarHelpCenterIcon.vue
🧬 Code graph analysis (2)
src/composables/useHelpCenter.ts (5)
src/stores/helpCenterStore.ts (2)
  • HelpCenterTriggerLocation (4-4)
  • useHelpCenterStore (6-33)
src/workbench/extensions/manager/composables/useConflictDetection.ts (1)
  • useConflictDetection (45-709)
src/services/dialogService.ts (1)
  • useDialogService (47-566)
src/workbench/extensions/manager/composables/useConflictAcknowledgment.ts (1)
  • useConflictAcknowledgment (44-101)
src/platform/telemetry/index.ts (1)
  • useTelemetry (32-42)
src/stores/helpCenterStore.ts (1)
src/scripts/domWidget.ts (1)
  • isVisible (155-157)
🔇 Additional comments (18)
src/locales/en/main.json (1)

830-830: LGTM: New locale entry follows conventions.

The addition of the menu.helpAndFeedback key follows the existing pattern and provides clear user-facing text for the Help & Feedback button.

Based on learnings, only the English locale file needs to be updated manually; other language files are auto-generated on release.

src/locales/en/settings.json (1)

372-379: LGTM: Settings locale entry is well-structured.

The new Comfy_UI_TabBarLayout entry follows the existing pattern for combo settings and provides clear descriptions for both the setting name and tooltip.

src/components/sidebar/SideToolbar.vue (2)

43-43: LGTM: Conditional rendering correctly implements integrated tab bar logic.

The help center icon is appropriately hidden when the integrated tab bar layout is active.


49-49: LGTM: HelpCenterPopups integration follows Vue best practices.

The new HelpCenterPopups component is correctly imported and placed at the root of the side toolbar, with proper reactive state management through the computed isIntegratedTabBar property.

Also applies to: 58-58, 94-96

src/platform/settings/constants/coreSettings.ts (1)

551-560: LGTM: Setting definition follows the established pattern.

The new Comfy.UI.TabBarLayout setting is well-structured with appropriate category, type, options, and tooltip. The placement after Comfy.DevMode and before Comfy.UseNewMenu is logical.

Optional: Consider adding a versionAdded field (e.g., versionAdded: '1.X.X') for consistency with other recent settings, as this helps track when features were introduced.

src/components/topbar/TopMenuHelpButton.vue (2)

1-14: LGTM with suggestion: Template structure is well-implemented.

The button uses the common Button component, includes i18n for user-facing text, and properly implements the red dot notification indicator. The visible text provides an accessible name, so no aria-label is needed.

Suggestion: Verify if the hardcoded red color bg-[#ff3b30] on line 11 should use a semantic color token from style.css instead. Notification/alert colors are often defined in the design system for consistency across the application.

As per coding guidelines, prefer semantic values from the theme over hardcoded colors.


16-21: LGTM: Composable integration follows Vue 3 best practices.

The component correctly uses the Composition API with <script setup lang="ts"> and cleanly destructures only the needed properties from useHelpCenter('topbar').

src/components/topbar/LoginButton.vue (2)

4-16: LGTM: Visual updates align with integrated tab bar design.

The variant change to "textonly" and the styled icon wrapper enhance the visual presentation while maintaining all existing functionality.


38-49: LGTM: Prop definition follows Vue 3.5 best practices.

The class prop is properly typed and destructured, and the cn() utility is correctly used for class composition.

src/components/TopMenuSection.vue (2)

57-61: LGTM: Conditional rendering correctly implements integrated tab bar layout.

The logic properly hides CurrentUserButton and LoginButton when integrated mode is active, aligning with the feature's goal to move these controls into the tab bar area.


97-123: LGTM: Settings store integration follows Pinia best practices.

The settingStore is correctly initialized and accessed. The isIntegratedTabBar computed properly reads from the new Comfy.UI.TabBarLayout setting.

src/components/topbar/CurrentUserButton.vue (1)

16-46: LGTM: Optional showArrow prop enables flexible layout control.

The prop is properly typed with a sensible default that maintains backward compatibility. This allows the integrated tab bar to hide the chevron while preserving it in the default layout.

src/components/topbar/WorkflowTabs.vue (2)

96-136: LGTM: Store integration and computed logic consistent with TopMenuSection.

The settingStore initialization and isIntegratedTabBar computed follow the same pattern established in TopMenuSection, ensuring consistent behavior across the application.


70-81: TopMenuHelpButton component verified.

The TopMenuHelpButton component exists and is properly implemented at src/components/topbar/TopMenuHelpButton.vue. It follows Vue 3 Composition API guidelines with <script setup lang="ts">, uses vue-i18n for translations, and relies on Tailwind CSS for styling. The integrated tab bar UI block is well-structured with appropriate conditional rendering and spacing.

src/schemas/apiSchema.ts (1)

390-390: No action required. The schema definition is correct and the default value is properly configured in coreSettings.ts with defaultValue: 'Default', which matches one of the enum values.

src/stores/helpCenterStore.ts (1)

1-33: LGTM!

The store implementation is clean and follows Pinia patterns correctly. The toggle function appropriately only updates triggerLocation when opening (not closing), while show always sets the location before displaying. The type-safe union type provides good constraints.

src/components/sidebar/SidebarHelpCenterIcon.vue (1)

2-10: LGTM!

The component logic is cleanly delegated to the useHelpCenter composable, following the separation of concerns principle. The template bindings are correct.

src/components/helpcenter/HelpCenterPopups.vue (1)

60-62: Verify reactivity of destructured prop in composable call.

The isSmall prop is destructured from defineProps and used directly in the template, which is correct for Vue 3.5+. However, if useHelpCenter() needed to react to isSmall changes, it would require passing a ref. Currently useHelpCenter() doesn't use isSmall, so this is fine.

Comment on lines +44 to +50
<Teleport to="body">
<div
v-if="isHelpCenterVisible"
class="help-center-backdrop"
@click="closeHelpCenter"
/>
</Teleport>
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Backdrop should use position: fixed instead of absolute.

The backdrop is teleported to body but uses position: absolute. If the body has any positioned ancestors or if the page is scrollable, the backdrop may not cover the entire viewport correctly. Using position: fixed ensures consistent full-viewport coverage.

🔎 Proposed fix
 .help-center-backdrop {
-  position: absolute;
+  position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   z-index: 9999;
   background: transparent;
 }

Also applies to: 74-82

🤖 Prompt for AI Agents
In @src/components/helpcenter/HelpCenterPopups.vue around lines 44 - 50, The
backdrop element rendered inside Teleport uses position: absolute which can fail
to cover the viewport; update the styling for the backdrop (the div with class
"help-center-backdrop" rendered when isHelpCenterVisible and the similar
backdrop used around lines 74-82) to use position: fixed instead of absolute so
it always spans the full viewport regardless of document flow or scrolling;
locate the CSS rules for .help-center-backdrop (and any duplicate backdrop
class/inline style in the same component) and change position to fixed, keeping
existing sizing (top/left/right/bottom or width/height) and z-index intact.

Comment on lines +73 to +134
<style scoped>
.help-center-backdrop {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 9999;
background: transparent;
}

.help-center-popup {
position: absolute;
bottom: 1rem;
z-index: 10000;
animation: slideInUp 0.2s ease-out;
pointer-events: auto;
}

.help-center-popup.sidebar-left {
left: 1rem;
}

.help-center-popup.sidebar-left.small-sidebar {
left: 1rem;
}

.help-center-popup.sidebar-right {
right: 1rem;
}

.help-center-popup.topbar-right {
top: 2rem;
right: 1rem;
bottom: auto;
animation: slideInDown 0.2s ease-out;
}

@keyframes slideInDown {
from {
opacity: 0;
transform: translateY(-20px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(20px);
}

to {
opacity: 1;
transform: translateY(0);
}
}
</style>
Copy link
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick | 🔵 Trivial

Consider migrating custom CSS to Tailwind utilities.

Per coding guidelines, Vue components should "Use Tailwind CSS only for styling (no custom CSS)" and "Use the correct tokens from style.css in the design system package."

The current implementation uses:

  • Hardcoded z-index values (9999, 10000)
  • Custom keyframe animations
  • Multiple positioning classes

While animations may require CSS, the positioning and z-index could leverage Tailwind utilities or design system tokens. If Tailwind's animation utilities don't suffice, consider extracting the keyframes to a shared CSS file or using @apply in a design system context.

🤖 Prompt for AI Agents
In @src/components/helpcenter/HelpCenterPopups.vue around lines 73 - 134,
Replace hardcoded CSS in HelpCenterPopups.vue by switching positioning and
z-index to Tailwind/design tokens and moving animations to shared CSS: update
usages of .help-center-backdrop and .help-center-popup (including variants
.sidebar-left, .sidebar-right, .topbar-right, .small-sidebar) to use Tailwind
utility classes for absolute positioning, spacing and z-index tokens instead of
9999/10000; if Tailwind's built-in animations cover the behavior, replace the
local @keyframes slideInUp and slideInDown with Tailwind animation classes,
otherwise move these keyframes into the shared design-system CSS (or an
@apply-enabled file) and reference them via a named utility or class so the
component contains only utility classes.

Comment on lines +85 to +89
// Initialize release store on mount
onMounted(async () => {
// Initialize release store to fetch releases for toast and popup
await releaseStore.initialize()
})
Copy link
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick | 🔵 Trivial

Add error handling for release store initialization.

The releaseStore.initialize() call is not wrapped in a try/catch. If the initialization fails (e.g., network error), the error will be unhandled and may cause issues in development or crash reporting.

🔎 Proposed fix
  // Initialize release store on mount
  onMounted(async () => {
-   // Initialize release store to fetch releases for toast and popup
-   await releaseStore.initialize()
+   try {
+     // Initialize release store to fetch releases for toast and popup
+     await releaseStore.initialize()
+   } catch (error) {
+     console.error('[HelpCenter] Failed to initialize release store:', error)
+   }
  })
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
// Initialize release store on mount
onMounted(async () => {
// Initialize release store to fetch releases for toast and popup
await releaseStore.initialize()
})
// Initialize release store on mount
onMounted(async () => {
try {
// Initialize release store to fetch releases for toast and popup
await releaseStore.initialize()
} catch (error) {
console.error('[HelpCenter] Failed to initialize release store:', error)
}
})
🤖 Prompt for AI Agents
In @src/composables/useHelpCenter.ts around lines 85 - 89, Wrap the onMounted
initialization of the release store in a try/catch: call
releaseStore.initialize() inside try, handle failures in catch by logging the
error (e.g., console.error or your app logger), optionally surface a
user-friendly fallback (e.g., display a toast or set a local error state) and
avoid rethrowing so the unhandled error doesn’t crash the app; update the
onMounted block that calls releaseStore.initialize() accordingly and include
references to the onMounted callback and releaseStore.initialize() so reviewers
can find the change.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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/composables/useHelpCenter.ts:
- Around line 86-89: The onMounted handler calls releaseStore.initialize()
without error handling; wrap the await releaseStore.initialize() call in a
try/catch inside the onMounted callback (or add a .catch) to handle
initialization failures, log the error via the app logger or console, and ensure
a safe fallback state (e.g., leave releases empty or set a flag on releaseStore)
so the help center still mounts even if releases fail to load; update the
onMounted block that references releaseStore.initialize() accordingly.
📜 Review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2d169db and 24eaaf4.

📒 Files selected for processing (1)
  • src/composables/useHelpCenter.ts
🧰 Additional context used
📓 Path-based instructions (11)
src/**/*.{vue,ts}

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

src/**/*.{vue,ts}: Leverage VueUse functions for performance-enhancing styles
Implement proper error handling
Use vue-i18n in composition API for any string literals. Place new translation entries in src/locales/en/main.json

Files:

  • src/composables/useHelpCenter.ts
src/**/*.ts

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

src/**/*.ts: Use es-toolkit for utility functions
Use TypeScript for type safety

Files:

  • src/composables/useHelpCenter.ts
src/**/{services,composables}/**/*.{ts,tsx}

📄 CodeRabbit inference engine (src/CLAUDE.md)

src/**/{services,composables}/**/*.{ts,tsx}: Use api.apiURL() for backend endpoints instead of constructing URLs directly
Use api.fileURL() for static file access instead of constructing URLs directly

Files:

  • src/composables/useHelpCenter.ts
src/**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (src/CLAUDE.md)

src/**/*.{ts,tsx,vue}: Sanitize HTML with DOMPurify to prevent XSS attacks
Avoid using @ts-expect-error; use proper TypeScript types instead
Use es-toolkit for utility functions instead of other utility libraries
Implement proper TypeScript types throughout the codebase

Files:

  • src/composables/useHelpCenter.ts
src/**/{composables,components}/**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Clean up subscriptions in state management to prevent memory leaks

Files:

  • src/composables/useHelpCenter.ts
src/**/*.{vue,ts,tsx}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Follow Vue 3 composition API style guide

Files:

  • src/composables/useHelpCenter.ts
src/**/{components,composables}/**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Use vue-i18n for ALL user-facing strings by adding them to src/locales/en/main.json

Files:

  • src/composables/useHelpCenter.ts
**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{ts,tsx,vue}: Use TypeScript exclusively; do not write new JavaScript code
Use sorted and grouped imports organized by plugin/source
Enforce ESLint rules including Vue + TypeScript rules, disallow floating promises, disallow unused imports, and restrict i18n raw text in templates
Do not use any type or as any type assertions; fix the underlying type issue instead
Write code that is expressive and self-documenting; avoid redundant comments and clean as you go
Keep functions short and functional; minimize nesting and follow the arrow anti-pattern
Avoid mutable state; prefer immutability and assignment at point of declaration
Use function declarations instead of function expressions when possible
Use es-toolkit for utility functions
Implement proper error handling in code

Files:

  • src/composables/useHelpCenter.ts
**/**/use[A-Z]*.ts

📄 CodeRabbit inference engine (AGENTS.md)

Name composables using the pattern useXyz.ts

Files:

  • src/composables/useHelpCenter.ts
**/*.{ts,tsx,vue,js,jsx,json,css}

📄 CodeRabbit inference engine (AGENTS.md)

Apply Prettier formatting with 2-space indentation, single quotes, no trailing semicolons, and 80-character line width

Files:

  • src/composables/useHelpCenter.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

Minimize the surface area (exported values) of each module and composable

Files:

  • src/composables/useHelpCenter.ts
🧠 Learnings (8)
📚 Learning: 2025-11-24T19:47:34.324Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Implement proper error handling in stores

Applied to files:

  • src/composables/useHelpCenter.ts
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.{ts,tsx,vue} : Implement proper error handling in code

Applied to files:

  • src/composables/useHelpCenter.ts
📚 Learning: 2025-11-24T19:47:02.860Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-24T19:47:02.860Z
Learning: Applies to src/**/*.{vue,ts} : Implement proper error handling

Applied to files:

  • src/composables/useHelpCenter.ts
📚 Learning: 2025-12-09T03:39:54.501Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7169
File: src/platform/remote/comfyui/jobs/jobTypes.ts:1-107
Timestamp: 2025-12-09T03:39:54.501Z
Learning: In the ComfyUI_frontend project, Zod is on v3.x. Do not suggest Zod v4 standalone validators (z.uuid, z.ulid, z.cuid2, z.nanoid) until an upgrade to Zod 4 is performed. When reviewing TypeScript files (e.g., src/platform/remote/comfyui/jobs/jobTypes.ts) validate against Zod 3 capabilities and avoid introducing v4-specific features; flag any proposal to upgrade or incorporate v4-only validators and propose staying with compatible 3.x patterns.

Applied to files:

  • src/composables/useHelpCenter.ts
📚 Learning: 2025-12-13T11:03:11.264Z
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 7416
File: src/stores/imagePreviewStore.ts:5-7
Timestamp: 2025-12-13T11:03:11.264Z
Learning: In the ComfyUI_frontend repository, lint rules require keeping 'import type' statements separate from non-type imports, even if importing from the same module. Do not suggest consolidating them into a single import statement. Ensure type imports remain on their own line (import type { ... } from 'module') and regular imports stay on separate lines.

Applied to files:

  • src/composables/useHelpCenter.ts
📚 Learning: 2025-12-17T00:40:09.635Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7537
File: src/components/ui/button/Button.stories.ts:45-55
Timestamp: 2025-12-17T00:40:09.635Z
Learning: Prefer pure function declarations over function expressions (e.g., use function foo() { ... } instead of const foo = () => { ... }) for pure functions in the repository. Function declarations are more functional-leaning, offer better hoisting clarity, and can improve readability and tooling consistency. Apply this guideline across TypeScript files in Comfy-Org/ComfyUI_frontend, including story and UI component code, except where a function expression is semantically required (e.g., callbacks, higher-order functions with closures).

Applied to files:

  • src/composables/useHelpCenter.ts
📚 Learning: 2025-12-30T22:22:33.836Z
Learnt from: kaili-yang
Repo: Comfy-Org/ComfyUI_frontend PR: 7805
File: src/composables/useCoreCommands.ts:439-439
Timestamp: 2025-12-30T22:22:33.836Z
Learning: When accessing reactive properties from Pinia stores in TypeScript files, avoid using .value on direct property access (e.g., useStore().isOverlayExpanded). Pinia auto-wraps refs when accessed directly, returning the primitive value. The .value accessor is only needed when destructuring store properties or when using storeToRefs().

Applied to files:

  • src/composables/useHelpCenter.ts
📚 Learning: 2025-12-11T12:25:15.470Z
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 7358
File: src/components/dialog/content/signin/SignUpForm.vue:45-54
Timestamp: 2025-12-11T12:25:15.470Z
Learning: This repository uses CI automation to format code (pnpm format). Do not include manual formatting suggestions in code reviews for Comfy-Org/ComfyUI_frontend. If formatting issues are detected, rely on the CI formatter or re-run pnpm format. Focus reviews on correctness, readability, performance, accessibility, and maintainability rather than style formatting.

Applied to files:

  • src/composables/useHelpCenter.ts
🧬 Code graph analysis (1)
src/composables/useHelpCenter.ts (5)
src/stores/helpCenterStore.ts (2)
  • HelpCenterTriggerLocation (4-4)
  • useHelpCenterStore (6-33)
src/platform/settings/settingStore.ts (1)
  • useSettingStore (46-252)
src/workbench/extensions/manager/composables/useConflictDetection.ts (1)
  • useConflictDetection (45-709)
src/workbench/extensions/manager/composables/useConflictAcknowledgment.ts (1)
  • useConflictAcknowledgment (44-101)
src/platform/telemetry/index.ts (1)
  • useTelemetry (32-42)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (14)
  • GitHub Check: playwright-tests-chromium-sharded (8, 8)
  • GitHub Check: playwright-tests-chromium-sharded (2, 8)
  • GitHub Check: playwright-tests-chromium-sharded (7, 8)
  • GitHub Check: playwright-tests-chromium-sharded (1, 8)
  • GitHub Check: playwright-tests-chromium-sharded (5, 8)
  • GitHub Check: playwright-tests-chromium-sharded (4, 8)
  • GitHub Check: playwright-tests-chromium-sharded (3, 8)
  • GitHub Check: playwright-tests-chromium-sharded (6, 8)
  • GitHub Check: playwright-tests (chromium-2x)
  • GitHub Check: playwright-tests (chromium-0.5x)
  • GitHub Check: playwright-tests (mobile-chrome)
  • GitHub Check: test
  • GitHub Check: lint-and-format
  • GitHub Check: collect
🔇 Additional comments (1)
src/composables/useHelpCenter.ts (1)

43-48: Telemetry tracking correctly reflects trigger location.

The implementation properly uses the triggerFrom parameter to generate an accurate button_id for analytics, ensuring telemetry data distinguishes between topbar and sidebar triggers.

Comment on lines +86 to +89
onMounted(async () => {
// Initialize release store to fetch releases for toast and popup
await releaseStore.initialize()
})
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Add error handling for release store initialization.

The releaseStore.initialize() call lacks a try-catch wrapper. If initialization fails (e.g., network error), the unhandled promise rejection could leave the help center without release data and prevent users from seeing update notifications.

🔎 Proposed fix
  // Initialize release store on mount
  onMounted(async () => {
-   // Initialize release store to fetch releases for toast and popup
-   await releaseStore.initialize()
+   try {
+     // Initialize release store to fetch releases for toast and popup
+     await releaseStore.initialize()
+   } catch (error) {
+     console.error('[HelpCenter] Failed to initialize release store:', error)
+   }
  })
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
onMounted(async () => {
// Initialize release store to fetch releases for toast and popup
await releaseStore.initialize()
})
onMounted(async () => {
try {
// Initialize release store to fetch releases for toast and popup
await releaseStore.initialize()
} catch (error) {
console.error('[HelpCenter] Failed to initialize release store:', error)
}
})
🤖 Prompt for AI Agents
In @src/composables/useHelpCenter.ts around lines 86 - 89, The onMounted handler
calls releaseStore.initialize() without error handling; wrap the await
releaseStore.initialize() call in a try/catch inside the onMounted callback (or
add a .catch) to handle initialization failures, log the error via the app
logger or console, and ensure a safe fallback state (e.g., leave releases empty
or set a flag on releaseStore) so the help center still mounts even if releases
fail to load; update the onMounted block that references
releaseStore.initialize() accordingly.

@comfydesigner
Copy link
Collaborator

Thanks for putting this behind a settings option!
Unrelated to this PR, but in the future should we organize all these into a collection? Perhaps these can be flagged as "beta" and that could be the collection to sort by to see/test out the latest changes.

As for the PR, the user account button is a bit cramped on my side vs what I see in your screenshot. Is this just an issue on my end? Using Chrome
Screenshot 2026-01-08 at 11 10 15 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants