-
Notifications
You must be signed in to change notification settings - Fork 3
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
✨(frontend) add crisp chatbot #273
base: main
Are you sure you want to change the base?
Conversation
b99f2a4
to
0675d2c
Compare
0675d2c
to
f6911f3
Compare
Integrate Crisp chatbot for immediate user support access. This enables real-time interaction, enhancing user experience by providing quick assistance.
f6911f3
to
9232643
Compare
2b3e00d
to
d8b58fe
Compare
We need to add the Crisp secret at build time to the frontend container. The frontend is build from the CI pipeline and the secret is added to the container as an environment variable.
d8b58fe
to
574c167
Compare
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.
I added a few tests, I let you rebase.
We added the key in the secret as well, to be set at build time.
if (!isCrispConfigured()) { | ||
return; | ||
} | ||
Crisp.setTokenId(user.id); |
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.
I am not sure anymore of this part … let's discuss it before merging, I am reading their doc
8bb136d
to
ed944d5
Compare
Purpose
We want to add crisp chatbot to allow for easy user interaction with support team.
Proposal
We add the chatbot component using crisp-web-sdk. We initialize the chatbot with the user email to allow for follow-up.