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

Be more resilient of user errors #201

Closed
3 tasks done
srid opened this issue May 22, 2020 · 5 comments · Fixed by #202
Closed
3 tasks done

Be more resilient of user errors #201

srid opened this issue May 22, 2020 · 5 comments · Fixed by #202
Assignees

Comments

@srid
Copy link
Owner

srid commented May 22, 2020

neuron rib -w should continue to run instead of breaking abruptly when there is an issue in one of zettel files. This can include:

  • Invalid markdown syntax (parser fails)
  • Invalid yaml metadata block
  • Links to non-existent zettel

Instead, perhaps, an inline error should be rendered in the zettel HTML in additional to accumulating all these errors and displaying them on the terminal (while continuing to monitor files for changes).

@Nadrieril
Copy link
Contributor

It might also be interesting to list the zettels with errors at the top of the z-index or some other relevant location

@srid
Copy link
Owner Author

srid commented May 23, 2020

image

image

@srid
Copy link
Owner Author

srid commented May 23, 2020

Invalid markdown syntax (parser fails)
Invalid yaml metadata block

When this happens, the entire zettel will be discarded from the zettelkasten; but the terminal will display an error.

@srid
Copy link
Owner Author

srid commented May 23, 2020

But these errors (not the query errors) will be shown in the z-index

image

@srid
Copy link
Owner Author

srid commented May 23, 2020

Actually let's display them all in the z-index:

image

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

Successfully merging a pull request may close this issue.

2 participants