loading quotes
@@ -75,8 +74,13 @@ function QuotesContent(props: { posts: PostView[]; postUri: string }) {
return (
- {posts.map((post) => (
-
+ {posts.map((post, index) => (
+ <>
+
+ {posts.length !== index + 1 && (
+
+ )}
+ >
))}
);
@@ -91,11 +95,12 @@ function QuotePost(props: { post: PostView; quotesUri: string }) {
post={post}
parent={parent}
showEmbed={true}
+ compactEmbed
showBlueskyLink={true}
quoteEnabled
replyEnabled
onEmbedClick={(e) => e.stopPropagation()}
- className="relative py-2 px-2 hover:bg-bg-page rounded cursor-pointer"
+ className="relative py-2 px-2 hover:bg-bg-page rounded cursor-pointer text-sm"
/>
);
}
diff --git a/app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx b/app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx
index 8b7d54f6..6e0079d9 100644
--- a/app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx
+++ b/app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx
@@ -92,26 +92,11 @@ export function BskyPostContent(props: {
openPage(parent, { type: "thread", uri: post.uri });
}}
>
-
-
-
- {post.author.displayName}
-
-
- @{post.author.handle}
-
- }
- didOrHandle={post.author.handle}
- />
-
-
- {timeAgo(record.createdAt, { compact: true })}
-
-
@@ -210,24 +195,12 @@ export function CompactBskyPostContent(props: {
openPage(parent, { type: "thread", uri: post.uri });
}}
>
-
-
-
- {post.author.displayName}
-
-
- @{post.author.handle}
-
- }
- didOrHandle={post.author.handle}
- />
-
-
- {timeAgo(record.createdAt, { compact: true })}
-
-
+
@@ -255,6 +228,42 @@ export function CompactBskyPostContent(props: {
);
}
+function PostInfo(props: {
+ displayName?: string;
+ handle: string;
+ createdAt: string;
+ compact?: boolean;
+}) {
+ const { displayName, handle, createdAt, compact = false } = props;
+
+ return (
+
+
+
+ {displayName}
+
+
+ }
+ didOrHandle={handle}
+ />
+
+
+
+ {timeAgo(createdAt, { compact: true })}
+
+
+ );
+}
+
function PostCounts(props: {
post: PostView;
parent?: OpenPage;
diff --git a/app/lish/[did]/[publication]/[rkey]/ThreadPage.tsx b/app/lish/[did]/[publication]/[rkey]/ThreadPage.tsx
index 8805cce4..ce2bcff3 100644
--- a/app/lish/[did]/[publication]/[rkey]/ThreadPage.tsx
+++ b/app/lish/[did]/[publication]/[rkey]/ThreadPage.tsx
@@ -49,7 +49,7 @@ export function ThreadPage(props: {
pageType="doc"
fullPageScroll={false}
id={`post-page-${pageId}`}
- drawerOpen={!!drawer}
+ drawerOpen={false}
pageOptions={pageOptions}
>
diff --git a/components/Blocks/BlueskyPostBlock/BlueskyEmbed.tsx b/components/Blocks/BlueskyPostBlock/BlueskyEmbed.tsx
index 192306cc..5c6e409e 100644
--- a/components/Blocks/BlueskyPostBlock/BlueskyEmbed.tsx
+++ b/components/Blocks/BlueskyPostBlock/BlueskyEmbed.tsx
@@ -10,6 +10,7 @@ import {
AppBskyGraphDefs,
AppBskyLabelerDefs,
} from "@atproto/api";
+import { Avatar } from "components/Avatar";
export const BlueskyEmbed = (props: {
embed: Exclude
;
@@ -154,38 +155,39 @@ export const BlueskyEmbed = (props: {
text = (record.value as AppBskyFeedPost.Record).text;
}
return (
-
-
- {record.author.avatar && (
-

- )}
-
- {record.author?.displayName}
+
+
+
+
+
+ {text && (
+
+ {text}
+
+ )}
+ {/*{record.embeds !== undefined
+ ? record.embeds.map((embed, index) => (
+
+ ))
+ : null}*/}
-
- @{record.author?.handle}
-
-
-
-
- {text && (
-
{text}
- )}
- {record.embeds !== undefined
- ? record.embeds.map((embed, index) => (
-
- ))
- : null}
);