summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-03Add gnosis-edit-deckThanos Apollo
Edit contents of a deck with a given ID. This function is meant to be used from within a *gnosis-dashboard* buffer. Uses custom kbd via local-set-key, since gnosis-dashboard mode is also used by gnosis-edit-notes, this is viable alternative, if you have any other recommendations feel free to email them to me
2024-03-03Add gnosis-edit-update-deckThanos Apollo
- Use gnosis-assert funcs to make error messages descreptive - Use cl-loop to simplify gnosis-update
2024-03-03Add gnosis-assert-number-or-nilThanos Apollo
2024-03-03Add gnosis-assert-float-or-nilThanos Apollo
2024-03-03Add gnosis-assert-int-or-nilThanos Apollo
2024-03-03Add gnosis-edit-deck--exportThanos Apollo
2024-03-03gnosis-suspend-deck: Add confirmationThanos Apollo
2024-03-03gnosis-suspend-note: RewriteThanos Apollo
2024-03-03gnosis-delete-deck: RewriteThanos Apollo
2024-03-03gnosis--get-deck-name: Add optional id argThanos Apollo
If id is given, return the name for deck id
2024-03-03packaging: Add -dev versionThanos Apollo
2024-03-03Update database to version 2Thanos Apollo
Add failure-factor, ef-increase, ef-decrease, ef-threshold for decks table. These values will be applied to all notes for deck.
2024-03-03gnosis-dashboard-mode: Remove format & sortingThanos Apollo
We will be specified using one of the dashboard create funcs. Value will be different depending on how the dashboard will be created.
2024-03-03gnosis-dashboard-mode-map: Remove "e"Thanos Apollo
We will be setting keybindings for editing/suspending locally depending on how the dashboard has been created, for notes or decks etc
2024-03-03gnosis-edit-save-exit: RefactorThanos Apollo
Add function as argument to be used as exit func. This will make it easier to reuse with other funcs
2024-03-03gnosis-algorithm: Rename frequency->thresholdThanos Apollo
- Rename frequency->threshold - Update module desc
2024-03-03gnosis-algorithm-next-ef: Add assertionsThanos Apollo
- Make sure correct value types are given
2024-03-01Remove gnosis-review-roundThanos Apollo
Deprecated
2024-03-01Reorganize todosThanos Apollo
2024-03-01gnosis-algorithm-next-ef: Adjust for 0Thanos Apollo
If c-successes/c-failures is 0 change-p would return t, triggering the update frequency. Using max 1 would fixes this.
2024-03-01Remove gnosis-review-new-efThanos Apollo
Calculate new ef using gnosis-algorithm
2024-03-01Rewrite gnosis-review-algorithmThanos Apollo
Use gnosis-algorithm-next-ef & gnosis-algorithm-next-interval. Return them as list for simplicity
2024-03-01Rewrite gnosis-algorithm-next-intervalThanos Apollo
Just calculate next interval, previous implementation was out of scope
2024-03-01Add gnosis-algorithm-next-efThanos Apollo
Seperate calculation of easiness factor. This will make it easier to apply changes to increase/decrease value depending on the number of successful & failed reviews
2024-03-01Add gnosis-algorithm-round-itemsThanos Apollo
2024-03-01Add gnosis-algorithm-replace-at-indexThanos Apollo
2024-03-01Add gnosis-algorithm-ef-frequencyThanos Apollo
Frequency by which to update ef increase & decrease values
2024-03-01Add gnosis-algorithm-ef-decreaseThanos Apollo
Value to decrease ef-decrease by in set frequency
2024-03-01Add gnosis-algorithm-ef-increaseThanos Apollo
Value to increase ef-increase value in set frequency
2024-02-28style: Use double space after periodThanos Apollo
I'm not a double spacer nor have strong opinions on the subject. But since most of emacs community prefers this style, I don't mind using it.
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-28Update TODOsThanos Apollo
2024-02-28gnosis-test: Update tests for imagesThanos Apollo
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-22Release version 0.1.9: Merge branch '0.1.9-dev'0.1.9Thanos Apollo
- Rework UI for adding question
2024-02-22doc: Update for version 0.1.9Thanos Apollo
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