feat: add threaded drafts & posts (#2715)
Co-authored-by: Sebastian Di Luzio <sebastian.di-luzio@iu.org> Co-authored-by: Emanuel Pina <contacto@emanuelpina.pt> Co-authored-by: lazzzis <lazzzis@outlook.com> Co-authored-by: Joaquín Sánchez <userquin@gmail.com> Co-authored-by: TAKAHASHI Shuuji <shuuji3@gmail.com> Co-authored-by: Francesco <129339155+katullo11@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: patak-dev <matias.capeletto@gmail.com>
This commit is contained in:
parent
0538f97ada
commit
1234fb2dd1
17 changed files with 634 additions and 377 deletions
|
@ -85,7 +85,7 @@ onReactivated(() => {
|
|||
style="scroll-margin-top: 60px"
|
||||
@refetch-status="refreshStatus()"
|
||||
/>
|
||||
<PublishWidget
|
||||
<PublishWidgetList
|
||||
v-if="currentUser"
|
||||
ref="publishWidget"
|
||||
border="y base"
|
||||
|
|
|
@ -11,5 +11,13 @@ useHydratedHead({
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<PublishWidgetFull />
|
||||
<MainContent>
|
||||
<template #title>
|
||||
<NuxtLink to="/compose" timeline-title-style flex items-center gap-2 @click="$scrollToTop">
|
||||
<div i-ri:quill-pen-line />
|
||||
<span>{{ $t('nav.compose') }}</span>
|
||||
</NuxtLink>
|
||||
</template>
|
||||
<PublishWidgetFull />
|
||||
</MainContent>
|
||||
</template>
|
||||
|
|
|
@ -6,7 +6,7 @@ const route = useRoute()
|
|||
|
||||
onMounted(async () => {
|
||||
// TODO: login check
|
||||
await openPublishDialog('intent', getDefaultDraft({
|
||||
await openPublishDialog('intent', getDefaultDraftItem({
|
||||
status: route.query.text as string,
|
||||
sensitive: route.query.sensitive === 'true' || route.query.sensitive === null,
|
||||
spoilerText: route.query.spoiler_text as string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue