diff --git a/src/providers/PollMutationQueueProvider.tsx b/src/providers/PollMutationQueueProvider.tsx
index 26e0722..d6dc904 100644
--- a/src/providers/PollMutationQueueProvider.tsx
+++ b/src/providers/PollMutationQueueProvider.tsx
@@ -295,47 +295,51 @@ export function usePollMutationQueue() {
return context;
}
-function usePollSelfVotes(pollUri: string) {
+function usePollSelfVotes(pollUri: string, enabled?: boolean) {
const { agent } = useAuth();
const agentDid = agent?.did;
const { uris: userVotesA } = useGetOneToOneState(
- agentDid
+ agentDid && enabled
? {
target: pollUri,
user: agentDid,
collection: "app.reddwarf.poll.vote.a",
path: ".subject.uri",
+ enabled: enabled
}
: undefined,
);
const { uris: userVotesB } = useGetOneToOneState(
- agentDid
+ agentDid && enabled
? {
target: pollUri,
user: agentDid,
collection: "app.reddwarf.poll.vote.b",
path: ".subject.uri",
+ enabled: enabled
}
: undefined,
);
const { uris: userVotesC } = useGetOneToOneState(
- agentDid
+ agentDid && enabled
? {
target: pollUri,
user: agentDid,
collection: "app.reddwarf.poll.vote.c",
path: ".subject.uri",
+ enabled: enabled
}
: undefined,
);
const { uris: userVotesD } = useGetOneToOneState(
- agentDid
+ agentDid && enabled
? {
target: pollUri,
user: agentDid,
collection: "app.reddwarf.poll.vote.d",
path: ".subject.uri",
+ enabled: enabled
}
: undefined,
);
@@ -361,7 +365,7 @@ export function usePollData(
const myDid = agent?.did;
const { castVoteRaw, getLocalVotes } = usePollMutationQueue();
- const serverUserVotes = usePollSelfVotes(pollUri); // Our own votes from server
+ const serverUserVotes = usePollSelfVotes(pollUri, enabled); // Our own votes from server
const localVotes = getLocalVotes(pollUri); // Pending local actions
// 1. FETCHING - Move the logic here
diff --git a/src/routes/about.tsx b/src/routes/about.tsx
index 6cea2de..e88e5b6 100644
--- a/src/routes/about.tsx
+++ b/src/routes/about.tsx
@@ -1,4 +1,5 @@
import { createFileRoute } from '@tanstack/react-router'
+import React from 'react';
import { FORCED_LABELER_DIDS, HOST_ABOUT_MARKDOWN, HOST_ADMIN, HOST_DESCRIPTION, HOST_HERO, HOST_LABELMERGE, HOST_SIGNUP_PDS } from '~/../policy';
import { Header } from '~/components/Header';
@@ -173,7 +174,7 @@ function PolicyRenderer(){
// endorsed feeds (should be shown in the explore tab too in lieu of feed discovery)
// - [ ] HOST_UNAUTHED_DEFAULT_FEEDS
// endorsed PDS
- // - [ ] HOST_SIGNUP_PDS
+ // - [x] HOST_SIGNUP_PDS
// todo move the other default services into policy.ts
// todo re- sort policy.ts according to this component
// also the default services used like microcosm stuff and lycan and maybe the reliance of an appview for search or some other hting
@@ -181,7 +182,7 @@ function PolicyRenderer(){
// default general host moderation policies
// todo: layerd moderataion later pls thanks
// show the labelmerge insstance responsible
- // - [ ] HOST_LABELMERGE
+ // - [x] HOST_LABELMERGE
// show both the whitelisted source and labeler dids in the same spot.
// like on hover / click it opens a dialog / popover to show what authority the labeler has
// - [x] FORCED_LABELER_DIDS
@@ -197,32 +198,49 @@ function PolicyRenderer(){
return (
<>
{/* settings heading or about heading? */}
+