tangled
alpha
login
or
join now
ansxor.ca
/
pdsls
forked from
pds.ls/pdsls
0
fork
atom
atmosphere explorer
0
fork
atom
overview
issues
pulls
pipelines
inline load more in blob and pds page
handle.invalid
1 month ago
da2558b2
394f1f4b
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+3
-5
2 changed files
expand all
collapse all
unified
split
src
views
blob.tsx
pds.tsx
+2
-4
src/views/blob.tsx
···
4
5
const LIMIT = 1000;
6
7
-
const BlobView = (props: { pds: string; repo: string }) => {
8
const [cursor, setCursor] = createSignal<string>();
9
let rpc: Client;
10
···
46
</div>
47
</Show>
48
<div class="dark:bg-dark-500 fixed bottom-0 z-5 flex w-screen justify-center bg-neutral-100 pt-2 pb-4">
49
-
<div class="flex flex-col items-center gap-1 pb-2">
50
<p>
51
{blobs()?.length} blob{(blobs()?.length ?? 0 > 1) ? "s" : ""}
52
</p>
···
69
</div>
70
);
71
};
72
-
73
-
export { BlobView };
···
4
5
const LIMIT = 1000;
6
7
+
export const BlobView = (props: { pds: string; repo: string }) => {
8
const [cursor, setCursor] = createSignal<string>();
9
let rpc: Client;
10
···
46
</div>
47
</Show>
48
<div class="dark:bg-dark-500 fixed bottom-0 z-5 flex w-screen justify-center bg-neutral-100 pt-2 pb-4">
49
+
<div class="flex min-w-50 items-center justify-around gap-3 pb-2">
50
<p>
51
{blobs()?.length} blob{(blobs()?.length ?? 0 > 1) ? "s" : ""}
52
</p>
···
69
</div>
70
);
71
};
0
0
+1
-1
src/views/pds.tsx
···
206
</div>
207
<Show when={!location.hash || location.hash === "#repos"}>
208
<div class="dark:bg-dark-500 fixed bottom-0 z-5 flex w-screen justify-center bg-neutral-100 pt-2 pb-4">
209
-
<div class="flex flex-col items-center gap-1 pb-2">
210
<p>{repos()?.length} loaded</p>
211
<Show when={cursor()}>
212
<Button
···
206
</div>
207
<Show when={!location.hash || location.hash === "#repos"}>
208
<div class="dark:bg-dark-500 fixed bottom-0 z-5 flex w-screen justify-center bg-neutral-100 pt-2 pb-4">
209
+
<div class="flex min-w-50 items-center justify-around gap-3 pb-2">
210
<p>{repos()?.length} loaded</p>
211
<Show when={cursor()}>
212
<Button