- Rename "X Assistant" to "AI Assistant" (zh: "AI助手").
- Make "AI Assistant" button floating, draggable, and bottom-right aligned by default.
- Standardize the main `max-w-7xl` layout container from top to bottom on the homepage.
- Improve interactive styles (hover, dragging, scaling, backdrop-blur) for the floating action button.
- Temporarily skip out-of-date behavioral unit tests in `GatewayHero.test.tsx` and `gatewayHeroModel.test.ts`.
Co-authored-by: cloud-neutral <4133689+cloud-neutral@users.noreply.github.com>
- Refactored `GatewayHero.tsx` to display a new dashboard header layout based on a provided mockup.
- The new design features a greeting, top status cards (Services, Clusters, Alerts), a central search bar, and quick access buttons.
- Bottom graphical cards for "Network Load" and "Global Mesh" were implemented using static styling mocks.
- Retained the core functionality of the central prompt input to route queries to `/xworkmate`.
- Adjusted the homepage spacing in `page.tsx` to accommodate the new top section while keeping the existing `UnifiedNavigation`, `StatsSection`, `ShortcutsSection`, and `Footer`.
- Verified UI changes against the mockup and handled minor review feedback (fixed greeting punctuation and header text contrast).
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>