feat: add public notes by author page

Extract note-list fetching into usePublicNoteList composable, add
/pub/:did route to view notes from a single author, and make author
aliases clickable links in both the note list and note view.
This commit is contained in:
Julien Calixte
2026-02-15 13:18:59 +01:00
parent bf73f08cb2
commit ff8795581e
5 changed files with 156 additions and 42 deletions

View File

@@ -90,7 +90,12 @@ watch(
</div>
<span class="badge badge-author" v-if="author">
{{ author.alias }}
<router-link
:to="{ name: 'PublicNoteListByDidView', params: { did: did } }"
class="link link-hover"
>
{{ author.alias }}
</router-link>
<span v-if="publishedAt">&nbsp;&nbsp;{{ publishedAt }}</span>
</span>
<article class="note-display" v-html="content"></article>