-
+
+
+ Select the folder where your screenshots are stored. We'll watch
+ this folder for any changes and process any new screenshots.
+
+
+
- {selectedPath() && (
-
-
Selected folder:
-
{selectedPath()}
-
- )}
+ {selectedPath() && (
+
+ )}
+
);
}
diff --git a/frontend/src/components/item-modal/ItemModal.tsx b/frontend/src/components/item-modal/ItemModal.tsx
new file mode 100644
index 0000000..18215ed
--- /dev/null
+++ b/frontend/src/components/item-modal/ItemModal.tsx
@@ -0,0 +1,7 @@
+export const ItemModal = () => {
+ return (
+
+ ItemModal
+
+ );
+};
diff --git a/frontend/src/components/shortcuts/ShortcutItem.tsx b/frontend/src/components/shortcuts/ShortcutItem.tsx
index 2fc4a30..ce7df54 100644
--- a/frontend/src/components/shortcuts/ShortcutItem.tsx
+++ b/frontend/src/components/shortcuts/ShortcutItem.tsx
@@ -18,7 +18,7 @@ export const ShortcutItem: Component
= (props) => {
return (
{(key) => (
-
+
{formatKey(key)}
)}
@@ -27,15 +27,15 @@ export const ShortcutItem: Component = (props) => {
};
return (
-
+
{props.isEditing ? (
<>
-
+
{props.currentKeys.length > 0 ? (
renderKeys(props.currentKeys)
) : (
-
+
Press keys...
)}
@@ -45,14 +45,14 @@ export const ShortcutItem: Component = (props) => {
type="button"
onClick={props.onSave}
disabled={props.currentKeys.length < 2}
- class="px-3 py-1 text-sm rounded bg-blue-500 text-white hover:bg-blue-600 disabled:opacity-50 disabled:cursor-not-allowed"
+ class="px-3 py-1 text-sm rounded bg-neutral-900 text-white"
>
Save
@@ -66,7 +66,7 @@ export const ShortcutItem: Component = (props) => {
diff --git a/frontend/src/components/shortcuts/Shortcuts.tsx b/frontend/src/components/shortcuts/Shortcuts.tsx
index 5098b06..7a7f3a3 100644
--- a/frontend/src/components/shortcuts/Shortcuts.tsx
+++ b/frontend/src/components/shortcuts/Shortcuts.tsx
@@ -58,13 +58,20 @@ export const Shortcuts = () => {
};
return (
-
+
+
+ Set up a to quickly open Haystack search. This shortcut also
+ reloads items when updates happen (we should definetely fix
+ that)
+
+
+
);
};