···120120 return
121121122122 for item in self._items[:50]:
123123- title = item["thread_title"] if item["type"] == "reply" else "quoted your reply"
123123+ title = (
124124+ item["thread_title"] if item["type"] == "reply" else "quoted your reply"
125125+ )
124126 if item["type"] == "reply":
125127 title = f"on: {title}"
126128 await scroll.mount(
+3-1
tui/screens/home.py
···4040 hero.append("▀▀ ▀▀ ▀▀")
4141 yield Static(hero, id="hero-title")
4242 yield Static(
4343- "Bulletin boards on the AT Protocol.", classes="subtitle", id="hero-sub1"
4343+ "Bulletin boards on the AT Protocol.",
4444+ classes="subtitle",
4545+ id="hero-sub1",
4446 )
4547 yield Static(
4648 "Build a community from your existing account. Tightly curated, fully portable, open by design.",
···11/** Fetch and resolve the user's pinned BBSes. */
2233-import {
44- listRecords,
55- getRecord,
66- resolveIdentitiesBatch,
77-} from "./atproto";
33+import { listRecords, getRecord, resolveIdentitiesBatch } from "./atproto";
84import { PIN, SITE } from "./lexicon";
95import { is } from "@atcute/lexicons/validations";
106import { mainSchema as pinSchema } from "../lexicons/types/xyz/atboards/pin";
+2-1
web/src/lib/profile.ts
···4242 profileResult.status === "fulfilled" &&
4343 is(profileSchema, profileResult.value.value)
4444 ) {
4545- const value = profileResult.value.value as unknown as XyzAtboardsProfile.Main;
4545+ const value = profileResult.value
4646+ .value as unknown as XyzAtboardsProfile.Main;
4647 profile.name = value.name;
4748 profile.pronouns = value.pronouns;
4849 profile.bio = value.bio;
+12-2
web/src/lib/writes.ts
···11/** Authenticated PDS write helpers using an atcute Client from useAuth().agent. */
2233import type { Client } from "@atcute/client";
44-import { SITE, BOARD, NEWS, THREAD, REPLY, BAN, HIDE, PIN, PROFILE } from "./lexicon";
44+import {
55+ SITE,
66+ BOARD,
77+ NEWS,
88+ THREAD,
99+ REPLY,
1010+ BAN,
1111+ HIDE,
1212+ PIN,
1313+ PROFILE,
1414+} from "./lexicon";
515import { invalidateBBSCache } from "./bbs";
616import { nowIso } from "./util";
717import { getCurrentUser } from "./auth";
···281291 createdAt: nowIso() as ProfileValue["createdAt"],
282292 };
283293 return putRecord(rpc, PROFILE, "self", value);
284284-}294294+}