From 01e3bb04b9af238d4ee398c79016eedd6bfcb8d8 Mon Sep 17 00:00:00 2001
From: Hayden <64056131+hay-kot@users.noreply.github.com>
Date: Sun, 26 Feb 2023 12:39:36 -0900
Subject: [PATCH] feat: update inline docs on group page to clarify
private/public settings (#2190)
---
frontend/components/global/DocLink.vue | 29 +++++
frontend/lang/messages/en-US.json | 7 ++
frontend/pages/group/index.vue | 141 +++++++++++++++++--------
3 files changed, 131 insertions(+), 46 deletions(-)
create mode 100644 frontend/components/global/DocLink.vue
diff --git a/frontend/components/global/DocLink.vue b/frontend/components/global/DocLink.vue
new file mode 100644
index 000000000000..2a3b510de49b
--- /dev/null
+++ b/frontend/components/global/DocLink.vue
@@ -0,0 +1,29 @@
+
+
+
+ {{ $globals.icons.folderOutline }}
+
+ {{ $tc("about.docs") }}
+
+
+
+
diff --git a/frontend/lang/messages/en-US.json b/frontend/lang/messages/en-US.json
index 0d583cb61763..36a435d377f6 100644
--- a/frontend/lang/messages/en-US.json
+++ b/frontend/lang/messages/en-US.json
@@ -209,12 +209,19 @@
"default-recipe-preferences": "Default Recipe Preferences",
"group-preferences": "Group Preferences",
"private-group": "Private Group",
+ "private-group-description": "Setting your group to private will default all public view options to default. This overrides an individual recipes public view settings.",
"allow-users-outside-of-your-group-to-see-your-recipes": "Allow users outside of your group to see your recipes",
+ "allow-users-outside-of-your-group-to-see-your-recipes-description": "When enabled you can use a public share link to share specific recipes without authorizing the user. When disabled, you can only share recipes with users who are in your group or with a pre-generated private link",
"show-nutrition-information": "Show nutrition information",
+ "show-nutrition-information-description": "When enabled the nutrition information will be shown on the recipe if available. If there is no nutrition information available, the nutrition information will not be shown",
"show-recipe-assets": "Show recipe assets",
+ "show-recipe-assets-description": "When enabled the recipe assets will be shown on the recipe if available",
"default-to-landscape-view": "Default to landscape view",
+ "default-to-landscape-view-description": "When enabled the recipe header section will be shown in landscape view",
"disable-users-from-commenting-on-recipes": "Disable users from commenting on recipes",
+ "disable-users-from-commenting-on-recipes-description": "Hides the comment section on the recipe page and disables commenting",
"disable-organizing-recipe-ingredients-by-units-and-food": "Disable organizing recipe ingredients by units and food",
+ "disable-organizing-recipe-ingredients-by-units-and-food-description": "Hides the Food, Unit, and Amount fields for ingredients and treats ingredients as plain text fields.",
"general-preferences": "General Preferences",
"group-recipe-preferences": "Group Recipe Preferences",
"report": "Report"
diff --git a/frontend/pages/group/index.vue b/frontend/pages/group/index.vue
index 67c9d9b3e9de..9b4e24678da3 100644
--- a/frontend/pages/group/index.vue
+++ b/frontend/pages/group/index.vue
@@ -4,18 +4,27 @@
- {{ $t('profile.group-settings') }}
- {{ $t('profile.group-description') }}
+ {{ $t("profile.group-settings") }}
+ {{ $t("profile.group-description") }}
-
+