Skip to content
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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Fixes #170 #171

wants to merge 5 commits into from

Conversation

amychen108
Copy link
Collaborator

@amychen108 amychen108 commented Nov 7, 2024

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)

Copy link

netlify bot commented Nov 7, 2024

Deploy Preview for wheresreligion ready!

Name Link
🔨 Latest commit 7aa3d02
🔍 Latest deploy log https://app.netlify.com/sites/wheresreligion/deploys/6734149365314d0008ce2849
😎 Deploy Preview https://deploy-preview-171--wheresreligion.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 7, 2024

Deploy Preview for animated-kangaroo-b914c6 failed.

Name Link
🔨 Latest commit 7aa3d02
🔍 Latest deploy log https://app.netlify.com/sites/animated-kangaroo-b914c6/deploys/6734149311df060008d61c68

Copy link
Collaborator

@jwang-101 jwang-101 left a 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', () => {
Copy link
Collaborator

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">
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update on Frontend Introjs Tour Popup Part 2
2 participants