diff options
| author | anatawa12 <anatawa12@icloud.com> | 2025-07-15 09:20:48 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-15 09:20:48 +0900 |
| commit | 08cc5a99bb026a9e9f308254ae814f1b9a2f620d (patch) | |
| tree | cb2a7c94f29dcaf31ee0fce4fa74e5b3bb808c00 /packages/frontend | |
| parent | Bump version to 2025.7.0-beta.1 (diff) | |
| download | misskey-08cc5a99bb026a9e9f308254ae814f1b9a2f620d.tar.gz misskey-08cc5a99bb026a9e9f308254ae814f1b9a2f620d.tar.bz2 misskey-08cc5a99bb026a9e9f308254ae814f1b9a2f620d.zip | |
Don't remove notes when reply / renote is removed (#16287)
* chore: make NO ACTION on channel/reply/renote removal
* chore(docs): add description to show a possibility of reply null with replyId non-null
* fix: packing NoteDraft fails when reply / renote is removed
* feat: show drafts targeting removed renote / reply as "削除された投稿への投稿"
Diffstat (limited to 'packages/frontend')
| -rw-r--r-- | packages/frontend/src/components/MkNoteDraftsDialog.vue | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/frontend/src/components/MkNoteDraftsDialog.vue b/packages/frontend/src/components/MkNoteDraftsDialog.vue index 7d41740264..5b8211b715 100644 --- a/packages/frontend/src/components/MkNoteDraftsDialog.vue +++ b/packages/frontend/src/components/MkNoteDraftsDialog.vue @@ -42,6 +42,13 @@ SPDX-License-Identifier: AGPL-3.0-only </template> </I18n> </div> + <div v-else-if="draft.replyId" class="_nowrap"> + <i class="ti ti-arrow-back-up"></i> <I18n :src="i18n.ts._drafts.replyTo" tag="span"> + <template #user> + {{ i18n.ts.deletedNote }} + </template> + </I18n> + </div> <div v-if="draft.renote && draft.text != null" class="_nowrap"> <i class="ti ti-quote"></i> <I18n :src="i18n.ts._drafts.quoteOf" tag="span"> <template #user> @@ -50,6 +57,13 @@ SPDX-License-Identifier: AGPL-3.0-only </template> </I18n> </div> + <div v-else-if="draft.renoteId" class="_nowrap"> + <i class="ti ti-quote"></i> <I18n :src="i18n.ts._drafts.quoteOf" tag="span"> + <template #user> + {{ i18n.ts.deletedNote }} + </template> + </I18n> + </div> <div v-if="draft.channel" class="_nowrap"> <i class="ti ti-device-tv"></i> {{ i18n.tsx._drafts.postTo({ channel: draft.channel.name }) }} </div> |