this repo has no description
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix weird search

rimar1337 22ccfe59 7ba87718

+40 -4
+28
package-lock.json
··· 13 13 "@radix-ui/react-select": "^2.2.5", 14 14 "@tailwindcss/vite": "^4.1.11", 15 15 "@tanstack/react-query": "^5.84.1", 16 + "@tanstack/react-query-devtools": "^5.84.1", 16 17 "@tanstack/react-router": "^1.130.2", 17 18 "@tanstack/react-router-devtools": "^1.130.2", 18 19 "@tanstack/router-plugin": "^1.121.2", ··· 2342 2343 "url": "https://github.com/sponsors/tannerlinsley" 2343 2344 } 2344 2345 }, 2346 + "node_modules/@tanstack/query-devtools": { 2347 + "version": "5.84.0", 2348 + "resolved": "https://registry.npmjs.org/@tanstack/query-devtools/-/query-devtools-5.84.0.tgz", 2349 + "integrity": "sha512-fbF3n+z1rqhvd9EoGp5knHkv3p5B2Zml1yNRjh7sNXklngYI5RVIWUrUjZ1RIcEoscarUb0+bOvIs5x9dwzOXQ==", 2350 + "license": "MIT", 2351 + "funding": { 2352 + "type": "github", 2353 + "url": "https://github.com/sponsors/tannerlinsley" 2354 + } 2355 + }, 2345 2356 "node_modules/@tanstack/react-query": { 2346 2357 "version": "5.84.1", 2347 2358 "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.84.1.tgz", ··· 2355 2366 "url": "https://github.com/sponsors/tannerlinsley" 2356 2367 }, 2357 2368 "peerDependencies": { 2369 + "react": "^18 || ^19" 2370 + } 2371 + }, 2372 + "node_modules/@tanstack/react-query-devtools": { 2373 + "version": "5.84.1", 2374 + "resolved": "https://registry.npmjs.org/@tanstack/react-query-devtools/-/react-query-devtools-5.84.1.tgz", 2375 + "integrity": "sha512-nle+OQ9B3Z3EG2R3ixvaNcJ6OeqGwmAc5iMDW6Vj+emLZkWRrN3BDsrzZQu414n34lpxplnC7z1jmKuU/scHCQ==", 2376 + "license": "MIT", 2377 + "dependencies": { 2378 + "@tanstack/query-devtools": "5.84.0" 2379 + }, 2380 + "funding": { 2381 + "type": "github", 2382 + "url": "https://github.com/sponsors/tannerlinsley" 2383 + }, 2384 + "peerDependencies": { 2385 + "@tanstack/react-query": "^5.84.1", 2358 2386 "react": "^18 || ^19" 2359 2387 } 2360 2388 },
+1
package.json
··· 17 17 "@radix-ui/react-select": "^2.2.5", 18 18 "@tailwindcss/vite": "^4.1.11", 19 19 "@tanstack/react-query": "^5.84.1", 20 + "@tanstack/react-query-devtools": "^5.84.1", 20 21 "@tanstack/react-router": "^1.130.2", 21 22 "@tanstack/react-router-devtools": "^1.130.2", 22 23 "@tanstack/router-plugin": "^1.121.2",
+3 -1
src/routes/__root.tsx
··· 6 6 createRootRouteWithContext, 7 7 } from "@tanstack/react-router"; 8 8 import { TanStackRouterDevtools } from "@tanstack/react-router-devtools"; 9 - 9 + import { ReactQueryDevtools } from '@tanstack/react-query-devtools' 10 + 10 11 export const Route = createRootRouteWithContext<{ 11 12 queryClient: QueryClient; 12 13 }>()({ ··· 15 16 <Header /> 16 17 <Outlet /> 17 18 <TanStackRouterDevtools /> 19 + <ReactQueryDevtools /> 18 20 </> 19 21 ), 20 22 });
+1
src/routes/f/$forumHandle.tsx
··· 123 123 </div> 124 124 </div> 125 125 </div> 126 + <Outlet /> 126 127 </> 127 128 ); 128 129 }
+7 -3
src/routes/search.tsx
··· 73 73 const [forumHandle, setForumHandle] = useState<string | undefined>(undefined); 74 74 const { get, set } = usePersistentStore(); 75 75 76 + const thing = post["forum"]// || new AtUripost["root"] 77 + const trimmed = thing.startsWith("@") ? thing.slice(1) : thing 78 + 79 + 76 80 const rootUri = useMemo(() => post.root || post["$metadata.uri"], [post]); 77 81 const postUri = post["$metadata.uri"]; 78 82 ··· 85 89 let isCancelled = false; 86 90 const buildLink = async () => { 87 91 try { 88 - const rootAtUri = new AtUri(rootUri); 92 + //const forumAtUri = new AtUri(forumdid); 89 93 const authorIdentity = await cachedResolveIdentity({ 90 - didOrHandle: rootAtUri.hostname, 94 + didOrHandle: trimmed, 91 95 get, 92 96 set, 93 97 }); ··· 135 139 params={{ forumHandle: post.forum }} 136 140 className="font-semibold text-blue-300 hover:underline" 137 141 > 138 - /f/{forumHandle || post.root} 142 + /f/{forumHandle} 139 143 </Link> 140 144 </span> 141 145 {threadLink ? (