Mirror of https://github.com/roostorg/coop github.com/roostorg/coop
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: rename "Employee Safety" to "Wellness" in settings UI (#394)

"Employee Safety" assumes org members are employees, which doesn't fit
contractors, volunteers, etc. Renames the user-visible copy to
"Wellness" / "user".

authored by

Samuel Ralak and committed by
GitHub
51d44b9a 10699660

+13 -13
+1 -1
client/src/components/Sidebar.tsx
··· 43 43 'Integrations', 44 44 'Appeal Settings', 45 45 'Users', 46 - 'Employee Safety', 46 + 'Wellness', 47 47 'NCMEC Settings', 48 48 'SSO', 49 49 'Organization',
+1 -1
client/src/webpages/dashboard/Dashboard.tsx
··· 649 649 } 650 650 : null, 651 651 { 652 - title: 'Employee Safety' as const, 652 + title: 'Wellness' as const, 653 653 urlPath: 'org_safety_settings', 654 654 requiredPermissions: [GQLUserPermission.ManageOrg], 655 655 },
+1 -1
client/src/webpages/settings/AccountSettings.tsx
··· 563 563 )} 564 564 565 565 <div className="mb-8"> 566 - <Heading>Safety Settings</Heading> 566 + <Heading>Wellness</Heading> 567 567 <Text size="SM"> 568 568 These are your personal default settings. Every time you view a 569 569 reported image or video in Coop, these settings will be
+10 -10
client/src/webpages/settings/OrgSafetySettings.tsx
··· 60 60 const [saveSafetySettings, { loading: isSafetySettingsMutationLoading }] = 61 61 useGQLSetOrgDefaultSafetySettingsMutation({ 62 62 onCompleted: () => { 63 - toast.success('Default safety settings saved!'); 63 + toast.success('Default wellness settings saved!'); 64 64 }, 65 65 onError: () => { 66 66 toast.error( 67 - "Your organization's safety settings failed to save. Please try again.", 67 + "Your organization's wellness settings failed to save. Please try again.", 68 68 ); 69 69 }, 70 70 }); ··· 90 90 } 91 91 92 92 if (error || !data?.myOrg?.defaultInterfacePreferences) { 93 - throw error ?? new Error('Could not load safety settings'); 93 + throw error ?? new Error('Could not load wellness settings'); 94 94 } 95 95 96 96 return ( 97 97 <> 98 98 <Helmet> 99 - <title>Default Organization Safety Settings</title> 99 + <title>Default Wellness Settings</title> 100 100 </Helmet> 101 101 102 102 <div className="w-[700px]"> 103 103 <Heading size="2XL" className="mb-2"> 104 - Standardize Your Organization's Safety Settings 104 + Default Wellness Settings 105 105 </Heading> 106 106 <Text size="SM" className="mb-12"> 107 - Configure your organization's default safety settings. When a new 108 - employee joins your team and needs to use Coop, these settings 109 - will be applied by default to maintain their safety and well-being. 110 - If an employee wants to override these settings, they can do so in 111 - their personal Safety Settings. 107 + Configure your organization's default wellness settings. When a new 108 + user joins your team and needs to use Coop, these settings 109 + will be applied by default to maintain their safety and well-being. 110 + If a user wants to override these settings, they can do so in 111 + their personal Wellness settings. 112 112 </Text> 113 113 <div className="flex gap-12 mb-8"> 114 114 <div className="flex flex-col gap-5 w-64 pt-10">