Commit Graph

14 Commits

Author SHA1 Message Date
Xin Wang
7b80852e03 Add runtime mode selection to AssistantPage and configure allowed development origins
Introduced a new feature in AssistantPage allowing users to select between 'pipeline' and 'realtime' runtime modes, enhancing the flexibility of the assistant's functionality. Updated the configuration to include 'allowedDevOrigins' for local development. This change improves user experience by providing clear options for runtime configurations and streamlining the development process.
2026-06-07 11:39:37 +08:00
Xin Wang
d090b49001 Enhance AssistantPage with new buttons and icon updates
Added new buttons for debugging and saving functionality, incorporating icons for better visual representation. Updated existing buttons to include icons, improving the overall user interface and interaction experience on the AssistantPage.
2026-06-07 09:21:20 +08:00
Xin Wang
02adf8991c Refactor AssistantPage layout for improved UI organization
Reorganized the AssistantPage layout by removing unnecessary div wrappers and enhancing the structure with SectionCard components for model and knowledge base configurations. This change improves readability and maintains a consistent design across the page.
2026-06-07 09:15:39 +08:00
Xin Wang
d77108d157 Enhance AssistantPage with pagination and additional mock assistants
Implemented pagination for the assistant list, allowing users to navigate through multiple pages of assistants. Added new mock assistant entries to enrich the data displayed. Updated the search functionality to reset the current page when the search query changes, improving user experience in managing assistants.
2026-06-07 08:48:42 +08:00
Xin Wang
30f520ba0b Implement assistant type selection and creation flow in AssistantPage
Added a new selection step for assistant types, allowing users to choose between different construction methods (提示词, 工作流, Dify, FastGPT) before creating an assistant. Enhanced the UI to display options with descriptions and icons, and updated the state management to handle the new view for selecting assistant types. This improves the user experience by guiding users through the assistant creation process.
2026-06-06 07:29:23 +08:00
Xin Wang
2676d61ccd Enhance AssistantPage with search functionality and UI improvements
Added a search feature to filter assistants by name, type, or ID, improving user experience in managing assistants. Updated the layout and styling for better visual appeal, including new components for badges and dropdown menus. Removed deprecated status fields from mock data to streamline the assistant list display.
2026-06-05 21:52:07 +08:00
Xin Wang
1794957bb1 Refactor Assistant navigation and update HomePage button
Updated the AppShell and Sidebar components to streamline navigation for the Assistant section, consolidating assistant-related pages under a single "assistants" key. Removed deprecated assistant sub-items and adjusted the HomePage button to link to the new assistant navigation. Enhanced the AssistantPage with a list view for managing assistants, including mock data for demonstration.
2026-06-05 16:58:13 +08:00
Xin Wang
571c67526f Revise design and UI components for AI video admin interface
Updated DESIGN.md to reflect a new editorial design approach with a navy palette and refined typography. Enhanced global styles in globals.css, including new color tokens and layout adjustments. Refactored components in AppShell, Sidebar, and Topbar for improved consistency and theming. Introduced a ThemeToggle component for user theme preferences and updated various pages to utilize new styles and components, ensuring a cohesive user experience across the application.
2026-06-05 13:48:42 +08:00
Xin Wang
b202908cfe Update AssistantPage title to include "提示词模式" for clarity on creation mode. 2026-06-05 13:18:56 +08:00
Xin Wang
762ba2b570 Simplify assistant creation form by focusing on core configuration fields.
Remove business scenario, immediate publish, and preview panel; add prompt input to basic info.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 13:13:37 +08:00
Xin Wang
7b20b6a2d8 Update global styles and refactor AssistantPage to use new UI components.
Changed primary color variables in globals.css for improved theming. Refactored AssistantPage to incorporate Select and Card components, enhancing the UI structure and consistency. Updated button styles for better visual integration.
2026-06-05 12:53:07 +08:00
Xin Wang
1dc1b2cd8b Add shadcn/ui components and refactor assistant form to use them.
Set up the design system with Radix-based primitives, theme tokens, and replace custom form controls on the assistant page with shared UI components.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 12:37:56 +08:00
Xin Wang
f81414c88f Add assistant creation flows with prompt and workflow modes.
Build the prompt-mode creation form, add a workflow page, and reorganize sidebar navigation into assistant sub-routes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 10:56:13 +08:00
Xin Wang
bcb6adcba4 Add admin dashboard shell with sidebar navigation and page scaffolds.
Replace the default Next.js landing page with a client-side AppShell layout, placeholder pages for each admin section, and UI utility dependencies.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 07:42:45 +08:00