Merged
Conversation
trappaly
reviewed
Apr 28, 2025
| **How Do I Use the User Preferences Survey?** | ||
| ## How Do I Use the User Preferences Survey? | ||
|
|
||
| 1. Most Productive Time |
trappaly
reviewed
Apr 28, 2025
| const path = window.location.pathname; | ||
| if(path === '/'){ | ||
| setCurrentPage('Home'); // Landing page = Home | ||
| }else if(path === '/dashboard'){ |
Collaborator
There was a problem hiding this comment.
Makes sure only certain help files should on certain pages
trappaly
reviewed
Apr 28, 2025
Collaborator
There was a problem hiding this comment.
Overall it looks a lot better than before! Just need to add in instructions for log out button now because before it said it wasn't currently implemented, but now it is. I wrote some instructions for log out button in notion document if you want to use those. Also we should prob put log out instructions on calendar and profile page help buttons instead of the home page or because that's where the log out button is located or we can put instructions for log out on all of the pages as well.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This update modifies the help button to display different instructions based on the current page. The markdown formatting has also been adjusted to ensure the instructions appear correctly.
Changes Made:
-The help button now shows context-specific instructions, depending on the page.
-Adjusted markdown formatting for improved display and clarity of instructions.
What to Test:
-Help Button Functionality: Verify that the help button displays the correct instructions for different pages.
-Markdown Rendering: Ensure that the markdown is rendered correctly and is properly formatted across all pages.
-Usability: Check that the help button works smoothly and the instructions are clear, without causing layout or functionality issues.