-
Notifications
You must be signed in to change notification settings - Fork 44.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(platform): Saving WIP edited graph in local storage #8844
base: dev
Are you sure you want to change the base?
feat(platform): Saving WIP edited graph in local storage #8844
Conversation
✅ Deploy Preview for auto-gpt-docs-dev canceled.
|
✅ Deploy Preview for auto-gpt-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
- Added state management for local changes with `localChangesPresent`. - Updated save logic to prevent unnecessary saves when there are no local changes. - Adjusted loading behavior to set local changes state and clear store appropriately.
Abhi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
I have used new package named |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
@Abhi1992002 please fix the conflicts 👍🏽 |
I been testing this and I really like it, its super useful and it works very well, cant wait to see this be added! once the conflict is resolved and the CLA is signed from the other account this should be good to go 😄 |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
This is a great contribution @Abhi1992002! The CLA bot is broken here as it looks like a GitHub commit was signed Once tests are passing we can force this through the CLA bot. |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Changes
local storage
.local storage
when:When the user returns online or refreshes the page, the following steps are taken:
If there’s a change, a modal is opened, and the user is prompted to recover unsaved changes from the previous session. If the user agrees, the changes are temporarily recovered (not permanently saved to the database; the user needs to explicitly save them).
User must permanently save changes after recovering temporary ones.
Untitled.video.-.Made.with.Clipchamp.3.mp4