-
{
- if (e.key === "Enter") handleEnter();
- }}
- onChange={(e) => setValue(e.target.value)}
- />
- {tagTree && tagTree.map((tag) =>
)}
+
+
+
+
+
setValue(e.target.value)}
+ onKeyDown={handleKey}
+ placeholder={"Type here…"}
+ className={`text-xs z-30
+ bg-transparent px-1.5
+ focus:outline-none focus:ring-0
+ transition-all duration-200 ease-out
+ ${expanded ? "w-32 opacity-100" : "w-0 opacity-0 pointer-events-none"}
+ `}
+ />
+
+
+
+ {tagTree &&
+ tagTree
+ .filter((tag) =>
+ value == "" ? false : (tag.name + tag.parentPath).includes(value),
+ )
+ .map((tag) => )}
+
);
};
@@ -230,7 +309,10 @@ export const TagTree = ({
const [collapse, setCollapse] = useState(false);
return (
-
+
setCollapse(!collapse)}>{tag.name}
{collapse && (
diff --git a/frontend/src/pages/Home/components/StatusIndicator.tsx b/frontend/src/pages/Home/components/StatusIndicator.tsx
index ca7dd2b..47f22b9 100644
--- a/frontend/src/pages/Home/components/StatusIndicator.tsx
+++ b/frontend/src/pages/Home/components/StatusIndicator.tsx
@@ -24,14 +24,14 @@ export const StatusIndicator = () => {
) : updating ? (
<>
-
+ {/*
Saving...
-
+ */}
>
) : (
<>
- Saved
+ {/*Saved*/}
>
)}
diff --git a/frontend/src/pages/TipTap.tsx b/frontend/src/pages/TipTap.tsx
index 533d6fa..5125f7a 100644
--- a/frontend/src/pages/TipTap.tsx
+++ b/frontend/src/pages/TipTap.tsx
@@ -79,7 +79,7 @@ export const TiptapEditor = ({
}
return (
-
+
{/* Toolbar */}
{/*
@@ -191,7 +191,7 @@ export const TiptapEditor = ({
{/* Editor content */}
);