From dc5b4a04026f88367e484933334028ac417c9d67 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 6 Jan 2023 13:25:49 +0900 Subject: [PATCH] enhance(client): show fireworks when visit user who today is birthday Resolve #9476 --- CHANGELOG.md | 1 + packages/frontend/package.json | 1 + packages/frontend/src/pages/user/home.vue | 34 +++++++++++++++++++++++ yarn.lock | 8 ++++++ 4 files changed, 44 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 556fe12868..6cda5537dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,6 +80,7 @@ You should also include the user name that made the change. - Client: add user list widget @syuilo - Client: add heatmap of daily active users to about page @syuilo - Client: introduce fluent emoji @syuilo +- Client: show fireworks when visit user who today is birthday @syuilo - Client: show bot warning on screen when logged in as bot account @syuilo - Client: improve overall performance of client @syuilo - Client: ui tweaks @syuilo diff --git a/packages/frontend/package.json b/packages/frontend/package.json index d151a7b3af..98230d6ceb 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -20,6 +20,7 @@ "blurhash": "2.0.4", "broadcast-channel": "4.19.1", "browser-image-resizer": "git+https://github.com/misskey-dev/browser-image-resizer#v2.2.1-misskey.3", + "canvas-confetti": "^1.6.0", "chart.js": "4.1.1", "chartjs-adapter-date-fns": "3.0.0", "chartjs-chart-matrix": "^1.3.0", diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index 11a7ee3b8a..d9d7fc826c 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -110,6 +110,7 @@