-
Notifications
You must be signed in to change notification settings - Fork 389
Open
Labels
Bountyarea:commsarea:uiGeneral user interface and experience improvementsGeneral user interface and experience improvementsenhancementNew feature or requestNew feature or requestin progressIssue is currently being worked on by the teamIssue is currently being worked on by the team
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues and checked the recent builds/commits
What would your feature do?
Add a warning notification system that alerts users when there's a version mismatch between the ComfyUI frontend and the backend's required frontend version. This will help prevent compatibility issues and improve user experience by proactively notifying users when they need to update their frontend.
Currently:
- The frontend version is available via
app.config.app_version
(from__COMFYUI_FRONTEND_VERSION__
) - The backend ComfyUI version is available through
systemStatsStore.comfyui_version
- There's no mechanism to check if these versions are compatible
Proposed workflow
- Backend would need to expose a new field in the system stats API (e.g.,
required_frontend_version
orfrontend_version_range
) - Frontend would check this value against its own version on app initialization or when systemStatsStore is refreshed
- If versions don't match:
- Display a warning message using the existing Message/Toast system
- Show current frontend version vs. required version
- Provide action buttons to update or dismiss
Example warning scenarios:
- "Frontend version 1.24.0 is outdated. Backend requires version 1.25.0 or higher."
- "Frontend version 1.26.0 may not be compatible with backend version 1.24.0."
Additional information
Implementation Options:
-
Persistent Warning Banner (recommended):
- Use PrimeVue's Message component like existing
FirstTimeUIMessage
orMissingModelsWarning
- Display at the top of the UI when version mismatch is detected
- Include "Update Now" and "Dismiss" actions
- Use PrimeVue's Message component like existing
-
Toast Notification:
- Use the existing toast system for a less intrusive notification
- Could show on app startup or when backend connection is established
-
Modal Dialog:
- For critical incompatibilities that might break functionality
- Similar to
LoadWorkflowWarning
implementation
Technical Details:
The frontend already has all the necessary infrastructure:
- Version info available in
app.config.app_version
- System stats store for backend communication
- Multiple warning/notification UI patterns to choose from
- Existing examples of version-aware features (e.g., migration toasts)
This feature would improve user experience by preventing issues caused by version mismatches and guide users to keep their frontend updated with the backend requirements.
┆Issue is synchronized with this Notion page by Unito
snomiao
Metadata
Metadata
Assignees
Labels
Bountyarea:commsarea:uiGeneral user interface and experience improvementsGeneral user interface and experience improvementsenhancementNew feature or requestNew feature or requestin progressIssue is currently being worked on by the teamIssue is currently being worked on by the team