changelog button test

This commit is contained in:
nelle 2024-07-14 15:00:50 -06:00
parent ac3f04510f
commit 9092ed6f71
3 changed files with 10 additions and 1 deletions

View file

@ -9,6 +9,7 @@ username: "Username"
password: "Password"
forgotPassword: "Forgot password"
fetchingAsApObject: "Fetching from the Fediverse"
changelog: "Changelog"
ok: "OK"
gotIt: "Got it!"
cancel: "Cancel"

View file

@ -1,6 +1,6 @@
{
"name": "iceshrimp",
"version": "2023.12.7-jormungandr.18",
"version": "2023.12.7-jormungandr.19",
"repository": {
"type": "git",
"url": "https://iceshrimp.dev/limepotato/jormungandr-bite.git"

View file

@ -21,6 +21,7 @@
/>
</div>
</div>
<MkButton full @click="whatIsNew">{{ i18n.ts.changelog }}</MkButton>
<MkButton
:class="$style.gotIt"
primary
@ -40,9 +41,16 @@ import MkButton from "@/components/MkButton.vue";
import { version } from "@/config";
import { i18n } from "@/i18n";
import * as os from "@/os";
import MkLink from "./MkLink.vue";
import Link from "./form/link.vue";
const modal = shallowRef<InstanceType<typeof MkModal>>();
const whatIsNew = () => {
modal.value?.close();
window.open(`https://iceshrimp.dev/limepotato/jormungandr/src/branch/main/jormungandr-changelog.md`, '_blank');
};
let newRelease = $ref(false);
let data = $ref(Object);