- Removed rounded corners and excess padding for a compact, simple feel. - Added a collapsible sidebar to preserve space while keeping existing icons. - Re-architected XWorkmateWorkspacePage layout to put chat/action bar at the bottom with a flex-grow central space. - Added suggested chips (Slides, Video Gen, Deep Research, etc.) for quick tasks. - Abstracted `pickCopy` to use generics to fix type errors. - Added Next.js `force-dynamic` explicit rule to `/xworkmate` to allow `headers()` resolution statically conflicting with `dynamic = 'error'` in root layout. Co-authored-by: cloud-neutral <4133689+cloud-neutral@users.noreply.github.com>
1.8 KiB
1.8 KiB
▲ Next.js 16.1.6 (Turbopack)
- Local: http://localhost:3000
- Network: http://192.168.0.2:3000
✓ Starting...
✓ Ready in 2.3s
[runtime-config] Loaded env: PROD
⨯ Error: Route /xworkmate with `dynamic = "error"` couldn't be rendered statically because it used `headers()`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering
at XWorkmatePage (src/app/xworkmate/page.tsx:27:39)
25 |
26 | export default async function XWorkmatePage() {
> 27 | const requestHeaders = await headers();
| ^
28 | const requestHost = normalizeXWorkmateHost(
29 | requestHeaders.get("x-forwarded-host") ?? requestHeaders.get("host"),
30 | ); {
code: 'NEXT_STATIC_GEN_BAILOUT',
digest: '2865210998@E828'
}
GET /xworkmate 500 in 998ms (compile: 424ms, render: 574ms)
- Local: http://localhost:3000
- Network: http://192.168.0.2:3000
✓ Starting...
✓ Ready in 2.3s
[runtime-config] Loaded env: PROD
⨯ Error: Route /xworkmate with `dynamic = "error"` couldn't be rendered statically because it used `headers()`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering
at XWorkmatePage (src/app/xworkmate/page.tsx:27:39)
25 |
26 | export default async function XWorkmatePage() {
> 27 | const requestHeaders = await headers();
| ^
28 | const requestHost = normalizeXWorkmateHost(
29 | requestHeaders.get("x-forwarded-host") ?? requestHeaders.get("host"),
30 | ); {
code: 'NEXT_STATIC_GEN_BAILOUT',
digest: '2865210998@E828'
}
GET /xworkmate 500 in 998ms (compile: 424ms, render: 574ms)