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

The handling of duplicate notes #580

Closed
peavine opened this issue May 9, 2019 · 1 comment
Closed

The handling of duplicate notes #580

peavine opened this issue May 9, 2019 · 1 comment

Comments

@peavine
Copy link

peavine commented May 9, 2019

I wondered if it might be desirable to have a uniform approach to dealing with duplicate note names. There are three circumstances where this is an issue.

  1. Duplicate an existing note.

In FSNotes, if you duplicate a note using File > Duplicate, then a date-and-time stamp is added to the note name. For example:

My Note 20190508053952

In this circumstance, the Finder would create:

My Note
My Note Copy
My Note Copy 2

  1. A Note already exists.

In FSNotes, if you move a note to a folder that already contains a note with that name, then a number is added to the moved note name. For example:

My Note
My Note 1
My Note 2

In this circumstance the Finder would prompt and, if "Keep Both" is selected, the Finder would create:

My Note
My Note Copy
My Note Copy 2

  1. Create a new note.

In FSNotes, if the user creates multiple new notes with File > New, they all have the note name "Untitled Note" and the note file name is a UUID.

The Finder does not have something directly comparable, but when creating multiple new folders, Finder makes:

untitled folder
untitled folder 2
untitled folder 3

Similarly, when File > New is repeatedly selected in TextEdit, the text documents are named:

Untitled
Untitled 2
Untitled 3

I prefer simple and so, FWIW, my preference would be for FSNotes in circumstances 1 and 2 above to use:

My Note
My Note 1
My Note 2

In circumstance 3 above, for both the note name and note file name, my preference would be to use:

Untitled Note
Untitled Note 1
Untitled Note 2

@glushchenko glushchenko added this to To Do in FSNotes 5 via automation Jul 4, 2021
glushchenko added a commit that referenced this issue Jul 9, 2021
glushchenko added a commit that referenced this issue Jul 10, 2021
@glushchenko glushchenko moved this from To Do to Done in FSNotes 5 Jul 10, 2021
@glushchenko
Copy link
Owner

Please test https://github.com/glushchenko/fsnotes/releases/tag/5beta1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants