atproto explorer
0
fork

Configure Feed

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

/at/ -> /at://

Juliet d91ad60f 20c8ff6f

+18 -18
+1 -1
src/components/create.tsx
··· 63 63 return; 64 64 } 65 65 setOpenCreate(false); 66 - throw redirect(res.data.uri.replace("at://", "/at/")); 66 + throw redirect(`/${res.data.uri}`); 67 67 }); 68 68 69 69 createEffect(() => {
+2 -2
src/components/json.tsx
··· 26 26 {(part) => ( 27 27 <> 28 28 {part.startsWith("at://") && part.split(" ").length === 1 ? 29 - <A class="underline" href={part.replace("at://", "/at/")}> 29 + <A class="underline" href={`/${part}`}> 30 30 {part} 31 31 </A> 32 32 : ( ··· 34 34 part.split(" ").length === 1 && 35 35 part.split(":").length === 3 36 36 ) ? 37 - <A class="underline" href={`/at/${part}`}> 37 + <A class="underline" href={`/at://${part}`}> 38 38 {part} 39 39 </A> 40 40 : (
+4 -4
src/components/navbar.tsx
··· 99 99 </Tooltip> 100 100 <A 101 101 end 102 - href={`at/${props.params.repo}`} 102 + href={`/at://${props.params.repo}`} 103 103 inactiveClass="text-lightblue-500 w-full hover:underline" 104 104 > 105 105 {props.params.repo} ··· 112 112 </Tooltip> 113 113 <A 114 114 end 115 - href={`at/${props.params.repo}/blobs`} 115 + href={`/at://${props.params.repo}/blobs`} 116 116 inactiveClass="text-lightblue-500 w-full hover:underline" 117 117 > 118 118 blobs ··· 132 132 </Tooltip> 133 133 <A 134 134 end 135 - href={`at/${props.params.repo}/labels`} 135 + href={`/at://${props.params.repo}/labels`} 136 136 inactiveClass="text-lightblue-500 w-full hover:underline" 137 137 > 138 138 labels ··· 148 148 </Tooltip> 149 149 <A 150 150 end 151 - href={`at/${props.params.repo}/${props.params.collection}`} 151 + href={`/at://${props.params.repo}/${props.params.collection}`} 152 152 inactiveClass="text-lightblue-500 w-full hover:underline" 153 153 > 154 154 {props.params.collection}
+2 -2
src/components/search.tsx
··· 31 31 throw redirect(`/${actor}`); 32 32 } 33 33 throw redirect( 34 - `/at/${did}${uriParts.length > 1 ? `/${uriParts.slice(1).join("/")}` : ""}`, 34 + `/at://${did}${uriParts.length > 1 ? `/${uriParts.slice(1).join("/")}` : ""}`, 35 35 ); 36 36 }); 37 37 ··· 69 69 <Tooltip 70 70 text="Repository" 71 71 children={ 72 - <A href={`/at/${agent.sub}`} class="flex items-center"> 72 + <A href={`/at://${agent.sub}`} class="flex items-center"> 73 73 <button class="i-tabler-binary-tree text-xl" /> 74 74 </A> 75 75 }
+2 -2
src/layout.tsx
··· 23 23 navigator.registerProtocolHandler("web+at", "/%s"); 24 24 const pathname = decodeURIComponent(useLocation().pathname); 25 25 if (pathname.startsWith("/web+at://")) { 26 - window.location.href = pathname.replace("web+at://", "at/"); 26 + window.location.href = pathname.replace("web+at://", "at://"); 27 27 } 28 28 } catch (err) { 29 29 console.error(err); ··· 37 37 } 38 38 await retrieveSession(); 39 39 if (loginState() && location.pathname === "/") 40 - window.location.href = `/at/${agent.sub}`; 40 + window.location.href = `/at://${agent.sub}`; 41 41 }); 42 42 43 43 return (
+1 -1
src/views/collection.tsx
··· 358 358 </label> 359 359 </Show> 360 360 <Show when={!batchDelete()}> 361 - <A href={`${record.rkey}`}> 361 + <A href={`/at://${did}/${params.collection}/${record.rkey}`}> 362 362 <RecordLink record={record} index={index()} /> 363 363 </A> 364 364 </Show>
+2 -2
src/views/home.tsx
··· 63 63 optional, DID or handle alone also works): 64 64 <div> 65 65 <A 66 - href="/at/did:plc:oisofpd7lj26yvgiivf3lxsi/app.bsky.feed.post/3l2zpbbhuvw2h" 66 + href="/at://did:plc:oisofpd7lj26yvgiivf3lxsi/app.bsky.feed.post/3l2zpbbhuvw2h" 67 67 class="text-lightblue-500 hover:underline" 68 68 > 69 69 at://did:plc:oisofpd7lj26yvgiivf3lxsi/app.bsky.feed.post/3l2zpbbhuvw2h ··· 75 75 and profiles): 76 76 <div> 77 77 <A 78 - href="/at/did:plc:vwzwgnygau7ed7b7wt5ux7y2/app.bsky.feed.post/3khpasmu4ou2l" 78 + href="/at://did:plc:vwzwgnygau7ed7b7wt5ux7y2/app.bsky.feed.post/3khpasmu4ou2l" 79 79 class="text-lightblue-500 hover:underline" 80 80 > 81 81 https://bsky.app/profile/retr0.id/post/3khpasmu4ou2l
+1 -1
src/views/labels.tsx
··· 142 142 URI 143 143 </div> 144 144 <A 145 - href={`/at/${label.uri.replace("at://", "")}`} 145 + href={`/at://${label.uri.replace("at://", "")}`} 146 146 target="_blank" 147 147 class="underline" 148 148 >
+1 -1
src/views/pds.tsx
··· 56 56 <For each={repos()}> 57 57 {(repo) => ( 58 58 <A 59 - href={`/at/${repo.did}`} 59 + href={`/at://${repo.did}`} 60 60 classList={{ 61 61 "w-full flex font-mono relative": true, 62 62 "text-lightblue-500": repo.active,
+1 -1
src/views/record.tsx
··· 134 134 rkey: params.rkey, 135 135 }, 136 136 }); 137 - throw redirect(`/at/${params.repo}/${params.collection}`); 137 + throw redirect(`/at://${params.repo}/${params.collection}`); 138 138 }); 139 139 140 140 createEffect(() => {
+1 -1
src/views/repo.tsx
··· 37 37 <For each={repo()?.collections}> 38 38 {(collection) => ( 39 39 <A 40 - href={`${collection}`} 40 + href={`/at://${did}/${collection}`} 41 41 class="text-lightblue-500 break-anywhere w-full hover:underline" 42 42 > 43 43 {collection}