1
0

feat: long instance descriptions (#5)

This commit is contained in:
Leafus
2025-05-19 16:34:16 +00:00
committed by Bluey Heeler
parent a2757f235f
commit 400354237c
6 changed files with 35 additions and 0 deletions
@@ -28,6 +28,10 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #label>{{ i18n.ts.instanceDescription }}<span v-if="infoForm.modifiedStates.description" class="_modified">{{ i18n.ts.modified }}</span></template>
</MkTextarea>
<MkTextarea v-model="infoForm.state.longDescription">
<template #label>Long instance description<span v-if="infoForm.modifiedStates.longDescription" class="_modified">{{ i18n.ts.modified }}</span></template>
</MkTextarea>
<FormSplit :minWidth="300">
<MkInput v-model="infoForm.state.maintainerName">
<template #label>{{ i18n.ts.maintainerName }}<span v-if="infoForm.modifiedStates.maintainerName" class="_modified">{{ i18n.ts.modified }}</span></template>
@@ -318,6 +322,7 @@ const infoForm = useForm({
name: meta.name ?? '',
shortName: meta.shortName ?? '',
description: meta.description ?? '',
longDescription: meta.longDescription ?? '',
maintainerName: meta.maintainerName ?? '',
maintainerEmail: meta.maintainerEmail ?? '',
tosUrl: meta.tosUrl ?? '',
@@ -331,6 +336,7 @@ const infoForm = useForm({
name: state.name,
shortName: state.shortName === '' ? null : state.shortName,
description: state.description,
longDescription: state.longDescription,
maintainerName: state.maintainerName,
maintainerEmail: state.maintainerEmail,
tosUrl: state.tosUrl,