-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #170 #171
base: main
Are you sure you want to change the base?
Fixes #170 #171
Conversation
✅ Deploy Preview for wheresreligion ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
❌ Deploy Preview for animated-kangaroo-b914c6 failed.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the change looks aesthetically better and the test case looks good
); | ||
} | ||
|
||
test('search bar ref is assigned to the correct search bar element', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test case looks good, properly references the search bar with jest mock
<div | ||
className="flex flex-row w-[30vw] left-0 z-10 m-5 align-center items-center" | ||
className="flex flex-row w-[30vw] left-0 z-10 m-5 align-center items-center"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems like a better placement for the pop up size on the search bar
1. PR Reference
Fixes #170
2. What was changed:
Updating the introjs to enhance visual appeal by adjusting the popup's design for the search bar specifically, adding functionality to ensure the tour shows only once per user, and making sure all test cases still pass after changes
3. Why it was changed:
This update improves user experience by refining the search bars' popup aesthetics and functionality, making the tour both visually appealing and non-intrusive. This update also helps avoid redundant interruptions by making the tour only appears once per user.
4. How it was changed:
UI update:
The search bar reference was moved to a different css container so that the intro popup will point to a better reference for the search bar
Tour Display Logic:
The tour shows up only once per user by implementing a “do not show again” button.
If a user has already completed or skipped the tour, it will not appear again in future sessions.
Testing:
Writing test case for making sure the new css container shows up properly.
Making sure all previous tests still pass. (regression testing)