From 62888e9e8f3a343b6826b809cbd3d1e5edc112b1 Mon Sep 17 00:00:00 2001
From: omagdy7 <omar.professional8777@gmail.com>
Date: Wed, 29 Nov 2023 20:45:30 +0200
Subject: Added some refinments and quality of life changes

---
 src/App.tsx | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

(limited to 'src/App.tsx')

diff --git a/src/App.tsx b/src/App.tsx
index b902629..6ab84a8 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,11 +1,13 @@
 import React, { useEffect, useRef, useState } from "react";
 import { OllamaCommandPallete } from "./components/OllamaCommandPallete";
-import {  convertToFlashCardFromEvent, 
-          DivideTaskIntoSubTasksFromEvent, 
-          ollamaUI, 
-          summarizeBlockFromEvent, 
-          promptFromBlockEvent,
-          expandBlockEvent } from "./ollama";
+import {
+  convertToFlashCardFromEvent,
+  DivideTaskIntoSubTasksFromEvent,
+  ollamaUI,
+  summarizeBlockFromEvent,
+  promptFromBlockEvent,
+  expandBlockEvent
+} from "./ollama";
 import { useAppVisible } from "./utils";
 
 const options = [
@@ -45,9 +47,9 @@ function App() {
       return
     }
     logseq.Editor.registerSlashCommand("ollama", ollamaUI)
-    logseq.Editor.registerBlockContextMenuItem("Create a flash card", convertToFlashCardFromEvent)
-    logseq.Editor.registerBlockContextMenuItem("Summarize block", summarizeBlockFromEvent)
-    logseq.Editor.registerBlockContextMenuItem("Divide into subtasks", DivideTaskIntoSubTasksFromEvent)
+    logseq.Editor.registerBlockContextMenuItem("Ollama: Create a flash card", convertToFlashCardFromEvent)
+    logseq.Editor.registerBlockContextMenuItem("Ollama: Summarize block", summarizeBlockFromEvent)
+    logseq.Editor.registerBlockContextMenuItem("Ollama: Divide into subtasks", DivideTaskIntoSubTasksFromEvent)
     logseq.Editor.registerBlockContextMenuItem("Ollama: Prompt from Block", promptFromBlockEvent)
     logseq.Editor.registerBlockContextMenuItem("Ollama: Expand Block", expandBlockEvent)
     logseq.App.registerCommandShortcut(
-- 
cgit v1.2.3

