From 8fa372a85a7afb9005f5fbb9b15dc54020948088 Mon Sep 17 00:00:00 2001 From: Benjamin Keating Date: Sun, 16 Jul 2023 14:14:31 -0500 Subject: [PATCH] save point --- .gitignore | 1 + dist/index.html | 43 ++++++++------ index.html | 9 ++- package.json | 2 +- src/App.svelte | 2 +- src/lib/IconSearch.svelte | 4 +- src/lib/IconSettings.svelte | 17 +++--- src/lib/IconXcircle.svelte | 4 +- src/lib/NoteDetail.svelte | 21 ++++--- src/lib/NoteList.svelte | 41 ++++++------- src/lib/OmniBar.svelte | 115 +++++++++++++++++------------------- src/lib/ResizeHandle.svelte | 26 +++++--- src/lib/style.css | 10 +++- 13 files changed, 164 insertions(+), 131 deletions(-) diff --git a/.gitignore b/.gitignore index 4fa9d14..97aba37 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.DS_Store node_modules +dist diff --git a/dist/index.html b/dist/index.html index 8d886d3..942db3b 100644 --- a/dist/index.html +++ b/dist/index.html @@ -2,15 +2,22 @@ + + + + + + + - + nvAux diff --git a/index.html b/index.html index 83d6591..0e95f38 100644 --- a/index.html +++ b/index.html @@ -2,12 +2,19 @@ + + + + + + + - + nvAux diff --git a/package.json b/package.json index fc71e28..2a02336 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/matterofabstract/nvAux" }, "scripts": { - "dev": "vite", + "dev": "vite --host", "build": "vite build", "preview": "vite preview" }, diff --git a/src/App.svelte b/src/App.svelte index b0b3961..9e07de5 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -5,7 +5,7 @@ import NoteDetail from './lib/NoteDetail.svelte'; -
+
diff --git a/src/lib/IconSearch.svelte b/src/lib/IconSearch.svelte index 2b2c7f1..96ba8b3 100644 --- a/src/lib/IconSearch.svelte +++ b/src/lib/IconSearch.svelte @@ -1,7 +1,7 @@ - - - diff --git a/src/lib/IconXcircle.svelte b/src/lib/IconXcircle.svelte index a1a56aa..796d4ed 100644 --- a/src/lib/IconXcircle.svelte +++ b/src/lib/IconXcircle.svelte @@ -1,7 +1,7 @@ { - addRxPlugin(RxDBUpdatePlugin); - }); + onMount(() => addRxPlugin(RxDBUpdatePlugin)); const handleDebounceSave = debounce(() => !isEmptyObject($selectedNote) && updateNote(), 230); @@ -30,9 +28,14 @@ -
- {#if $selectedNote} -