-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(support): revamp in-app support experience #8875
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
Merged
Merged
Conversation
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
FroeMic
commented
Sep 2, 2025
FroeMic
commented
Sep 2, 2025
FroeMic
commented
Sep 2, 2025
marcklingen
reviewed
Sep 3, 2025
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.
- can remove plain from csp headers
gongxh13
pushed a commit
to gongxh13/langfuse
that referenced
this pull request
Sep 4, 2025
* Add support form and drawer scaffolding * style changes * fix flickering * style support drawer into section * update form * refactor to use useForm hook * add initial trpc router for creating chats * add plainRouter and remove legacy chat * refactor plain trpc route to fire and forget non-critical updates * update success section * add mobile support view * make interaction type conditional * add community section * replace support-menu-dropdown with supportmenu-button * add entitlement in-app-support to all cloud plans * make plain call synchronous * add file upload * fix lint error * remove unused code * add first implementation of threadEvents * remove auto-open on project create * remove auto-open on tracing api generation * remove comments * remove old trpc route * remove unused function * simplify function return * reduce input surface of createThread procedure * simplified layout * make drawer props more explicit * remove duplicate threadFields * remove misleading button * refactor trpc router and plain client * add support for uiCustomization * remove plain chat from csp * strict equality * replace radio buttons
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.
What does this PR do?
Replaces the plain in-app chat with a structured Support Form in a Drawer component to route users to the right resources, collect key metadata for faster responses, and set clearer response expectations for users.
Motivation
✨ Improve support quality and resolution speed by ensuring tickets are structured and enriched with the right context.
Key Changes
plainRouter
(tRPC) to create support threads, ensure tenant/tier, and attach thread fieldsin-app-support
(enabled for all cloud plans)react-dropzone
Demo - Desktop
Note: Ask AI and Docs link open in new tab (not properly shown)
CleanShot.2025-09-02.at.19.45.48.mp4
Demo - Mobile
CleanShot.2025-09-02.at.19.48.09.mp4
Discussion
Type of change
Important
Revamps in-app support by replacing chat with a structured support form, adding new UI components, and integrating backend support for handling requests and file uploads.
SupportDrawer
.SupportDrawerProvider
for global drawer state management.SupportFormSection
for submitting support requests with metadata and file attachments.IntroSection
andSuccessSection
guide users through support options.plainRouter
inplainRouter.ts
for handling support thread creation and file uploads.plainClient.ts
for customer and thread management.supportRequestMetadataEvent.ts
for logging support request metadata.RainbowButton
for styled buttons.Dropzone
component for file uploads in support form.layout.tsx
to includeSupportDrawer
andResizableContent
for responsive design.PlainChat
and related chat functions.routes.tsx
to includeSupportButton
in navigation.in-app-support
entitlement inentitlements.ts
.This description was created by
for 7c06718. You can customize this summary. It will automatically update as commits are pushed.