diff --git a/package.json b/package.json index 0f41e29d1d..955e68792b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "13.2.0-dev36", + "version": "13.2.0-dev37", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/components/MkHeatmap.vue b/packages/client/src/components/MkHeatmap.vue index 1af278b233..c3010109ff 100644 --- a/packages/client/src/components/MkHeatmap.vue +++ b/packages/client/src/components/MkHeatmap.vue @@ -25,6 +25,7 @@ import { useChartTooltip } from "@/scripts/use-chart-tooltip"; import { chartVLine } from "@/scripts/chart-vline"; import { alpha } from "@/scripts/color"; import { initChart } from "@/scripts/init-chart"; +import { $i } from "@/account"; initChart(); @@ -108,6 +109,13 @@ async function renderChart() { span: "day", }); values = raw.deliverFailed; + } else if (props.src === "user-notes") { + const raw = await os.api("charts/user/notes", { + limit: 7 * 21, + span: "day", + userId: $i.id, + }); + values = raw.total; } fetching = false; diff --git a/packages/client/src/widgets/activity.vue b/packages/client/src/widgets/activity.vue index b148d39345..6292431afd 100644 --- a/packages/client/src/widgets/activity.vue +++ b/packages/client/src/widgets/activity.vue @@ -9,11 +9,14 @@ >{{ i18n.ts._widgets.activity }} -