From c80d91dc3887c54e2c58448adf56edfa62ed9242 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 13 Jun 2023 17:04:17 -0700 Subject: [PATCH 01/15] chore: formatting --- packages/backend/src/server/web/boot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/server/web/boot.js b/packages/backend/src/server/web/boot.js index 4022a6bfb0..d3b7c3b823 100644 --- a/packages/backend/src/server/web/boot.js +++ b/packages/backend/src/server/web/boot.js @@ -97,7 +97,8 @@ let fontSize = localStorage.getItem("fontSize"); if (fontSize) { - if (fontSize < 10) { // need to do this for now, as values before were 1, 2, 3 depending on the option + if (fontSize < 10) { + // need to do this for now, as values before were 1, 2, 3 depending on the option localStorage.setItem("fontSize", null); fontSize = localStorage.getItem("fontSize"); } From 5a7aca3b91ef687c0472ba91d4530771b3fabbe8 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 13 Jun 2023 17:06:32 -0700 Subject: [PATCH 02/15] fix: "24"th hour doesn't exist, it's 0 --- packages/client/src/pages/user/home.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/client/src/pages/user/home.vue b/packages/client/src/pages/user/home.vue index 9c4e97a4cc..83dba3628c 100644 --- a/packages/client/src/pages/user/home.vue +++ b/packages/client/src/pages/user/home.vue @@ -400,9 +400,11 @@ const timeForThem = $computed(() => { timeZone: tz, hour12: false, }); - return ` (${theirTime.split(",")[1].trim().split(":")[0]}:${theirTime - .split(" ")[1] - .slice(-5, -3)})`; + return ` (${theirTime + .split(",")[1] + .trim() + .split(":")[0] + .replace("24", "0")}:${theirTime.split(" ")[1].slice(-5, -3)})`; } return ""; From beb96f7cff9a147ec7b8e084974c6ec9e2201961 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 13 Jun 2023 17:15:00 -0700 Subject: [PATCH 03/15] feat: :monocle_face: bring back misskey's moderation displays on profile --- packages/client/src/components/MkSignin.vue | 9 ++++++- packages/client/src/pages/user/home.vue | 24 +++++++++++++++---- .../src/scripts/show-suspended-dialog.ts | 10 -------- 3 files changed, 28 insertions(+), 15 deletions(-) delete mode 100644 packages/client/src/scripts/show-suspended-dialog.ts diff --git a/packages/client/src/components/MkSignin.vue b/packages/client/src/components/MkSignin.vue index 59f066f6e6..c95d89bd1d 100644 --- a/packages/client/src/components/MkSignin.vue +++ b/packages/client/src/components/MkSignin.vue @@ -160,7 +160,6 @@