You've already forked AstralRinth
forked from didirus/AstralRinth
b81e727204
* feat: migrate frontend notifications to dependency injection based notificaton manager * fix: lint * fix: issues * fix: compile error + notif binding issue * refactor: move org context to new DI setup * feat: migrate app notifications to DI + frontend styling * fix: sidebar issues * fix: dont use delete in computed * fix: import and prop issue * refactor: move handleError to main notification manager class * fix: lint & build * fix: merge issues * fix: lint issues * fix: lint issues --------- Signed-off-by: IMB11 <hendersoncal117@gmail.com> Signed-off-by: Cal H. <hendersoncal117@gmail.com>
29 lines
815 B
Vue
29 lines
815 B
Vue
<template>
|
|
<div class="normal-page__content">
|
|
<div class="universal-card">
|
|
<h2>Analytics</h2>
|
|
|
|
<p>
|
|
This page shows you the analytics for your organization's projects. You can see the number
|
|
of downloads, page views and revenue earned for all of your projects, as well as the total
|
|
downloads and page views for each project by country.
|
|
</p>
|
|
</div>
|
|
|
|
<ChartDisplay :projects="projects.map((x) => ({ title: x.name, ...x }))" />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import ChartDisplay from "~/components/ui/charts/ChartDisplay.vue";
|
|
import { injectOrganizationContext } from "~/providers/organization-context.ts";
|
|
|
|
const { projects } = injectOrganizationContext();
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.markdown-body {
|
|
margin-bottom: var(--gap-md);
|
|
}
|
|
</style>
|