GithubHelp home page GithubHelp logo

Comments (6)

tantaman avatar tantaman commented on July 30, 2024

How often were you thinking it should be cached? On every update or every 30 seconds or so?
Doing the latter would be simple. Doing the former, and keeping it performant, may take some time.

from strut.

jancborchardt avatar jancborchardt commented on July 30, 2024

I’d say on every 10 seconds (30 is a bit long) and catching the window close event and saving before that – is a great start. It can always be improved step by step.

from strut.

tantaman avatar tantaman commented on July 30, 2024

When should auto saves (for presentations that were never saved before) be removed?

Remove auto saves from the previous session when ending a new session?

from strut.

jancborchardt avatar jancborchardt commented on July 30, 2024

Saves should never removed until the user deletes it from the file list – or do you mean something else? For auto save, I think about just the current state of the slides being saved. There is not full-on versioning, is there?

Basically the thing is: The »save« and »save as« functions should be deprecated, everything should be autosaved. Automatic saving is the only form of saving. Ideally, when someone uses Ctrl+s, that should force a save (and suppress the default function that a system file saving dialog pops up).
It should be replaced by just a presentation list: all the presentations, plus a function to add a new one. (Like the simple document list on Litewrite [you have to hover the top left].)

from strut.

tantaman avatar tantaman commented on July 30, 2024

I like Litetwrite's auto save. That makes a lot more sense than what I was thinking of and gets rid of the concerns I had in my previous question.

No, there is no versioning.

from strut.

jancborchardt avatar jancborchardt commented on July 30, 2024

Yeah, versioning should probably also be a thing that gets handled by remoteStorage.js eventually.

from strut.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.