diff --git a/nostr-followback/README.md b/nostr-followback/README.md index 5015273..0404dde 100644 --- a/nostr-followback/README.md +++ b/nostr-followback/README.md @@ -6,7 +6,6 @@ Let promote some reciprocity here! 😹 ## ToDo - Create groups to checks to fire simultaneously instad of one by one (to remember: fireing all the `fetchProfile` at once for a given npub resulted in a permanent halt of the process -mainly for big users). Maybe using https://lodash.com/docs `_.chunk(array, [size=1])` -- Polish the proof-of-concept code, making it TS code and remove `// @ts-nocheck`! - Create interfaces or new types instead of loose variables - Save followbackers and not followbackers in lists to see details. - Create an UI/UX that's worth looking at. diff --git a/nostr-followback/src/App.svelte b/nostr-followback/src/App.svelte index 4b16857..093911b 100644 --- a/nostr-followback/src/App.svelte +++ b/nostr-followback/src/App.svelte @@ -1,12 +1,13 @@ -
- - { - querying = true; - userProfile = null; - originalFollow = []; - notFollowersBack = []; - followBackCount = 0; - notFollowBackCount = 0; - unknownFollowBack = 0; - totalCountOfContactsChecked = 0; - await checkFollowBacks(); - }} - disabled={!npubToQuery && progress < 100} - value="Analyze" - /> -
+
{ + querying = "uninitiated"; + userProfile = null; + originalFollow = []; + notFollowersBack = []; + followBackCount = 0; + notFollowBackCount = 0; + unknownFollowBack = 0; + totalCountOfContactsChecked = 0; + await checkFollowBacks(); + }} +/> {#if userProfile}
@@ -154,7 +147,7 @@