Thread viewer for Bluesky

added reply info to posts on quotes page

+7 -1
+1 -1
src/components/posts/FeedPostParent.svelte
··· 9 <p class="back"> 10 <i class="fa-solid fa-reply"></i> 11 <a href="{linkToPostById(repo, rkey)}"> 12 - {#if repo == accountAPI.user.did} 13 Reply to you 14 {:else} 15 {#await api.fetchHandleForDid(repo)}
··· 9 <p class="back"> 10 <i class="fa-solid fa-reply"></i> 11 <a href="{linkToPostById(repo, rkey)}"> 12 + {#if accountAPI && repo == accountAPI.user.did} 13 Reply to you 14 {:else} 15 {#await api.fetchHandleForDid(repo)}
+6
src/pages/QuotesPage.svelte
··· 1 <script> 2 import { Post } from '../models/posts.js'; 3 import * as paginator from '../utils/paginator.js'; 4 import MainLoader from '../components/MainLoader.svelte'; 5 import PostWrapper from '../components/posts/PostWrapper.svelte'; 6 ··· 58 </header> 59 60 {#each posts as post} 61 <PostWrapper {post} context="quotes" /> 62 {/each} 63 {:else if !loadingFailed}
··· 1 <script> 2 import { Post } from '../models/posts.js'; 3 import * as paginator from '../utils/paginator.js'; 4 + import FeedPostParent from '../components/posts/FeedPostParent.svelte'; 5 import MainLoader from '../components/MainLoader.svelte'; 6 import PostWrapper from '../components/posts/PostWrapper.svelte'; 7 ··· 59 </header> 60 61 {#each posts as post} 62 + <!-- TODO: #if post.parent --> 63 + {#if post.parentReference} 64 + <FeedPostParent uri={post.parentReference.uri} /> 65 + {/if} 66 + 67 <PostWrapper {post} context="quotes" /> 68 {/each} 69 {:else if !loadingFailed}