Skip to content
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

Implement Bramble-side of autosave #336

Closed
humphd opened this issue Jun 2, 2015 · 0 comments
Closed

Implement Bramble-side of autosave #336

humphd opened this issue Jun 2, 2015 · 0 comments
Assignees

Comments

@humphd
Copy link

humphd commented Jun 2, 2015

We want to have Bramble do transparent autosave, and eliminate the need for explicit Save buttons. Autosave will trigger external actions in the hosting app, which we'll solve in https://github.com/mozilla/thimble.webmaker.org/issues/480.

For this bug, we need to accomplish this flow:

  • User changes the editor
  • XXms after some set of event(s), making sure we don't save more often than XXms:
    • the last codemirror change event? events in Editor or EditorManager, TBD
    • switching files
    • TODO: figure out what we need to listen for
  • writeFile(changedFile) in Bramble to fs
humphd added a commit that referenced this issue Jun 2, 2015
@humphd humphd self-assigned this Jun 2, 2015
@humphd humphd added this to the Heartbeat 2 - The 1Mb challenge milestone Jun 2, 2015
@humphd humphd closed this as completed in 09b1d6c Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants