Comfy-Org / Comfy-Org/ComfyUI_frontend

[Feature Request]: Non-critical level for changeTracker

Open
#3,702 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Would like `changeTracker` to keep track of "the little things": selected items and current canvas viewport. Should not mark a workflow as dirty. However, these settings should be retained in memory / `localStorage`.

When a user requests a workflow save, the updates (to `ds` at least) should be saved with it.

(saving selected items is a separate issue)

### Proposed workflow

1. Open a workflow
2. Select a node
3. Pan & zoom the canvas
4. Change to another workflow tab
5. Change back

Result:

1. Node is still selected
1. Workflow can be closed without save prompt
1. Pressing Ctrl + S at this point will save the workflow with current `ds` data

### Additional information

_No response_

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-3702-Feature-Request-Non-critical-level-for-changeTracker-1e56d73d3650816b91f2c111489c2e3e) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.