From 8560e107bca9ec48b47df5863e2f0d9bf9658183 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 31 Jan 2022 21:07:33 +0900 Subject: [PATCH] =?UTF-8?q?enhance(client):=20Chartjs=E3=81=AE=E3=83=84?= =?UTF-8?q?=E3=83=BC=E3=83=AB=E3=83=81=E3=83=83=E3=83=97=E3=82=92=E8=87=AA?= =?UTF-8?q?=E5=89=8D=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../client/src/components/chart-tooltip.vue | 51 +++++++++++++++++++ packages/client/src/components/chart.vue | 46 ++++++++++++++++- packages/client/src/components/form/range.vue | 2 +- .../client/src/components/notification.vue | 2 +- .../src/components/reaction-tooltip.vue | 6 +-- .../components/reactions-viewer.details.vue | 6 +-- .../client/src/components/renote.details.vue | 6 +-- packages/client/src/components/ui/tooltip.vue | 42 ++++++++++----- packages/client/src/directives/tooltip.ts | 6 +-- 9 files changed, 138 insertions(+), 29 deletions(-) create mode 100644 packages/client/src/components/chart-tooltip.vue diff --git a/packages/client/src/components/chart-tooltip.vue b/packages/client/src/components/chart-tooltip.vue new file mode 100644 index 0000000000..b080eaf2b4 --- /dev/null +++ b/packages/client/src/components/chart-tooltip.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/packages/client/src/components/chart.vue b/packages/client/src/components/chart.vue index d17c0c9f3e..3e46c51b47 100644 --- a/packages/client/src/components/chart.vue +++ b/packages/client/src/components/chart.vue @@ -8,7 +8,7 @@ diff --git a/packages/client/src/components/reactions-viewer.details.vue b/packages/client/src/components/reactions-viewer.details.vue index 8cec8dfa2f..eb889c4888 100644 --- a/packages/client/src/components/reactions-viewer.details.vue +++ b/packages/client/src/components/reactions-viewer.details.vue @@ -1,5 +1,5 @@