feat: about-misskeyページでクライアントバージョンを押すと、更新情報を確認できる

This commit is contained in:
NoriDev 2023-08-04 16:59:34 +09:00
parent d5579d89aa
commit 66e76bff67
2 changed files with 14 additions and 4 deletions

View file

@ -27,6 +27,7 @@
### Client
- 이모티콘 피커의 검색 건수를 100개로 증가 (misskey-dev/misskey#11371)
- about-misskey 페이지에서 클라이언트 버전을 누르면 변경 사항을 볼 수 있음
- Fix: (Friendly) 흐림 효과를 사용할 때 하단 내비게이션 바의 가독성이 매우 떨어지는 문제
- Fix: 움직임이 있는 MFM 설정을 사용하지 않아도 `$[rainbow ]`문자를 볼 수 있음 (misskey-dev/misskey#11361)
- Fix: 모바일에서 헤더의 디자인을 변경하면 흐림 효과가 강제됨

View file

@ -12,8 +12,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<div v-panel class="about">
<div ref="containerEl" class="container" :class="{ playing: easterEggEngine != null }">
<img src="/client-assets/about-icon.png" alt="" class="icon" draggable="false" @load="iconLoaded" @click="gravity"/>
<div class="misskey">CherryPick</div>
<div class="version">v{{ version }}</div>
<div class="cherrypick">CherryPick</div>
<div class="version" @click="whatIsNewCherryPick">v{{ version }}</div>
<span v-for="emoji in easterEggEmojis" :key="emoji.id" class="emoji" :data-physics-x="emoji.left" :data-physics-y="emoji.top" :class="{ _physics_circle_: !emoji.emoji.startsWith(':') }">
<MkCustomEmoji v-if="emoji.emoji[0] === ':'" class="emoji" :name="emoji.emoji" :normal="true" :noStyle="true"/>
<MkEmoji v-else class="emoji" :emoji="emoji.emoji" :normal="true" :noStyle="true"/>
@ -394,6 +394,10 @@ let easterEggEmojis = $ref([]);
let easterEggEngine = $ref(null);
const containerEl = $shallowRef<HTMLElement>();
const whatIsNewCherryPick = () => {
window.open(`https://github.com/kokonect-link/cherrypick/blob/develop/CHANGELOG_CHERRYPICK.md#${version.replace(/\./g, '')}`, '_blank');
};
function iconLoaded() {
const emojis = defaultStore.state.reactions;
const containerWidth = containerEl.offsetWidth;
@ -500,7 +504,7 @@ definePageMetadata({
z-index: 1;
}
> .misskey {
> .cherrypick {
margin: 0.75em auto 0 auto;
width: max-content;
position: relative;
@ -513,6 +517,11 @@ definePageMetadata({
opacity: 0.5;
position: relative;
z-index: 1;
&:hover {
text-decoration: underline;
color: var(--link);
}
}
> .emoji {
@ -572,7 +581,7 @@ definePageMetadata({
font-size: 11px;
font-weight: bold;
> .misskey {
> .cherrypick {
color: #86b300;
}