Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions apps/web/src/app/(app)/claw/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { getUserFromAuthOrRedirect } from '@/lib/user/server';
import { PylonWidget } from '@/components/pylon-widget';
import { PylonSupportButton } from '@/components/pylon-support-button';
import { PersonalInstancePresenceMount } from './components/PersonalInstancePresenceMount';

export default async function ClawLayout({ children }: { children: React.ReactNode }) {
Expand All @@ -9,9 +7,6 @@ export default async function ClawLayout({ children }: { children: React.ReactNo
<>
<PersonalInstancePresenceMount />
{children}
<PylonWidget>
<PylonSupportButton />
</PylonWidget>
</>
);
}
13 changes: 13 additions & 0 deletions apps/web/src/app/(app)/code-reviews/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { PylonWidget } from '@/components/pylon-widget';
import { PylonSupportButton } from '@/components/pylon-support-button';

export default function CodeReviewsLayout({ children }: { children: React.ReactNode }) {
return (
<>
{children}
<PylonWidget>
<PylonSupportButton />
</PylonWidget>
</>
);
}
5 changes: 0 additions & 5 deletions apps/web/src/app/(app)/organizations/[id]/claw/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
import { PylonSupportButton } from '@/components/pylon-support-button';
import { PylonWidget } from '@/components/pylon-widget';
import { OrgInstancePresenceMount } from './components/OrgInstancePresenceMount';

export default function OrgClawLayout({ children }: { children: React.ReactNode }) {
return (
<>
<OrgInstancePresenceMount />
{children}
<PylonWidget>
<PylonSupportButton />
</PylonWidget>
</>
);
}
13 changes: 13 additions & 0 deletions apps/web/src/app/(app)/organizations/[id]/code-reviews/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { PylonWidget } from '@/components/pylon-widget';
import { PylonSupportButton } from '@/components/pylon-support-button';

export default function OrgCodeReviewsLayout({ children }: { children: React.ReactNode }) {
return (
<>
{children}
<PylonWidget>
<PylonSupportButton />
</PylonWidget>
</>
);
}
2 changes: 1 addition & 1 deletion apps/web/src/lib/config.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ export const SECURITY_CLEANUP_BETTERSTACK_HEARTBEAT_URL = getEnvVariable(
'SECURITY_CLEANUP_BETTERSTACK_HEARTBEAT_URL'
);

// Pylon chat widget (support chat on KiloClaw pages).
// Pylon chat widget (support chat on Code Reviewer pages).
// PYLON_IDENTITY_SECRET is the shared secret from the Pylon dashboard used to HMAC-sign
// the user's email so the widget can verify the end user's identity.
export const PYLON_IDENTITY_SECRET = getEnvVariable('PYLON_IDENTITY_SECRET') || '';
Expand Down