From 9c51dbd9c9dda2dfd58d11ec9371c52a1614c8f7 Mon Sep 17 00:00:00 2001 From: Alyssa Trapp Date: Mon, 28 Apr 2025 12:23:41 -0500 Subject: [PATCH 1/3] added instructions for logout in help guide --- frontend/public/help.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/frontend/public/help.md b/frontend/public/help.md index 86230dfd..e672aaaa 100644 --- a/frontend/public/help.md +++ b/frontend/public/help.md @@ -1,6 +1,6 @@ # Getting Started -Welcome to the app! Here's how you get started... +Welcome to StressLess! Here's how you get started... # How Do I Create an Account? @@ -17,10 +17,6 @@ Welcome to the app! Here's how you get started... 3. Click the sign in button above the sign up page to sign in 4. Enter your email and password to sign in -# How Do I Sign Out? - -Unfortunately, this feature isn’t currently implemented - # How Do I Change Visibility Settings? 1. You can view the app in either dark or light mode @@ -28,6 +24,7 @@ Unfortunately, this feature isn’t currently implemented 3. If you click the sun icon, the app will change to light mode 4. If you click the moon icon, the app will change to dark mode + # User Preferences Survey @@ -64,6 +61,12 @@ You can either edit your preferences in two ways 1. If you are not on the user profile page, navigate to the user profile page by using the sidebar 2. If you want to edit your name, click on the writing pencil icon and delete the studious student name and enter the name you want your profile to say instead. +## How Do I Sign Out? +1. Click on the sidebar icon on the upper lefthand corner on either the user profile or calendar page +2. Find the profile and calendar buttons on the left and look underneath those buttons in the bottom lefthand corner of the sidebar for the sign out button +3. Click on the sign out button to log out of your account + + # Calendar @@ -129,4 +132,9 @@ You can either edit your preferences in two ways 1. You can delete an event by clicking on the event on the calendar. 2. If you click on the event, you can press the read delete button to delete the event -3. If you don’t want to delete the event, you can press the cancel button \ No newline at end of file +3. If you don’t want to delete the event, you can press the cancel button + +## How Do I Sign Out? +1. Click on the sidebar icon on the upper lefthand corner on either the user profile or calendar page +2. Find the profile and calendar buttons on the left and look underneath those buttons in the bottom lefthand corner of the sidebar for the sign out button +3. Click on the sign out button to log out of your account From b451099de1e2575d7c7b261795cbf546a60d71f2 Mon Sep 17 00:00:00 2001 From: Alyssa Trapp Date: Mon, 28 Apr 2025 12:32:07 -0500 Subject: [PATCH 2/3] added log out help guide --- frontend/src/components/Help.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Help.tsx b/frontend/src/components/Help.tsx index 2938f668..8ede1912 100644 --- a/frontend/src/components/Help.tsx +++ b/frontend/src/components/Help.tsx @@ -12,11 +12,11 @@ export const Help = () => { useEffect(() => { // Determine the current page based on the URL const path = window.location.pathname; - if(path === '/'){ + if (path === '/') { setCurrentPage('Home'); // Landing page = Home - }else if(path === '/dashboard'){ + } else if (path === '/dashboard') { setCurrentPage('dashboard/calendar'); // If route is dashboard default view is calendar - }else{ + } else { setCurrentPage(path.replace('/', '')); // Remove '/' from currentpage name } From 86db2c3721aeb7227aa271eefa6ccd7b9ba244a7 Mon Sep 17 00:00:00 2001 From: Nifemi Ogunmesa <95006475+Nogunmesa@users.noreply.github.com> Date: Mon, 28 Apr 2025 14:22:45 -0500 Subject: [PATCH 3/3] Update help.md Moved logout instruction from survey to profile page --- frontend/public/help.md | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/public/help.md b/frontend/public/help.md index e672aaaa..9796fdde 100644 --- a/frontend/public/help.md +++ b/frontend/public/help.md @@ -46,6 +46,7 @@ Welcome to StressLess! Here's how you get started... 5. Save Preferences 1. Click on save preferences when you’re satisfied with your answers. These preferences don’t have to be perfect. You can always edit them later if you change your mind. + ## How Do I Edit My Preferences in the Survey?