Porównaj commity

...

2 Commity

Autor SHA1 Wiadomość Data
Gabi Purcaru 606f9cbead
Honour discoverability flag (#22) 2022-12-29 17:48:52 +00:00
Gabi Purcaru 313eb3b87b
added FAQ item for CSV export (#21) 2022-12-29 17:32:42 +00:00
2 zmienionych plików z 8 dodań i 4 usunięć

Wyświetl plik

@ -11,6 +11,7 @@ type AccountDetails = {
id: string
acct: string
followed_by: Set<string> // list of handles
discoverable: boolean
}
async function usernameToId(
@ -68,10 +69,8 @@ async function accountFollows(
throw new Error('HTTP request failed')
}
page = await response.json()
console.log(response.statusText)
} catch (e) {
logError(`Error while retrieving followers for ${handle}.`)
console.log('eeeee', e)
break
}
if (!page.map) {
@ -114,8 +113,8 @@ async function accountFofs(
indirectFollows
.filter(
// exclude direct follows
({ acct }) => !directFollowIds.has(acct)
// exclude direct follows and accounts who choose not to be discovered
({ acct, discoverable }) => !directFollowIds.has(acct) && discoverable
)
.map((account) => {
const acct = account.acct

Wyświetl plik

@ -69,6 +69,11 @@ export function FAQ({}) {
Well, maybe it should be. In the meantime, you can use this
website.
</FAQItem>
<FAQItem title="Can I download the list of accounts as CSV?">
While it would be a useful feature, Followgraph does <em>not</em> plan to offer this functionality
as it would facilitate inorganic and potentially malicious behaviour.
</FAQItem>
</div>
</div>
</div>