1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-29 08:54:37 +02:00

fix(frontend): use instant postform for createNoteFromTheFile/gallery/WidgetBirthday (#17746)

* fix(frontend): use instant postform for createNoteFromTheFile/gallery/WidgetBirthday

* docs(changelog): update changelog

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
This commit is contained in:
Sayamame-beans
2026-07-20 18:17:52 +09:00
committed by GitHub
parent cc2ed939b1
commit 8c28fd3a1b
5 changed files with 5 additions and 1 deletions

View File

@@ -37,6 +37,7 @@
- Fix: いくつかのイベントリスナーが正しく解除されない問題を修正(メモリ使用量の改善)
- Fix: 非ログイン時トップページをスクロール操作できないことがある問題を修正
- Fix: ローカルユーザーへのホスト付きメンションが本文に含まれる指名ノートの作成時、投稿フォームにて、当該ユーザーが宛先に含まれていても正しく認識されない問題を修正
- Fix: ドライブの「このファイルからノートを作成」やギャラリーの「ノートで共有」、誕生日ウィジェットからのノート作成において、通常投稿の下書きが表示される問題を修正
### Server
- Feat: OpenTelemetryサポート

View File

@@ -123,6 +123,7 @@ function postThis() {
os.post({
initialFiles: [file.value],
instant: true,
});
}

View File

@@ -126,6 +126,7 @@ function shareWithNote() {
if (!post.value) return;
os.post({
initialText: `${post.value.title} ${url}/gallery/${post.value.id}`,
instant: true,
});
}

View File

@@ -131,6 +131,7 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile, folder?: Miss
icon: 'ti ti-pencil',
action: () => os.post({
initialFiles: [file],
instant: true,
}),
}, {
text: i18n.ts.copyUrl,

View File

@@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</template>
</MkUserCardMini>
</MkA>
<button v-tooltip.noDelay="i18n.ts.note" class="_button" :class="$style.post" @click="os.post({initialText: `@${item.user.username}${item.user.host ? `@${item.user.host}` : ''} `})">
<button v-tooltip.noDelay="i18n.ts.note" class="_button" :class="$style.post" @click="os.post({initialText: `@${item.user.username}${item.user.host ? `@${item.user.host}` : ''} `, instant: true})">
<i class="ti-fw ti ti-confetti" :class="$style.postIcon"></i>
</button>
</div>