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
Replace Papercups with Pylon #1948
Conversation
Your preview environment pr-1948-bttf has been deployed. Preview environment endpoints are available at: |
Looks great! Do you know why the icon for the docs isn't showing up in the widget in the 2nd screenshot? |
I don't - I looked through the Pylon app, and I see where I can set an icon for the Docs link, but I don't see how I can add a URL for an image. You can update the icon here. For now, I just selected a stack of books as a placeholder. You're welcome to change it via the link above. |
@@ -8,36 +8,33 @@ import { GBPremiumBadge } from "../Icons"; | |||
import UpgradeModal from "../Settings/UpgradeModal"; | |||
|
|||
export default function InAppHelp() { | |||
const config = useFeature("papercups-config").value; | |||
const { app_id, script_content } = useFeature("pylon-config").value; |
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 feature value will be null
if there's a network problem or the feature is toggled off for some reason. That will throw an exception here since you are using object destructuring on it.
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.
Ah, thank you!
Features and Changes
This PR updates our In-App chat widget to use the Pylon chat widget, rather than the Papercups widget. Accompanied by this, is a new Feature Flag in our GrowthBook org for
pylon-config
.This PR doesn't change any of the logic of who gets this in-app chat widget, vs the other help widget.
Screenshots