mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
changelog button test
This commit is contained in:
parent
ac3f04510f
commit
9092ed6f71
3 changed files with 10 additions and 1 deletions
|
@ -9,6 +9,7 @@ username: "Username"
|
||||||
password: "Password"
|
password: "Password"
|
||||||
forgotPassword: "Forgot password"
|
forgotPassword: "Forgot password"
|
||||||
fetchingAsApObject: "Fetching from the Fediverse"
|
fetchingAsApObject: "Fetching from the Fediverse"
|
||||||
|
changelog: "Changelog"
|
||||||
ok: "OK"
|
ok: "OK"
|
||||||
gotIt: "Got it!"
|
gotIt: "Got it!"
|
||||||
cancel: "Cancel"
|
cancel: "Cancel"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "iceshrimp",
|
"name": "iceshrimp",
|
||||||
"version": "2023.12.7-jormungandr.18",
|
"version": "2023.12.7-jormungandr.19",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://iceshrimp.dev/limepotato/jormungandr-bite.git"
|
"url": "https://iceshrimp.dev/limepotato/jormungandr-bite.git"
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<MkButton full @click="whatIsNew">{{ i18n.ts.changelog }}</MkButton>
|
||||||
<MkButton
|
<MkButton
|
||||||
:class="$style.gotIt"
|
:class="$style.gotIt"
|
||||||
primary
|
primary
|
||||||
|
@ -40,9 +41,16 @@ import MkButton from "@/components/MkButton.vue";
|
||||||
import { version } from "@/config";
|
import { version } from "@/config";
|
||||||
import { i18n } from "@/i18n";
|
import { i18n } from "@/i18n";
|
||||||
import * as os from "@/os";
|
import * as os from "@/os";
|
||||||
|
import MkLink from "./MkLink.vue";
|
||||||
|
import Link from "./form/link.vue";
|
||||||
|
|
||||||
const modal = shallowRef<InstanceType<typeof MkModal>>();
|
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 newRelease = $ref(false);
|
||||||
let data = $ref(Object);
|
let data = $ref(Object);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue