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

Remove requirement for unique titles #92

Closed
sarmentow opened this issue Dec 13, 2022 · 0 comments
Closed

Remove requirement for unique titles #92

sarmentow opened this issue Dec 13, 2022 · 0 comments

Comments

@sarmentow
Copy link

Right now when you create a note with an already used title, an error pops up saying that there's already a note with the same title. I think this probably hurts the usability of the app especially when you're just trying to jot down something.

It's probably very simple to fix this. I'm thinking about adding an id field to the Note class, and indexing/identifying the notes through this id instead of relying on the title field.

I would like to try this out and send a pull request. There are some other tweaks that could be done to improve usability once this feature is done. The app could show not only the title but a small preview (maybe the first few words or line) of each note in the list. This way if you have 2 notes with the same title but different contents you can distinguish between them. I could also work on this, perhaps I'll put this in a different pull request.

I'm not sure if the project is inactive. If so, I'll just fork it and implement these features.

@sarmentow sarmentow closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2022
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

1 participant