-
@@ -58,7 +57,6 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts._notification.achievementEarned }}
{{ i18n.ts._notification.testNotification }}
-
{{ i18n.tsx._notification.likedBySomeUsers({ n: notification.reactions.length }) }}
{{ i18n.tsx._notification.reactedBySomeUsers({ n: notification.reactions.length }) }}
{{ i18n.tsx._notification.renotedBySomeUsers({ n: notification.users.length }) }}
{{ notification.header }}
@@ -203,7 +201,6 @@ const rejectFollowRequest = () => {
}
.icon_reactionGroup,
-.icon_reactionGroupHeart,
.icon_renoteGroup {
display: grid;
align-items: center;
@@ -216,15 +213,11 @@ const rejectFollowRequest = () => {
}
.icon_reactionGroup {
- background: var(--eventReaction);
-}
-
-.icon_reactionGroupHeart {
- background: var(--eventReactionHeart);
+ background: #e99a0b;
}
.icon_renoteGroup {
- background: var(--eventRenote);
+ background: #36d298;
}
.icon_app {
@@ -253,49 +246,49 @@ const rejectFollowRequest = () => {
.t_follow, .t_followRequestAccepted, .t_receiveFollowRequest {
padding: 3px;
- background: var(--eventFollow);
+ background: #36aed2;
pointer-events: none;
}
.t_renote {
padding: 3px;
- background: var(--eventRenote);
+ background: #36d298;
pointer-events: none;
}
.t_quote {
padding: 3px;
- background: var(--eventRenote);
+ background: #36d298;
pointer-events: none;
}
.t_reply {
padding: 3px;
- background: var(--eventReply);
+ background: #007aff;
pointer-events: none;
}
.t_mention {
padding: 3px;
- background: var(--eventOther);
+ background: #88a6b7;
pointer-events: none;
}
.t_pollEnded {
padding: 3px;
- background: var(--eventOther);
+ background: #88a6b7;
pointer-events: none;
}
.t_achievementEarned {
padding: 3px;
- background: var(--eventAchievement);
+ background: #cb9a11;
pointer-events: none;
}
.t_roleAssigned {
padding: 3px;
- background: var(--eventOther);
+ background: #88a6b7;
pointer-events: none;
}
diff --git a/packages/frontend/src/components/MkTutorialDialog.Note.vue b/packages/frontend/src/components/MkTutorialDialog.Note.vue
index 2a26d22dc27c..f03a83293b69 100644
--- a/packages/frontend/src/components/MkTutorialDialog.Note.vue
+++ b/packages/frontend/src/components/MkTutorialDialog.Note.vue
@@ -63,7 +63,6 @@ const exampleNote = reactive
({
reactionAcceptance: null,
renoteCount: 0,
repliesCount: 1,
- reactionCount: 0,
reactions: {},
reactionEmojis: {},
fileIds: [],
diff --git a/packages/frontend/src/components/MkTutorialDialog.PostNote.vue b/packages/frontend/src/components/MkTutorialDialog.PostNote.vue
index e1d88b5e5c22..2b8c586dacce 100644
--- a/packages/frontend/src/components/MkTutorialDialog.PostNote.vue
+++ b/packages/frontend/src/components/MkTutorialDialog.PostNote.vue
@@ -68,7 +68,6 @@ const exampleCWNote = reactive({
reactionAcceptance: null,
renoteCount: 0,
repliesCount: 1,
- reactionCount: 0,
reactions: {},
reactionEmojis: {},
fileIds: [],
diff --git a/packages/frontend/src/components/MkTutorialDialog.Sensitive.vue b/packages/frontend/src/components/MkTutorialDialog.Sensitive.vue
index 7ae48dcd151a..b17ec6646185 100644
--- a/packages/frontend/src/components/MkTutorialDialog.Sensitive.vue
+++ b/packages/frontend/src/components/MkTutorialDialog.Sensitive.vue
@@ -58,7 +58,6 @@ const exampleNote = reactive({
reactionAcceptance: null,
renoteCount: 0,
repliesCount: 1,
- reactionCount: 0,
reactions: {},
reactionEmojis: {},
fileIds: ['0000000002'],
diff --git a/packages/frontend/src/scripts/use-note-capture.ts b/packages/frontend/src/scripts/use-note-capture.ts
index 542d8ab52b18..524ac5d3fe75 100644
--- a/packages/frontend/src/scripts/use-note-capture.ts
+++ b/packages/frontend/src/scripts/use-note-capture.ts
@@ -35,7 +35,6 @@ export function useNoteCapture(props: {
const currentCount = (note.value.reactions || {})[reaction] || 0;
note.value.reactions[reaction] = currentCount + 1;
- note.value.reactionCount += 1;
if ($i && (body.userId === $i.id)) {
note.value.myReaction = reaction;
@@ -50,7 +49,6 @@ export function useNoteCapture(props: {
const currentCount = (note.value.reactions || {})[reaction] || 0;
note.value.reactions[reaction] = Math.max(0, currentCount - 1);
- note.value.reactionCount = Math.max(0, note.value.reactionCount - 1);
if (note.value.reactions[reaction] === 0) delete note.value.reactions[reaction];
if ($i && (body.userId === $i.id)) {
diff --git a/packages/frontend/src/style.scss b/packages/frontend/src/style.scss
index 187d9027339f..0951a7d98d5d 100644
--- a/packages/frontend/src/style.scss
+++ b/packages/frontend/src/style.scss
@@ -22,13 +22,6 @@
}
//--ad: rgb(255 169 0 / 10%);
- --eventFollow: #36aed2;
- --eventRenote: #36d298;
- --eventReply: #007aff;
- --eventReactionHeart: #dd2e44;
- --eventReaction: #e99a0b;
- --eventAchievement: #cb9a11;
- --eventOther: #88a6b7;
}
::selection {
diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts
index 6b759c6e333c..c095036c8abe 100644
--- a/packages/misskey-js/src/autogen/types.ts
+++ b/packages/misskey-js/src/autogen/types.ts
@@ -3987,7 +3987,6 @@ export type components = {
reactions: {
[key: string]: number;
};
- reactionCount: number;
renoteCount: number;
repliesCount: number;
uri?: string;