enhance(client): improve user activity page
This commit is contained in:
parent
4ffbbbe6d8
commit
5320f23017
6 changed files with 386 additions and 68 deletions
|
|
@ -2,11 +2,19 @@
|
|||
<MkSpacer :content-max="700">
|
||||
<div class="_gaps">
|
||||
<MkFolder class="item">
|
||||
<template #header>Heatmap</template>
|
||||
<template #header><i class="ti ti-activity"></i> Heatmap</template>
|
||||
<XHeatmap :user="user" :src="'notes'"/>
|
||||
</MkFolder>
|
||||
<MkFolder class="item">
|
||||
<template #header>PV</template>
|
||||
<template #header><i class="ti ti-pencil"></i> Notes</template>
|
||||
<XNotes :user="user"/>
|
||||
</MkFolder>
|
||||
<MkFolder class="item">
|
||||
<template #header><i class="ti ti-users"></i> Following</template>
|
||||
<XFollowing :user="user"/>
|
||||
</MkFolder>
|
||||
<MkFolder class="item">
|
||||
<template #header><i class="ti ti-eye"></i> PV</template>
|
||||
<XPv :user="user"/>
|
||||
</MkFolder>
|
||||
</div>
|
||||
|
|
@ -18,6 +26,8 @@ import { computed } from 'vue';
|
|||
import * as misskey from 'misskey-js';
|
||||
import XHeatmap from './activity.heatmap.vue';
|
||||
import XPv from './activity.pv.vue';
|
||||
import XNotes from './activity.notes.vue';
|
||||
import XFollowing from './activity.following.vue';
|
||||
import MkFolder from '@/components/MkFolder.vue';
|
||||
|
||||
const props = defineProps<{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue