From abe3e7426da65b351d362a9369d2ac84d1a832cf Mon Sep 17 00:00:00 2001 From: NoriDev Date: Sat, 10 Jun 2023 22:14:45 +0900 Subject: [PATCH] =?UTF-8?q?enhance(client):=20=E3=80=8C=E3=82=82=E3=81=A3?= =?UTF-8?q?=E3=81=A8=EF=BC=81=E3=80=8D=E3=83=A1=E3=83=8B=E3=83=A5=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=83=98=E3=83=AB=E3=83=97=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG_CHERRYPICK.md | 1 + packages/frontend/src/navbar.ts | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/CHANGELOG_CHERRYPICK.md b/CHANGELOG_CHERRYPICK.md index 5bbcf55e47..bda5e03a01 100644 --- a/CHANGELOG_CHERRYPICK.md +++ b/CHANGELOG_CHERRYPICK.md @@ -47,6 +47,7 @@ - 팔로우/팔로워를 비공개로 하고 있는 경우 표시는 '0'이 아닌 키 아이콘을 표시하도록 ([misskey-dev#10934](https://github.com/misskey-dev/misskey/pull/10934)) - 신고의 초기 댓글에 사용자 ID 추가 ([misskey.design fded63c](https://github.com/kiyo4act/misskey.design/commit/fded63c7317721daeb8babcdf901dc00ab475231), [misskey.design 8b6e303](https://github.com/kiyo4act/misskey.design/commit/8b6e303f184888193f4ce1daaa1629fedb46c7a9)) - OGP 미리보기 추가 ([misskey.design 4eb0a6d](https://github.com/kiyo4act/misskey.design/commit/4eb0a6d8467c0c601e6fe37b0170c6c36f4bc8f2)) +- 더 보기! 메뉴에 도움말 추가 - Fix: (Friendly) 플로팅 메뉴를 길게 눌렀을 때 프로필 이미지를 드래그 할 수 있는 문제 - Fix: (Friendly) 타임라인이 변경되었을 때 네비게이션 바의 인디케이터가 사라지지 않는 문제 - Fix: (Friendly) 모바일에서 헤더가 사라졌을 때 프로필 아이콘의 높이가 잘못 설정되는 문제 diff --git a/packages/frontend/src/navbar.ts b/packages/frontend/src/navbar.ts index 60900680a6..44dcc2b65b 100644 --- a/packages/frontend/src/navbar.ts +++ b/packages/frontend/src/navbar.ts @@ -150,6 +150,24 @@ export const navbarItemDef = reactive({ }], ev.currentTarget ?? ev.target); }, }, + help: { + title: i18n.ts.help, + icon: 'ti ti-help-circle', + action: (ev) => { + os.popupMenu([{ + text: i18n.ts.help, + icon: 'ti ti-help-circle', + action: () => { + window.open('https://misskey-hub.net/help.html', '_blank'); + }, + }, { + type: 'link', + text: i18n.ts._mfm.cheatSheet, + icon: 'ti ti-help-circle', + to: '/mfm-cheat-sheet', + }], ev.currentTarget ?? ev.target); + }, + }, about: { title: i18n.ts.about, icon: 'ti ti-info-circle',