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

Change data store to parse documents to extract titles #20

Open
marcpalmer opened this issue Sep 4, 2018 · 0 comments
Open

Change data store to parse documents to extract titles #20

marcpalmer opened this issue Sep 4, 2018 · 0 comments

Comments

@marcpalmer
Copy link
Contributor

The current mechanism is bad - the name is not editable, the filename is deduced from the title and then used as the title which cannot be seen again.

Solution: just load all the files, use their filesnames as filename, parse YAML or JSON for the title.

When creating, make a new filename from the title.

When updating, if title changed, save with new name and delete old name and rename old attachment.

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