Coder Social home page Coder Social logo

Comments (17)

tibbi avatar tibbi commented on May 24, 2024 1

I dont really feel that we need a history function for the past versions. Saving to / loading from files has been added recently, which can easily be used for saving a note in a synchronized folder of Dropbox or other cloud, that will automatically create backup and synchronize the notes across all devices.

Storing previous versions of notes could be a mess, what we could maybe add is an Undo button that will undo the actions only from the current session, something like at Draw.

from simple-notes.

smichel17 avatar smichel17 commented on May 24, 2024

Could you elaborate on why you want this feature?

My guess is that you want to be able to roll back changes if you accidentally deleted/modified something. If that's true, I think a 'history' feature, where you can browse prior autosaves and return to one of your choice, might work better for that purpose.

from simple-notes.

 avatar commented on May 24, 2024

True, is exactly what the reason, since I happened several times to lose notes in this way. For editing I believe that the historic will be fine for resolve the problem.

  • sorry for my bad english, I use Google Translate

from simple-notes.

knezi avatar knezi commented on May 24, 2024

So do you think a button that would display a list of past versions (of course with some preview) would be enough? Should be the history persistent throughout executions of the app? How many versions (and when do you make new version) should be kept?

Maybe just arrow back that would erase/insert one character at a time plus when held one word at a time would be enough. What do you think?

I can try to implement it, let's just discuss the exact form.

from simple-notes.

smichel17 avatar smichel17 commented on May 24, 2024

The way I would do it is:

  • History option in the overflow (three dot) menu to open history view
  • History view is like the normal view, except:
    • Title is "History", not "Notes"
    • To the left of the title, there is an X, to return to normal view without making any changes
      • System/hardware back key does the same thing as this button
    • Instead of the title of a note, the scroll bar shows the date/time of the version
    • In the top bar, there are only three options:
      • A check mark, to restore the note currently scrolled to
      • An option to share that version of the history to another app
      • An option to save that version to a file

from simple-notes.

knezi avatar knezi commented on May 24, 2024

@tibbi I agree, we don't need a history function. Undo button would do it, but it's right I really miss it.

As for backups, one has to save every file manually every time, so it's a bit hassle. It would be nice to be able to save all files at once.

from simple-notes.

tibbi avatar tibbi commented on May 24, 2024

there is quite often an autosave triggered, on every pause or dialog open. If its not working properly in some cases, try reporting in which ones.

from simple-notes.

knezi avatar knezi commented on May 24, 2024

I haven't noticed any problem. It's just that I miss the back button.

from simple-notes.

tibbi avatar tibbi commented on May 24, 2024

ye that could be added maybe as an actionmenu item. But only for the current session, dont overcomplicate it.

from simple-notes.

knezi avatar knezi commented on May 24, 2024

Yes, that's exactly what I meant. The use case:
I edit the note and incidentally erase or replace some text and I want to get it back just while editing.

from simple-notes.

tibbi avatar tibbi commented on May 24, 2024

yes like that

from simple-notes.

smichel17 avatar smichel17 commented on May 24, 2024

I think that would also be good enough for me as well. I'd keep the recent history around for as long as possible, though (eg, until onDestroy, not onPause or onStop). It'd be annoying to lose that immediately just because I pressed the home button.

from simple-notes.

tibbi avatar tibbi commented on May 24, 2024

yes it will be cleared in onDestroy, which triggers if you quit the app by Back button, not if you go Home or in Notes settings

from simple-notes.

Locynaeh avatar Locynaeh commented on May 24, 2024

Hi ! I was seeking for the same thing. Reading the conversion lets me think that "arrow back that would erase/insert one character at a time plus when held one word at a time" and an history function are really 2 different things.
I think the first one, arrow back, is really needed because it's really easyc when you try to erase few words to erase some word you don't want to and because of the autosave function,k it's impossible to cancel.
The 2nd one, history, is an interesting feature, but to my mind, it's really a bonus compare to the first.
In fact, I really came here to create a feature resquest for the arrow back :)

from simple-notes.

ilf avatar ilf commented on May 24, 2024

I would also love an undo option. One step is enough. But I frequently select text and then accidentaly press a button on the keyboard, deleting my selection.

from simple-notes.

GuitarBilly avatar GuitarBilly commented on May 24, 2024

i also would request this option to undo an edit action in the current session.

I have most commonly mistakes with text selection as already mentionened and backspace deletions, e.g. if the cursor is not where you think it is,

from simple-notes.

tibbi avatar tibbi commented on May 24, 2024

undo/redo for the current session will be added in version 4.1.0. I have to think of some UI change as it can be confusing now, lets see if it works at all first :p

from simple-notes.

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.