chat: move Pylon support widget from KiloClaw to Code Reviewer pages#4518
Merged
Conversation
Removes the Pylon chat widget/support button from the personal and org KiloClaw layouts and adds the same integration to the personal and org Code Reviewer layouts, mirroring the existing usage pattern.
Contributor
Author
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Reviewed by gpt-5.6-sol · Input: 48.2K · Output: 6.2K · Cached: 303.2K Review guidance: REVIEW.md from base branch |
aegis-ventures-admin
approved these changes
Jul 14, 2026
jeanduplessis
approved these changes
Jul 14, 2026
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
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.
Summary
/claw) and org-scoped (/organizations/[id]/claw) KiloClaw layouts./code-reviews) and org-scoped (/organizations/[id]/code-reviews) Code Reviewer pages via newlayout.tsxfiles, using the samePylonWidget/PylonSupportButtoncomponents and pattern already used elsewhere in the app.PYLON_IDENTITY_SECRETcomment inconfig.server.tsto reflect the new location of the support chat.Details
Pylon was previously wired up per-route-group in
apps/web/src/app/(app)/claw/layout.tsxandapps/web/src/app/(app)/organizations/[id]/claw/layout.tsx, wrapping{children}with:This PR removes that wrapping from both KiloClaw layouts and adds equivalent new
layout.tsxfiles underapps/web/src/app/(app)/code-reviews/andapps/web/src/app/(app)/organizations/[id]/code-reviews/, which previously had no layout of their own, using the identical component usage.No changes were made to
PylonWidget,PylonSupportButton, or the/api/pylon/identityroute — those are reused as-is.Testing
pnpm format:changedpasses with no diffs.pnpm typecheckwas too slow to complete within the sandbox time budget and was not run to completion; the change is a straightforward relocation of an existing, already-typechecked component usage pattern (same imports/JSX as the layouts it was removed from).Built for Alex Gold by Kilo for Slack