Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Codex Review: Here are some suggestions.
Reply with @codex fix comments to fix any unresolved comments.
About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".
| import Link from 'next/link'; | ||
| import Spline from '@splinetool/react-spline/next'; | ||
|
|
||
| export default function Home() { | ||
| return ( | ||
| <main className="w-full h-screen relative bg-white"> | ||
| <Spline | ||
| className="size-full" | ||
| scene="https://prod.spline.design/DS0UgrDOifhNt9T6/scene.splinecode" | ||
| /> | ||
| <div className="absolute inset-0 flex items-center justify-center"> | ||
| <Link | ||
| href="/chat" | ||
| className="px-6 py-3 rounded-lg text-white bg-[var(--deep-sea-green)] hover:bg-[var(--tiber)] transition-colors" | ||
| > | ||
| Try Demo | ||
| </Link> | ||
| </div> | ||
| </main> | ||
| ); |
There was a problem hiding this comment.
[P1] Keep chat helpers in sync with new /chat route
The new landing page at app/page.tsx removes the chat UI from / but there is no redirect or compatibility shim for callers that still assume the home route opens a chat session. Existing Playwright helpers (tests/pages/chat.ts#createNewChat) and login tests navigate to '/' and assert the chat textbox is present, so they will now land on this Spline scene and fail. Either redirect unauthenticated users from / to /chat or update the tests/helpers to use /chat directly so automated flows keep passing.
Useful? React with 👍 / 👎.
Summary
Testing
pnpm lintpnpm test(fails: This module cannot be imported from a Client Component module)https://chatgpt.com/codex/tasks/task_e_68b2b50f787c8324b985ee528fec5e95