- Ensure `export const dynamic = "force-dynamic"` is placed after imports and before the component in `admin/page.tsx` and `integrations/page.tsx` to prevent Next.js prerender errors where global dynamic layout rules were incorrectly caching `headers()`.
Co-authored-by: cloud-neutral <4133689+cloud-neutral@users.noreply.github.com>
- 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>
The layout.tsx applies `export const dynamic = 'error'` globally, which causes the build to fail for routes that use dynamic functions like `headers()`. This commit explicitly adds `export const dynamic = 'force-dynamic'` to the `/xworkmate/page.tsx`, `/xworkmate/admin/page.tsx`, and `/xworkmate/integrations/page.tsx` routes, resolving the Next.js static rendering build error.
Co-authored-by: cloud-neutral <4133689+cloud-neutral@users.noreply.github.com>
Add docs/ui-refactor-proposal.md to outline the UI theme and style refactoring plan, including design system tokens, typography, responsive layout strategies, semantic navigation menu refactoring, and accessibility testing guidelines as requested.
Co-authored-by: cloud-neutral <4133689+cloud-neutral@users.noreply.github.com>