Skip to content

Commit

Permalink
update MkUpdated for nadesskey
Browse files Browse the repository at this point in the history
  • Loading branch information
tai-cha committed Aug 3, 2023
1 parent 63a2b44 commit 6c3419f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG_NADE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
オリジナルのMisskeyの変更履歴は(CHANGELOG)[CHANGELOG.md]をご覧ください。

<!--
## Unlereased
### General
Expand Down
6 changes: 6 additions & 0 deletions packages/frontend/src/components/MkUpdated.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div :class="$style.root">
<div :class="$style.title"><MkSparkle>{{ i18n.ts.misskeyUpdated }}</MkSparkle></div>
<div :class="$style.version">✨{{ version }}🚀</div>
<MkButton full @click="whatIsNew">{{ i18n.ts.whatIsNew }}(Misskey)</MkButton>
<MkButton full @click="whatIsNew">{{ i18n.ts.whatIsNew }}</MkButton>
<MkButton :class="$style.gotIt" primary full @click="$refs.modal.close()">{{ i18n.ts.gotIt }}</MkButton>
</div>
Expand All @@ -30,6 +31,11 @@ const whatIsNew = () => {
window.open(`https://misskey-hub.net/docs/releases.html#_${version.replace(/\./g, '-')}`, '_blank');
};
const whatIsNewNadesskey = () => {
modal.value.close();
window.open('https://github.com/nadesuki/nadesuki/blob/master/CHANGELOG_NADE.md', '_blank');
};
onMounted(() => {
confetti({
duration: 1000 * 3,
Expand Down

0 comments on commit 6c3419f

Please sign in to comment.