summaryrefslogtreecommitdiff
path: root/gnosis.el
AgeCommit message (Collapse)Author
2024-02-28gnosis-display-extra: Display extra-imageThanos Apollo
Instead of using gnosis-display-image 'extra-image on every review note type, just add it to extras. Future refactoring is needed to simplify gnosis-review-TYPEs
2024-02-28Remove gnosis-get-note-tagsThanos Apollo
Use gnosis-get, avoid extra complexity
2024-02-28Refactor prompt for imagesThanos Apollo
gnosis-add-note-TYPE now has a :images keyword instead of just an image, that using gnosis-select-images will return a cons of. gnosis-add-note--TYPE handles the car & cadr of :images cons as (image . second-image) Update docstrings as well.
2024-02-28gnosis-cloze-replace-words: Update error handlingThanos Apollo
If cloze given is not valid throw an error. Just having search-forward return error alone is confusing.
2024-02-28Add gnsois-cloze-guidanceThanos Apollo
Put the value of the example/guide in a variable, this way it will be easier for experienced users to set it to nil if they find it annoying.
2024-02-28gnosis-prompt-tags--split: Return "untagged" when input value is nilThanos Apollo
Having "" tag should be avoided.
2024-02-28gnsois-hint-prompt: Use read-stringThanos Apollo
read-from-minibuffer does the same thing, but since not many package authors use it I thought to avoid it as well, plus we have to make sure the value will be a string.
2024-02-28gnosis-select-images: RefactorThanos Apollo
Refactor gnsois-select-images to prompt to select for extra-image as well, returns a cons (image . second-images). This way we won't have to recreate a needless function like gnosis-select-second-image.
2024-02-28Add gnosis-edit-read-only-valuesThanos Apollo
When creating gnosis-edit buffer for NOTE, we have to make sure the fields will not be deleted accidently be the user and the value of id won't change. Use gnosis-edit-read-only-values in gnosis-edit-note.
2024-02-28gnosis-edit-save-exit: Kill windowThanos Apollo
After using read-only values, we can't clear the buffer. We have to kill it and then recreate it for each time we call gnosis-edit-note
2024-02-28gnosis-db-schema-extras: Add commentsThanos Apollo
Explain the reason behind the naming conventions used
2024-02-28gnosis-edit-update-note: Refactor to handle second-imageThanos Apollo
2024-02-28gnosis-review-commit: Do not push when testingThanos Apollo
Make testing easier
2024-02-28gnosis-display-image: RefactorThanos Apollo
gnosis-display-image now takes image to display as argument. This should allow gnosis-display-image to be used with extra-image
2024-02-22Version bump: 0.1.9Thanos Apollo
2024-02-22y-or-n: Refactor interactive inputThanos Apollo
- Use read-string-from-buffer - Use gnosis-hint-prompt - Use gnosis-prompt-tags--split
2024-02-22basic: Refactor interactive inputThanos Apollo
- Use read-string-from-buffer - Use gnosis-hint-prompt - Use gnosis-prompt-tags--split
2024-02-22mcq: Refactor adding notes & use gnosis-prompt-mcq-choicesThanos Apollo
2024-02-22[fix] double: Remove double prompt for imageThanos Apollo
2024-02-22cloze: Refactor creation of cloze type notesThanos Apollo
- Use read-string-from-buffer for note & extra - Use gnosis-hint-prompt - Use gnosis-prompt-tags--split for tag input
2024-02-22Add gnosis-prompt-tags--splitThanos Apollo
Redo input of tags when creating choices. Make it simplier and easier.
2024-02-22Add gnosis-prompt-mcq-choicesThanos Apollo
Return a list of mcq choices & the correct answer, make input easier and simpler
2024-02-22Rename gnosis-previous-hint -> gnosis-previous-note-hintThanos Apollo
2024-02-21[Feature] Add gnosis-hint-promptThanos Apollo
Store value of previous hint & utilize it with read-from-minibuffer
2024-02-21gnosis-review-note: Create gnosis buffer on the same windowThanos Apollo
Make it easier for laptop users
2024-02-21gnosis:(dashboard) Add note typeThanos Apollo
2024-02-21gnosis-edit-note: Use pop-to-buffer-same-windowThanos Apollo
- Use pop-to-buffer-same-window - Update docstring
2024-02-21Add custom gnosis-image-height/widthThanos Apollo
Custom value to display images height & width with, by default it's nill
2024-02-21gnosis-review-note: Use pop-to-bufferThanos Apollo
2024-02-20[Feature] Add select image promptThanos Apollo
Add gnosis-select-image for adding notes
2024-02-20[fix] Fix image displayThanos Apollo
2024-02-20version bump: 0.1.8Thanos Apollo
2024-02-20Add gnosis-dashboardThanos Apollo
2024-02-20Add gnosis-dashboard-modeThanos Apollo
2024-02-20Add gnosis-dashboard-mode-mapThanos Apollo
2024-02-20Add gnosis-dashboard-edit-noteThanos Apollo
2024-02-20Add gnosis-dashboard-output-notesThanos Apollo
2024-02-20Add gnosis-dashboard-output-noteThanos Apollo
2024-02-20gnosis-export-note: Rewrite cleanly & with review-logThanos Apollo
2024-02-20[fix] gnosis-get-notes-for-deckThanos Apollo
Deprecated use of gnosis-select
2024-02-20gnosis-edit-update-note: Add ef ff suspend valuesThanos Apollo
2024-02-20gnosis-edit-save-exit: Exit recursive edit IF we are in oneThanos Apollo
2024-02-20[fix] gnosis-display-mcq-options: hardcoded idThanos Apollo
2024-02-20version: start 0.1.8-devThanos Apollo
2024-02-20gnosis-update-note: Add ef & ffThanos Apollo
2024-02-20Rewrite gnosis-edit-noteThanos Apollo
Just export note & adjust values in gnosis-edit buffer.
2024-02-20Refactor gnosis-export-noteThanos Apollo
- Rewrite suboptimal code - Add export of ef & ff
2024-02-18Rename gnosis-auto-vc-push -> gnosis-vc-auto-pushThanos Apollo
2024-02-18version bump: 0.1.7Thanos Apollo
2024-02-18[Rewrite] gnosis-git* use vc instead of shell-processThanos Apollo
This is not ideal, since vc requires an external application to handle ssh password input. But I couldn't find a simple way to replicate magit/tramp way of doing this & depending on magit is not ideal either.