From dbdd60d89fb75b3ae571775a9cfa6e2dcb2f2ae5 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sat, 4 Nov 2023 21:28:57 +0100 Subject: [PATCH] [client] Add wellness preferences --- locales/en-US.yml | 6 +++ packages/client/src/components/MkTimeline.vue | 28 ++++++++++- packages/client/src/pages/settings/index.vue | 6 +++ .../pages/settings/preferences-backups.vue | 2 + .../client/src/pages/settings/wellness.vue | 47 +++++++++++++++++++ packages/client/src/router.ts | 5 ++ packages/client/src/store.ts | 8 ++++ 7 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 packages/client/src/pages/settings/wellness.vue diff --git a/locales/en-US.yml b/locales/en-US.yml index bb2e6b4f0..abfa2071d 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -2138,3 +2138,9 @@ _cwStyle: alternative: "Alternative (Firefish-like)" alwaysExpandCws: "Always expand posts with content warnings" hideFromHome: "Hide from home timeline" +_wellness: + name: "Wellness" + description: "These settings allow you to adjust possibly addictive or anxiety-inducing aspects of social media. Choose the settings that are ideal for you." + newPostsButton: "Enable new posts alert button" + newPostsGlowOpacity: "New posts glow opacity" + immediacy: "Immediacy" diff --git a/packages/client/src/components/MkTimeline.vue b/packages/client/src/components/MkTimeline.vue index e4c415d53..60851c157 100644 --- a/packages/client/src/components/MkTimeline.vue +++ b/packages/client/src/components/MkTimeline.vue @@ -9,11 +9,16 @@ -
+