.13
This commit is contained in:
parent
5f15ca4fde
commit
7ff47714e0
7 changed files with 45 additions and 40 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc.13-rc.12",
|
"version": "12.119.0-calc.13",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { computed, watch, provide } from 'vue';
|
import { computed, watch, provide } from 'vue';
|
||||||
import * as misskey from 'misskey-js';
|
import type * as misskey from 'misskey-js';
|
||||||
import XNotes from '@/components/MkNotes.vue';
|
import XNotes from '@/components/MkNotes.vue';
|
||||||
import { $i } from '@/account';
|
import { $i } from '@/account';
|
||||||
import { i18n } from '@/i18n';
|
import { i18n } from '@/i18n';
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<MkSpacer :content-max="800">
|
||||||
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
|
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
|
||||||
<MkA v-for="item in items" :key="item.id" :to="`/clips/${item.id}`" class="item _panel _gap">
|
<MkA v-for="item in items" :key="item.id" :to="`/clips/${item.id}`" class="item _panel _gap">
|
||||||
|
<div class="_panel">
|
||||||
<b>{{ item.name }}</b>
|
<b>{{ item.name }}</b>
|
||||||
<div v-if="item.description" class="description">{{ item.description }}</div>
|
<Mfm v-if="item.description" class="description" :text="item.description"/>
|
||||||
|
</div>
|
||||||
</MkA>
|
</MkA>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
|
</MkSpacer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<MkSpacer :content-max="800">
|
||||||
<MkPagination v-slot="{items}" :pagination="pagination">
|
<MkPagination v-slot="{items}" :pagination="pagination">
|
||||||
<div class="jrnovfpt">
|
<div class="jrnovfpt">
|
||||||
<MkGalleryPostPreview v-for="post in items" :key="post.id" :post="post" class="post"/>
|
<MkGalleryPostPreview v-for="post in items" :key="post.id" :post="post" class="post"/>
|
||||||
</div>
|
</div>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
|
</MkSpacer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -86,29 +86,24 @@ const headerTabs = $computed(() =>
|
||||||
icon: 'ph-user-bold ph-large',
|
icon: 'ph-user-bold ph-large',
|
||||||
},
|
},
|
||||||
...(($i && $i.id === user.id) || user.publicReactions
|
...(($i && $i.id === user.id) || user.publicReactions
|
||||||
? [
|
? [{
|
||||||
{
|
|
||||||
key: 'reactions',
|
key: 'reactions',
|
||||||
title: i18n.ts.reaction,
|
title: i18n.ts.reaction,
|
||||||
icon: 'ph-smiley-bold ph-large',
|
icon: 'ph-smiley-bold ph-large',
|
||||||
},
|
}] : []),
|
||||||
]
|
...(user.instance == null ? [{
|
||||||
: []),
|
|
||||||
{
|
|
||||||
key: 'clips',
|
key: 'clips',
|
||||||
title: i18n.ts.clips,
|
title: i18n.ts.clips,
|
||||||
icon: 'ph-paperclip-bold ph-large',
|
icon: 'ph-paperclip-bold ph-large',
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
key: 'pages',
|
key: 'pages',
|
||||||
title: i18n.ts.pages,
|
title: i18n.ts.pages,
|
||||||
icon: 'ph-file-text-bold ph-large',
|
icon: 'ph-file-text-bold ph-large',
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
key: 'gallery',
|
key: 'gallery',
|
||||||
title: i18n.ts.gallery,
|
title: i18n.ts.gallery,
|
||||||
icon: 'ph-image-square-bold ph-large',
|
icon: 'ph-image-square-bold ph-large',
|
||||||
},
|
}] : []),
|
||||||
]
|
]
|
||||||
: null,
|
: null,
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<MkSpacer :content-max="800">
|
||||||
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
|
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
|
||||||
<MkPagePreview v-for="page in items" :key="page.id" :page="page" class="_gap"/>
|
<MkPagePreview v-for="page in items" :key="page.id" :page="page" class="_gap"/>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
|
</MkSpacer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<MkSpacer :content-max="800">
|
||||||
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
|
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
|
||||||
<div v-for="item in items" :key="item.id" :to="`/clips/${item.id}`" class="item _panel _gap afdcfbfb">
|
<div v-for="item in items" :key="item.id" :to="`/clips/${item.id}`" class="item _panel _gap afdcfbfb">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
|
@ -10,6 +11,7 @@
|
||||||
<MkNote :key="item.id" :note="item.note"/>
|
<MkNote :key="item.id" :note="item.note"/>
|
||||||
</div>
|
</div>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
|
</MkSpacer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue