Skip to content

Commit

Permalink
Merge 4.11.1 (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
kozakura913 authored Aug 30, 2024
2 parents 833e978 + 11cf961 commit afb1cd8
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 22 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG_CHERRYPICK.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,24 @@ Misskey의 전체 변경 사항을 확인하려면, [CHANGELOG.md#2024xx](CHANGE
# 릴리즈 노트
이 문서는 CherryPick의 변경 사항만 포함합니다.

## 4.11.1
출시일: 2024/8/30<br>
기반 Misskey 버전: 2024.8.0<br>
Misskey의 전체 변경 사항을 확인하려면, [CHANGELOG.md#202480](CHANGELOG.md#202480) 문서를 참고하십시오.

### Client
- Fix: 노트의 세부 옵션을 표시하는 `더 보기!` 버튼을 누를 수 없음

---

## 4.11.0
출시일: 2024/8/28<br>
기반 Misskey 버전: 2024.8.0<br>
Misskey의 전체 변경 사항을 확인하려면, [CHANGELOG.md#202480](CHANGELOG.md#202480) 문서를 참고하십시오.

### Client
- Fix: 노트를 인용했을 때 `더 보기` 버튼이 보이지 않거나 잘려서 표시될 수 있음
- Fix: 클라이언트 업데이트 페이지에서 Misskey의 버전 정보를 불러올 수 없을 수 있음
- Fix: 클라이언트 업데이트 페이지에서 Misskey의 버전 정보를 불러오지 못할 수 있음

---

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cherrypick",
"version": "4.11.0-yojo0.5.2",
"version": "4.11.1-yojo0.5.2",
"basedMisskeyVersion": "2024.8.0",
"codename": "nasubi",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cherrypick-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "cherrypick-js",
"version": "4.11.0-yojo0.5.2",
"version": "4.11.1-yojo0.5.2",
"basedMisskeyVersion": "2024.8.0",
"description": "CherryPick SDK for JavaScript",
"license": "MIT",
Expand Down
23 changes: 4 additions & 19 deletions packages/frontend/src/scripts/get-note-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,10 @@ export function getNoteMenu(props: {
}]
: []
),*/
...(appearNote.userId !== $i.id || (isRenote && props.note.userId !== $i.id) ? [
...(appearNote.userId !== $i.id || props.note.userId !== $i.id ? [
{ type: 'divider' },
appearNote.userId !== $i.id ? getAbuseNoteMenu(appearNote, i18n.ts.reportAbuse) : undefined,
isRenote && props.note.userId !== $i.id ? getAbuseNoteMenu(props.note, i18n.ts.reportAbuseRenote) : undefined,
props.note.userId !== $i.id ? getAbuseNoteMenu(props.note, i18n.ts.reportAbuseRenote) : undefined,
]
: []
),
Expand Down Expand Up @@ -622,15 +622,8 @@ export function getQuoteMenu(props: {
note: Misskey.entities.Note,
mock?: boolean;
}) {
const isRenote = (
props.note.renote != null &&
props.note.text == null &&
props.note.fileIds &&
props.note.fileIds.length === 0 &&
props.note.poll == null
);
const menu: MenuItem[] = [];
const appearNote = isRenote ? props.note.renote as Misskey.entities.Note : props.note;
const appearNote = getAppearNote(props.note);

if (!appearNote.channel || appearNote.channel.allowRenoteToExternal) {
menu.push({
Expand Down Expand Up @@ -794,15 +787,7 @@ export async function getRenoteOnly(props: {
renoteButton: ShallowRef<HTMLElement | undefined>;
mock?: boolean;
}) {
const isRenote = (
props.note.renote != null &&
props.note.text == null &&
props.note.fileIds &&
props.note.fileIds.length === 0 &&
props.note.poll == null
);

const appearNote = isRenote ? props.note.renote as Misskey.entities.Note : props.note;
const appearNote = getAppearNote(props.note);

if (defaultStore.state.showRenoteConfirmPopup) {
const { canceled } = await os.confirm({
Expand Down

0 comments on commit afb1cd8

Please sign in to comment.