feat: v2 rewrite — hexagonal arch, ActivityPub federation, NATS, deployment-ready #1

Merged
GKaszewski merged 334 commits from v2 into master 2026-05-16 09:42:43 +00:00
2 changed files with 17 additions and 0 deletions
Showing only changes of commit 009b2d43c9 - Show all commits

View File

@@ -106,6 +106,22 @@ export function ThoughtCard({
</span>
</div>
)}
{!thought.replyToId && thought.replyToUrl && (
<div className="text-sm text-muted-foreground flex items-center gap-2">
<CornerUpLeft className="h-4 w-4 text-primary/70" />
<span>
Replying to{" "}
<a
href={thought.replyToUrl}
target="_blank"
rel="noopener noreferrer"
className="hover:underline text-primary text-shadow-sm"
>
original post
</a>
</span>
</div>
)}
</div>
<Card className="mt-2">
<CardHeader className="flex flex-row items-center justify-between space-y-0">

View File

@@ -41,6 +41,7 @@ export const ThoughtSchema = z.object({
content: z.string(),
author: UserSchema,
replyToId: z.string().uuid().nullable(),
replyToUrl: z.string().url().nullable().optional(),
visibility: z.string(),
contentWarning: z.string().nullable(),
sensitive: z.boolean(),