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

Allow note templates for new notes #57

Open
gabrielbdornas opened this issue Oct 18, 2024 · 2 comments
Open

Allow note templates for new notes #57

gabrielbdornas opened this issue Oct 18, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@gabrielbdornas
Copy link

Hello @tpwo,

Fantastic job. Congratulations!

A long time ago, I used the sublime_zk Sublime Text 3 extension and it was great. Then I need to format all my computer and started to use Vscode. It makes me think in a Zettelkasten tool more agnostic, and here we are!

As I said, congratulations on the work, and maybe I could help you in the future if you need. For now, I just want to suggest a new feature. The possibility to add templates for new notes. You could see an example at the aforementioned sublime_zk extension.

The other two suggestions I've thought to give you, are already listed in the issues #22 and #15.

@tpwo
Copy link
Owner

tpwo commented Oct 19, 2024

Hi Gabriel,

I'm glad to hear that someone found and spent time with this project! The core was created a few years ago, and then I had a couple of sessions when I added new features.

Regarding the templates, I thought about it before, but then started thinking about redesigning the CLI and the overall behavior of the app, and never got back to the idea.

I just created #58 with more details on that.

Implementing templates is a topic which can be done independently, as it should interact with pyzet add command on its own, and above-mentioned #58 is a new invention.

Idea from sublime_zk is very simple, I like it.

But previously I thought about defining the whole template files with placeholders like {title} which then could be referenced in the config file. This would be a bit more complicated, as you're dealing with file paths, but should be more user-friendly, especially if you want to define a more complex template.

Regarding other suggestions, #22 looks like something which could be a part of pyzet query, so I'd probably close #58 before doing it.

#15 is a good idea, esp. for the new users who don't know the commands yet, and shouldn't be that hard, I guess.

The main problem is time, unfortunately. The development of this project slowed down this year, as I'm more busy these days.

If you'd like to help, you can see #58, and maybe even try out the version from the branch locally, and tell me if you like the changes.

From the user perspective, there is a new command pyzet query, and the rest should be unchanged, but the code was redesigned quite a bit to allow for the new feature, and I'm still not happy enough how it looks like.

Then we can decide what to do next. Thanks!

@tpwo tpwo added the enhancement New feature or request label Oct 22, 2024
@gabrielbdornas
Copy link
Author

Hello @tpwo, thank you for your time. I'll fork the repository and play a bit with it. Time is my big challenge as well, but why not try! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants