edit note warning and menu

This commit is contained in:
Zel9278 2023-11-06 00:51:06 +09:00
parent 1f359d68b7
commit c74ee3c41c
3 changed files with 8 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "misskey",
"version": "2023.11.0",
"version": "2023.11.0-art+1.0",
"codename": "nasubi",
"repository": {
"type": "git",

View file

@ -64,7 +64,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<button class="_buttonPrimary" style="padding: 4px; border-radius: 8px;" @click="addVisibleUser"><i class="ti ti-plus ti-fw"></i></button>
</div>
</div>
<MkInfo v-if="useCw" warn :class="$style.contentWarningCheckRule">{{ i18n.ts.contentWarningCheckRule }}</MkInfo>
<MkInfo v-show="useCw || 1 <= files.length" warn :class="$style.contentWarningCheckRule">{{ i18n.ts.contentWarningCheckRule }}</MkInfo>
<MkInfo v-if="hasNotSpecifiedMentions" warn :class="$style.hasNotSpecifiedMentions">{{ i18n.ts.notSpecifiedMentionWarning }} - <button class="_textButton" @click="addMissingMention()">{{ i18n.ts.add }}</button></MkInfo>
<input v-show="useCw" ref="cwInputEl" v-model="cw" :class="$style.cw" :placeholder="i18n.ts.annotation" @keydown="onKeydown">
<div :class="[$style.textOuter, { [$style.withCw]: useCw }]">

View file

@ -97,6 +97,12 @@ export function openInstanceMenu(ev: MouseEvent) {
action: () => {
window.open(instance.privacyPolicyUrl, '_blank');
},
} : undefined, true ? {
text: i18n.ts.toServiceArt,
icon: 'ti ti-help-circle',
action: () => {
window.open('https://service.misskey.art', '_blank');
},
} : undefined, (!instance.impressumUrl && !instance.tosUrl && !instance.privacyPolicyUrl) ? undefined : null, {
text: i18n.ts.help,
icon: 'ti ti-help-circle',