diff --git a/ui/noogle/package.json b/ui/noogle/package.json
index 7760362..6800f29 100644
--- a/ui/noogle/package.json
+++ b/ui/noogle/package.json
@@ -10,6 +10,7 @@
},
"dependencies": {
"@rust-nostr/nostr-sdk": "^0.10.0",
+ "@vueuse/core": "^10.7.2",
"bootstrap": "^5.3.2",
"daisyui": "^4.6.0",
"mini-toastr": "^0.8.1",
diff --git a/ui/noogle/src/components/AutoComplete.vue b/ui/noogle/src/components/AutoComplete.vue
deleted file mode 100644
index 451b87a..0000000
--- a/ui/noogle/src/components/AutoComplete.vue
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
-
-
-
-
-
- -
- Showing {{ searchCountries.length }} of {{ countries.length }} results
-
- -
- {{ country.name }}
-
-
-
-
- You have selected: {{ selectedCountry }}
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ui/noogle/src/components/ImageGeneration.vue b/ui/noogle/src/components/ImageGeneration.vue
index ab37eb7..bfc8833 100644
--- a/ui/noogle/src/components/ImageGeneration.vue
+++ b/ui/noogle/src/components/ImageGeneration.vue
@@ -1,8 +1,6 @@
@@ -299,8 +327,17 @@ defineProps({
+
+
+ Share your creation on Nostr
+
+
+
+
+
+
@@ -337,8 +374,22 @@ defineProps({
-
+
+
diff --git a/ui/noogle/src/components/Newnote.vue b/ui/noogle/src/components/Newnote.vue
new file mode 100644
index 0000000..490d949
--- /dev/null
+++ b/ui/noogle/src/components/Newnote.vue
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+ default content
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/noogle/src/components/Nip07.vue b/ui/noogle/src/components/Nip07.vue
index 01092a7..88dafb6 100644
--- a/ui/noogle/src/components/Nip07.vue
+++ b/ui/noogle/src/components/Nip07.vue
@@ -30,7 +30,7 @@ import {
Filter,
initLogger,
LogLevel,
- Timestamp, Keys, NostrDatabase, ClientBuilder, ClientZapper, Alphabet, SingleLetterTag
+ Timestamp, Keys, NostrDatabase, ClientBuilder, ClientZapper, Alphabet, SingleLetterTag, Options, Duration
} from "@rust-nostr/nostr-sdk";
import VueNotifications from "vue-notifications";
import store from '../store';
@@ -77,7 +77,8 @@ export default {
let keys = Keys.fromSkStr("ece3c0aa759c3e895ecb3c13ab3813c0f98430c6d4bd22160b9c2219efc9cf0e")
this.signer = ClientSigner.keys(keys) //TODO store keys
- let client = new ClientBuilder().signer(this.signer).build()
+ let opts = new Options().waitForSend(false).connectionTimeout(Duration.fromSecs(5));
+ let client = new ClientBuilder().signer(this.signer).opts(opts).build()
for (const relay of store.state.relays){
await client.addRelay(relay);
@@ -133,7 +134,9 @@ export default {
}
//let zapper = ClientZapper.webln()
- let client = new ClientBuilder().signer(this.signer).build();
+ let opts = new Options().waitForSend(false).connectionTimeout(Duration.fromSecs(5));
+ let client = new ClientBuilder().signer(this.signer).opts(opts).build()
+
for (const relay of store.state.relays){
await client.addRelay(relay);
diff --git a/ui/noogle/src/store.js b/ui/noogle/src/store.js
index 8179b47..38d585f 100644
--- a/ui/noogle/src/store.js
+++ b/ui/noogle/src/store.js
@@ -16,13 +16,12 @@ const store = createStore({
nip89dvms: [],
activesearchdvms: [],
results: [],
- relays: [
- //"wss://relay.damus.io",
+ relays: ["wss://relay.damus.io",
"wss://nos.lol",
"wss://pablof7z.nostr1.com",
"wss://relay.nostr.net",
"wss://relay.nostr.band",
- //"wss://nostr-pub.wellorder.net",
+ "wss://nostr-pub.wellorder.net",
],
}
},