summaryrefslogtreecommitdiff
path: root/gnosis.el
AgeCommit message (Collapse)Author
2024-05-01Rename gnosis-due-notes -> gnosis-due-notes-totalThanos Apollo
Make var name clear that it represents total count. due notes might be asumed as a list of note ids
2024-04-26[fix] Display images properlyThanos Apollo
2024-04-26[fix] modeline: Improve performanceThanos Apollo
Calling (length (gnosis-review-get-due-notes)) causes performance issues, especially on old hardware, we store the value on a variable and update it every 5 minutes or when we finish a review session.
2024-04-24Add gnosis-mcq-process-inputThanos Apollo
- Process input given from gnosis-mcq-prompt
2024-04-24Refactor gnosis-prompt-mcq-inputThanos Apollo
- Use recursion when incorrect formatting is used - Separate the process of input to a different function
2024-04-24gnosis-generate-id: Use random lengthThanos Apollo
2024-04-21Rewrite adding notes logicThanos Apollo
- Remove while statements from gnosis-add-note-TYPE funcs - Every gnosis-add-note-TYPE must receive `deck` as arg - gnosis-add-note implements recursion, with deck & type as optional arguments. This is done to simplify the logic & improve UI
2024-04-20[Fix] Add delete functionsThanos Apollo
- Previous implementation would break the generation of ids after deleting a note - Using gnosis-generate-id fixed the previous issue these functions had
2024-04-20Add gnosis-generate-idThanos Apollo
- Generate a unique note id
2024-04-17[Fix] gnosis-dashboard: Unset RET for notesThanos Apollo
2024-04-17[Fix] Rewrite selection of notes of tagThanos Apollo
- Use gnosis-tag-prompt to select tags - Implement 'due' logic on gnosis-select-by-tag
2024-04-17[Feature] gnosis-dashboard: View notes of deckThanos Apollo
- From gnosis-dashboard of decks, press RET to view all notes of deck
2024-04-17[fix] gnosis-dashboard: Fix deprecated suspend useThanos Apollo
- Use gnosis-dashboard-note-ids
2024-04-16gnosis-search-note: Adjust for queries with multiple wordsThanos Apollo
2024-04-16gnosis-dashboard: StyleThanos Apollo
- Adjust for notes with "\n" - Use format, prin1-to-string displays notes quotes ("") - Remove display-line-numbers-mode, this should be configured by the user.
2024-04-16[Feature] gnosis-dashboard: Search for noteThanos Apollo
- Query database for note & display notes that match query on dashboard
2024-04-16Add gnosis-seach-noteThanos Apollo
2024-04-11version bump: 0.2.2Thanos Apollo
2024-04-11dashboard: Adjust for output bufferThanos Apollo
- gnosis-dashboard-output-decks & notes functions are the ones that should pop to a new buffer. - gnosis-dashboard should only handle note-id collection
2024-04-11Add gnosis-review-overrideThanos Apollo
Reverses the result of review
2024-04-11gnosis-display-next-review: Adjust for overridesThanos Apollo
2024-04-10review: All review functions return success valueThanos Apollo
- Review functions return a boolean value for success. This way it can be overriden.
2024-04-10gnosis-display-next-review: Get value using gnosis-algorithmThanos Apollo
Since we will be displaying next date before we use gnosis-review--update, we will have to calculate the next date before we update note value in db.
2024-04-10[Feature] Add overrideThanos Apollo
- Override review result - gnosis-review--update will be used only on gnosis-review--sesion. - gnosis-review-TYPE functions should return t or nil, for success or failure of review.
2024-04-10[fix] gnosis-display-image: Adjust for empty stringsThanos Apollo
2024-04-03dashboard: Refactor user interactionThanos Apollo
- Use lowercase - Prompt for gnosis-dashboard-type before switching to buffer
2024-04-02gnosis-edit-note: Update docstringThanos Apollo
2024-04-02gnosis-dashboard-output-note: styleThanos Apollo
2024-04-02gnosis-edit-note: Return to gnosis-dashboard-note-idsThanos Apollo
2024-04-02gnosis-tag-prompt: Use error for "No due notes"Thanos Apollo
2024-04-02gnosis-review: Use gnosis-collect-note-idsThanos Apollo
2024-04-02gnosis-dashboard: Add note-ids argumentThanos Apollo
2024-04-02gnosis-dashboard-edit-note: Add dashboard as argThanos Apollo
Specify as arg dashboard to return to after editing.
2024-04-02Add gnosis-dashboard-note-idsThanos Apollo
Store value of note-ids for dashboard on a global variable.
2024-04-02gnosis-dashboard-output-notes: Adjust with note-ids as argThanos Apollo
- =note-ids= is now an arg - Store =note-ids= on =gnosis-dashboard-note-ids= - Update local keybindings (needs rework)
2024-04-02Add gnosis-collect-note-idsThanos Apollo
A command to simplify collecting note-ids
2024-04-02Add gnosis-get-deck-notesThanos Apollo
- Add gnosis-get-deck-notes - Replace old functions with gnosis-get-deck-notes
2024-04-02gnosis-select-by-tag: Use cl-assertThanos Apollo
2024-04-02Update depecreated use of gnosis-tag-promptThanos Apollo
Fix keywords used
2024-04-02gnosis-edit-note: Add dashboard as argThanos Apollo
Specify dashboard to return to, by default notes.
2024-04-02gnosis-tag-prompt: RewriteThanos Apollo
Since we are not using gnosis-tag-prompt to input tags for notes, this was due for a rewrite. This function will be used to select tags, which could be used to output a note-id collection for specified tags.
2024-04-02gnosis-cloze-replace-words: Do not use regexp for wordThanos Apollo
2024-03-14Add gnosis-modeline-modeThanos Apollo
Minor mode to display total due notes on modeline.
2024-03-10gnosis--get-deck-name: Improve error messageThanos Apollo
Make it easier for users to understand what is going when they create their first note.
2024-03-10[fix] gnosis-cloze-replace-words: Fix string matchingThanos Apollo
Fix string matching to only match whole words
2024-03-10[fix] gnosis-review-cloze: Fix multiple clozes revealThanos Apollo
Previous implementation would reveal clozes in the wrong order when using > 3 clozes.
2024-03-10Version bump: 0.2.1Thanos Apollo
- Make gnosis compatible with older emacs versions
2024-03-10Use gnosis-string-edit.elThanos Apollo
- Add gnosis-read-string-from-buffer - Make gnosis available to older versions of emacs
2024-03-08[fix] gnosis-edit-update-note: Add assert for suspendThanos Apollo
Make sure that suspend value is either 0 or 1
2024-03-08gnosis-mcq-display-choices: Default to nilThanos Apollo