-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Deprecate date IDs and use regular link style #151
Comments
Here is a python script that might help the migration https://gist.github.com/felko/f71582747ea9bab8ef2f38e7730991b6. It replaces file names and links to zettels with date IDs with generated hashes, and adds a date field in the metadata of each zettel. Usage: |
I've adapted this script with a few changes:
https://gist.github.com/srid/a1321d559fd1a5fe464bb20c1a536107 |
All done. |
This resolves #148, as well as simplifies things a bit.
Switch to using short random hash (eg:
b6f044c8
) as the default zettel filename. This is same as the current custom ID type (arbitrary length of alpha numeric letters with hyphens and underscores). Date ID will be supported, but won't be the default inneuron new
.Migrate neuron.zettel.page IDs to be consistent?(cancelled; not to break URLs)Add an (optional) "date" metadata field to the zettels to indicate the creation date of the Zettel (populated by
neuron new
).Switch zettel link style to be like regular links, i.e, instead of the ID put the title as the link text (with ID not appearing at all, but only as hover text). It will look like this:
Since custom IDs can be of arbitrary length it makes little sense to try to visually emphasize them in the UI, hence no. 3.
The text was updated successfully, but these errors were encountered: