Skip to content

chat: move Pylon support widget from KiloClaw to Code Reviewer pages#4518

Merged
alexkgold merged 2 commits into
mainfrom
chat/move-pylon-widget-to-code-reviewer
Jul 14, 2026
Merged

chat: move Pylon support widget from KiloClaw to Code Reviewer pages#4518
alexkgold merged 2 commits into
mainfrom
chat/move-pylon-widget-to-code-reviewer

Conversation

@kilo-code-bot

@kilo-code-bot kilo-code-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removes the Pylon chat widget/support button from the personal (/claw) and org-scoped (/organizations/[id]/claw) KiloClaw layouts.
  • Adds the same Pylon integration to the personal (/code-reviews) and org-scoped (/organizations/[id]/code-reviews) Code Reviewer pages via new layout.tsx files, using the same PylonWidget / PylonSupportButton components and pattern already used elsewhere in the app.
  • Updates the PYLON_IDENTITY_SECRET comment in config.server.ts to 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.tsx and apps/web/src/app/(app)/organizations/[id]/claw/layout.tsx, wrapping {children} with:

<PylonWidget>
  <PylonSupportButton />
</PylonWidget>

This PR removes that wrapping from both KiloClaw layouts and adds equivalent new layout.tsx files under apps/web/src/app/(app)/code-reviews/ and apps/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/identity route — those are reused as-is.

Testing

  • pnpm format:changed passes with no diffs.
  • Repo-wide pnpm typecheck was 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).
image

Built for Alex Gold by Kilo for Slack

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.
@kilo-code-bot

kilo-code-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (5 files)
  • apps/web/src/app/(app)/claw/layout.tsx
  • apps/web/src/app/(app)/code-reviews/layout.tsx
  • apps/web/src/app/(app)/organizations/[id]/claw/layout.tsx
  • apps/web/src/app/(app)/organizations/[id]/code-reviews/layout.tsx
  • apps/web/src/lib/config.server.ts

Reviewed by gpt-5.6-sol · Input: 48.2K · Output: 6.2K · Cached: 303.2K

Review guidance: REVIEW.md from base branch main

@alexkgold alexkgold enabled auto-merge (squash) July 14, 2026 16:17
@alexkgold alexkgold merged commit 5b0fcca into main Jul 14, 2026
14 checks passed
@alexkgold alexkgold deleted the chat/move-pylon-widget-to-code-reviewer branch July 14, 2026 18:53
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.

3 participants