egirlskey/packages/client/src/pages/user/index.activity.vue

24 lines
661 B
Vue
Raw Normal View History

2018-02-15 09:33:34 +00:00
<template>
<MkContainer>
<template #header><i class="fas fa-chart-bar" style="margin-right: 0.5em;"></i>{{ $ts.activity }}</template>
<div style="padding: 8px;">
2021-10-24 03:32:41 +00:00
<MkChart src="per-user-notes" :args="{ user, withoutAll: true }" span="day" :limit="limit" :stacked="true" :detailed="false" :aspect-ratio="6"/>
</div>
</MkContainer>
2018-02-15 09:33:34 +00:00
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as misskey from 'misskey-js';
2021-11-11 17:02:25 +00:00
import MkContainer from '@/components/ui/container.vue';
import MkChart from '@/components/chart.vue';
2018-11-03 07:44:05 +00:00
const props = withDefaults(defineProps<{
user: misskey.entities.User;
limit?: number;
}>(), {
limit: 40,
2018-02-15 09:33:34 +00:00
});
</script>