···3import { getUriRecord, resolveMiniDoc } from "./support/slingshot.ts";
4import { Window } from "./windowing_mod.ts";
5import { Feed } from "./windows/bluesky/feed.ts";
067const about = new Window("About", 150).with(
8 new Column().with(
···39 }
40 })
41);
000000000000000042const instantiator = new Column().with(
43 authorFeedWindowCreator,
44- listFeedWindowCreator
045).style((x) => x.maxWidth = "100ch");
4647Body.with(
···3import { getUriRecord, resolveMiniDoc } from "./support/slingshot.ts";
4import { Window } from "./windowing_mod.ts";
5import { Feed } from "./windows/bluesky/feed.ts";
6+import { IssueSearch } from "./windows/tangled/issuesearch.ts";
78const about = new Window("About", 150).with(
9 new Column().with(
···40 }
41 })
42);
43+const repoInput = new Input();
44+const tangledIssuesWindowCreator = new Row().with(
45+ repoInput,
46+ new Button("Get Issues", async () => {
47+ const search = new IssueSearch();
48+ try {
49+ await search.getIssues(repoInput.value);
50+ } catch (e) {
51+ alert(e);
52+ }
53+ Body.with(new Window(`Issues in @${search.repoInfo.owner}/${search.repoInfo.name}`).with(
54+ search
55+ ));
56+ })
57+);
58+59const instantiator = new Column().with(
60 authorFeedWindowCreator,
61+ listFeedWindowCreator,
62+ tangledIssuesWindowCreator
63).style((x) => x.maxWidth = "100ch");
6465Body.with(
+2-2
src/support/constellation.ts
···1-import { AtURI, DID, NSID, ValidateNSID } from "./atproto.ts";
23const BASEURL = "https://constellation.microcosm.blue";
4···16 cursor: string;
17};
1819-type Target = AtURI | DID;
20/**
21 * Retrieves an array of record references to records containing links to the specified target.
22 * @throws When the provided NSID is invalid.
···1+import { AtURI, AtURIString, DID, NSID, ValidateNSID } from "./atproto.ts";
23const BASEURL = "https://constellation.microcosm.blue";
4···16 cursor: string;
17};
1819+type Target = AtURIString | DID;
20/**
21 * Retrieves an array of record references to records containing links to the specified target.
22 * @throws When the provided NSID is invalid.
+4-4
src/windows/bluesky/feed.ts
···1// formerly src/main.ts. how far we've come.
23-import { Button, Column, Container, Image, Label, Row } from "../../domlink.ts";
4import { AppBskyFeedDefs, AppBskyFeedPost } from '@atcute/bluesky';
5-import { AtURI, XQuery } from "../../support/atproto.ts";
6-import { FeedResponse as RawFeedResponse } from "../../support/bluesky.ts";
7-import { displayAuthorFeed } from "../../desktop.ts";
89class PostView extends Container {
10 constructor(fvp: AppBskyFeedDefs.FeedViewPost) {
···1// formerly src/main.ts. how far we've come.
23+import { Button, Column, Container, Image, Label, Row } from "@/domlink.ts";
4import { AppBskyFeedDefs, AppBskyFeedPost } from '@atcute/bluesky';
5+import { AtURI, XQuery } from "@/support/atproto.ts";
6+import { FeedResponse as RawFeedResponse } from "@/support/bluesky.ts";
7+import { displayAuthorFeed } from "@/desktop.ts";
89class PostView extends Container {
10 constructor(fvp: AppBskyFeedDefs.FeedViewPost) {
+1-1
test/support/atproto.ts
···1-import { ValidateNSID, ValidateDID, AtURI } from "../../src/support/atproto.ts";
2import { assertEquals } from "https://deno.land/std@0.224.0/assert/mod.ts";
34Deno.test("ValidateNSID returns NSID for valid input", () => {
···1+import { ValidateNSID, ValidateDID, AtURI } from "@/support/atproto.ts";
2import { assertEquals } from "https://deno.land/std@0.224.0/assert/mod.ts";
34Deno.test("ValidateNSID returns NSID for valid input", () => {