debugging

This commit is contained in:
ThatOneCalculator 2023-01-03 17:52:04 -08:00
parent 0945607b3f
commit 1487d9dce7
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
3 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "calckey", "name": "calckey",
"version": "13.0.8", "version": "13.0.8.1",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -3,7 +3,8 @@
<div class="ewlycnyt"> <div class="ewlycnyt">
<div class="title"><MkSparkle>{{ i18n.ts.misskeyUpdated }}</MkSparkle></div> <div class="title"><MkSparkle>{{ i18n.ts.misskeyUpdated }}</MkSparkle></div>
<div class="version"> {{ version }} 🚀</div> <div class="version"> {{ version }} 🚀</div>
<div v-if="newRelease" class="releaseNotes"> <!-- v-if="newRelease" -->
<div class="releaseNotes">
<Mfm :text="data.notes"/> <Mfm :text="data.notes"/>
<div v-if="data.screenshots.length > 0" style="max-width: 500"> <div v-if="data.screenshots.length > 0" style="max-width: 500">
<img v-for="i in data.screenshots" :key="i" :src="i"/> <img v-for="i in data.screenshots" :key="i" :src="i"/>

View File

@ -13,14 +13,17 @@
<FormLink to="/registry" class="_formBlock"><template #icon><i class="ph-gear-six-bold ph-lg"></i></template>{{ i18n.ts.registry }}</FormLink> <FormLink to="/registry" class="_formBlock"><template #icon><i class="ph-gear-six-bold ph-lg"></i></template>{{ i18n.ts.registry }}</FormLink>
<FormLink to="/settings/delete-account" class="_formBlock"><template #icon><i class="ph-warning-bold ph-lg"></i></template>{{ i18n.ts.closeAccount }}</FormLink> <FormLink to="/settings/delete-account" class="_formBlock"><template #icon><i class="ph-warning-bold ph-lg"></i></template>{{ i18n.ts.closeAccount }}</FormLink>
<MkButton @click="updatePopup()">Test update modal</MkButton>
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { computed } from 'vue'; import { computed, defineAsyncComponent } from 'vue';
import FormSwitch from '@/components/form/switch.vue'; import FormSwitch from '@/components/form/switch.vue';
import FormLink from '@/components/form/link.vue'; import FormLink from '@/components/form/link.vue';
import * as os from '@/os'; import * as os from '@/os';
import { popup } from '@/os';
import { defaultStore } from '@/store'; import { defaultStore } from '@/store';
import { $i } from '@/account'; import { $i } from '@/account';
import { i18n } from '@/i18n'; import { i18n } from '@/i18n';
@ -36,6 +39,10 @@ function onChangeInjectFeaturedNote(v) {
}); });
} }
function updatePopup() {
popup(defineAsyncComponent(() => import('@/components/MkUpdated.vue')), {}, {}, 'closed');
}
const headerActions = $computed(() => []); const headerActions = $computed(() => []);
const headerTabs = $computed(() => []); const headerTabs = $computed(() => []);