aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2024-02-10Add a custom prompt configuration field in the plugin settingsgixita1-0/+7
2024-02-10Move the custom prompt trigger on the block commandgixita4-30/+2
2024-02-08feat: Add custom prompt functionality to blockgixita4-1/+33
This commit introduces the capability for users to apply custom prompts defined in the configuration to a block. Key changes include: - A new configuration string to store the custom prompt. - A menu item 'Custom prompt on block'. - Implementation of a function to apply the custom prompt to a block, mirroring the existing 'summarize block' functionality.
2023-12-12Added some polish touches before v1.0.9omagdy72-21/+17
2023-12-10Use a configuration page instead of hard codingDavid Li1-3/+17
the context menu commands.
2023-12-04Abstract out the prompt and block event functionsDavid Li2-51/+42
into a closure so it can be use to create new menu events with different prompt prefix.
2023-12-04Use the ollama properties from the parent blockDavid Li1-4/+15
2023-12-03Merge branch 'master' into ollama-contextDavid Li1-10/+4
2023-12-02Unified error messagesomagdy71-13/+6
2023-12-02Testing out ideas with contextDavid Li1-5/+8
2023-12-02When prompt from block, use the properties to passDavid Li1-2/+62
parameters to configure Ollama, e.g. speficy the models and turn the model parameters per Ollama generate API.
2023-11-29Added some refinments and quality of life changesomagdy72-16/+18
2023-11-29Expanding the content of the block with AIDavid Li2-6/+23
2023-11-29Add Prompt from Block Context Menu Command and putDavid Li2-1/+15
the Ollama response in the subblock.
2023-11-23Remove unused importsomagdy72-3/+2
2023-11-23Applying DRY principle and removing duplicate codeomagdy73-53/+31
2023-11-23Removing unecessary null checks and replacing them with !. in typescriptomagdy71-40/+18
2023-11-23Retain prompt with responseomagdy72-19/+21
2023-11-23Added a little delay between generating the flashcard question and flashcard ↵omagdy71-2/+1
answer
2023-11-23Enhanced flashcard genertationomagdy73-31/+37
2023-11-23Adding a "Summarize Block" commandDavid Li3-1/+24
2023-11-08Fixed some typosomagdy71-3/+3
2023-11-07Added some quality of life changes like hitting esc would hide the ui and ↵omagdy72-0/+18
solved a bug where the UI wouldn't showup after calling summarize and other commands
2023-11-06Removed no-cors modeomagdy71-1/+0
2023-11-06Disabled corsomagdy71-0/+1
2023-11-06Changed toolbar icon nameomagdy71-1/+1
2023-11-05Added all the main features of the plugin and also added setting and made ↵omagdy711-189/+686
the plugin respect themeing
2023-11-03Moved to react instead of vanilla js and added the basic skeleton of the plginomagdy77-0/+427