summaryrefslogtreecommitdiff
path: root/gnosis.el
AgeCommit message (Collapse)Author
2024-05-10Version bump: 0.2.4Thanos Apollo
2024-05-10Update copyrightsThanos Apollo
2024-05-10gnosis-review-session: Use catch-throwThanos Apollo
- Rename to gnosis-review-session - Use catch-throw to break out of the cl-loop
2024-05-09[Refactor] Add gnosis-review-actionsThanos Apollo
Seperate actions to take during review of gnosis note. Use recursion to be able to do more than one action, e.g edit & then override note.
2024-05-09Remove gnosis-review-overrideThanos Apollo
This should be done more elegantly within a gnosis-review-actions without a y-or-n prompt
2024-05-07Merge branch 'master' into 0.2.4-devThanos Apollo
2024-05-07[Fix] review: Update note upon session quitThanos Apollo
Previous implementation would not update note value for success upon review
2024-05-01gnosis-display: Use fill-paragraph as optional argThanos Apollo
2024-05-01Start 0.2.4-devThanos Apollo
2024-05-01Version bump: 0.2.3Thanos Apollo
2024-05-01gnosis-review--session: Update value of total review notesThanos Apollo
Update value of gnosis-due-notes-total during review session This way user was a count of total due notes during review.
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