an appview-less Bluesky client using Constellation and PDS Queries reddwarf.app
frontend spa bluesky reddwarf microcosm

feed fixes

rimar1337 1751dc48 ca2ab70a

Changed files
+10 -4
src
components
routes
profile.$did
+2 -2
src/components/UniversalPostRenderer.tsx
··· 2206 2206 // </div> 2207 2207 // ) 2208 2208 } else if (!!reallybaduri && !!reallybadaturi && reallybadaturi.collection === "app.bsky.graph.list") { 2209 - return <div className="rounded-xl border"><FeedItemRenderAturiLoader aturi={reallybaduri} disableBottomBorder listmode /></div> 2209 + return <div className="rounded-xl border"><FeedItemRenderAturiLoader aturi={reallybaduri} disableBottomBorder listmode disablePropagation /></div> 2210 2210 } 2211 2211 2212 2212 // starter pack embed ··· 2219 2219 // </div> 2220 2220 // ) 2221 2221 } else if (!!reallybaduri && !!reallybadaturi && reallybadaturi.collection === "app.bsky.graph.starterpack") { 2222 - return <div className="rounded-xl border"><FeedItemRenderAturiLoader aturi={reallybaduri} disableBottomBorder listmode /></div> 2222 + return <div className="rounded-xl border"><FeedItemRenderAturiLoader aturi={reallybaduri} disableBottomBorder listmode disablePropagation /></div> 2223 2223 } 2224 2224 2225 2225 // quote post
+2 -2
src/routes/profile.$did/feed.$rkey.tsx
··· 79 79 feedUri={uri} 80 80 pdsUrl={identity?.pds} 81 81 feedServiceDid={feedServiceDid} 82 - authedOverride={true} 83 - unauthedfeedurl={web} 82 + authedOverride={!authed && true || undefined} 83 + unauthedfeedurl={!authed && web || undefined} 84 84 /> 85 85 ) : ( 86 86 <div className="p-4 text-center text-gray-500">Loading.......</div>
+6
src/routes/profile.$did/index.tsx
··· 408 408 aturi, 409 409 listmode, 410 410 disableBottomBorder, 411 + disablePropagation, 411 412 }: { 412 413 aturi: string; 413 414 listmode?: boolean; 414 415 disableBottomBorder?: boolean; 416 + disablePropagation?: boolean; 415 417 }) { 416 418 const { data: record } = useQueryArbitrary(aturi); 417 419 ··· 421 423 listmode={listmode} 422 424 feed={record} 423 425 disableBottomBorder={disableBottomBorder} 426 + disablePropagation={disablePropagation} 424 427 /> 425 428 ); 426 429 } ··· 429 432 feed, 430 433 listmode, 431 434 disableBottomBorder, 435 + disablePropagation, 432 436 }: { 433 437 feed: { uri: string; cid: string; value: any }; 434 438 listmode?: boolean; 435 439 disableBottomBorder?: boolean; 440 + disablePropagation?: boolean; 436 441 }) { 437 442 const name = listmode 438 443 ? (feed.value?.name as string) ··· 465 470 className={`px-4 py-4 ${!disableBottomBorder && "border-b"} flex flex-col gap-1`} 466 471 to="/profile/$did/feed/$rkey" 467 472 params={{ did: aturi.host, rkey: aturi.rkey }} 473 + onClick={(e)=>{e.stopPropagation();}} 468 474 > 469 475 <div className="flex flex-row gap-3"> 470 476 <div className="min-w-10 min-h-10">