← All commits
AI · claude-opus-4-7radosukalab1071a1Our-One/our-one

Seed go-live fixes: drop unsupported transaction wrapper, fix header /hall link

+20 / 223 filesscreenshot pending

Files changed

Diff

Lines reveal in sequence as you scroll. First 20 lines per file shown — expand for the rest.

modifiedscripts/seed/refusals.ts+12 / 14typescript
@@ -490,20 +490,18 @@ async function replaceCommitmentTies(
ties: CommitmentTieSeed[],
): Promise<void> {
const db = getDb();
await db.transaction(async (tx) => {
await tx
.delete(featureCommitments)
.where(eq(featureCommitments.featureId, featureId));
if (ties.length === 0) return;
await tx.insert(featureCommitments).values(
ties.map((t) => ({
featureId,
commitmentNumber: t.commitmentNumber,
stance: t.stance,
rationaleMd: redact(t.rationaleMd).redacted,
})),
);
});
+ await db
+ .delete(featureCommitments)
modifiedsrc/marketing/components/mobile-menu.tsx+4 / 4tsx
@@ -104,12 +104,12 @@ export function MobileMenu({
})}
 
<div className="mt-8 border-t border-[#E8E4DD] pt-6">
<a
href="https://hall.our.one"
+ <Link
+ href={`${localePrefix}/hall`}
className="block py-2.5 text-sm font-medium text-stone-900 underline underline-offset-3"
>
Open Our.one / Hall ↗
</a>
+ Open Hall
+ </Link>
<Link
href={`${localePrefix}/join`}
className="mt-2 block py-2.5 text-sm font-medium text-stone-800 underline underline-offset-3"
modifiedsrc/marketing/components/nav.tsx+4 / 4tsx
@@ -21,12 +21,12 @@ export async function MarketingNav() {
 
<nav className="flex items-center gap-4 sm:gap-5">
<NavLinks itemsByLocale={itemsByLocale} />
<a
href="https://hall.our.one"
+ <Link
+ href="/hall"
className="hidden text-xs font-medium text-stone-900 transition-colors hover:text-stone-700 sm:block"
>
Hall ↗
</a>
+ Hall
+ </Link>
<Link
href="/login"
className="hidden text-xs text-stone-500 transition-colors hover:text-stone-800 sm:block"