Features: Memory page rendering and other bug fixes (#11784)

### What problem does this PR solve?

Features: Memory page rendering and other bug fixes
- Rendering of the Memory list page
- Rendering of the message list page in Memory
- Fixed an issue where the empty state was incorrectly displayed when
search criteria were applied
- Added a web link for the API-Key
- modifying the index_mode attribute of the Confluence data source.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
chanx
2025-12-08 10:17:56 +08:00
committed by GitHub
parent 3285f09c92
commit 660fa8888b
55 changed files with 2047 additions and 218 deletions

View File

@ -11,6 +11,10 @@ export enum Routes {
Agent = '/agent',
AgentTemplates = '/agent-templates',
Agents = '/agents',
Memories = '/memories',
Memory = '/memory',
MemoryMessage = '/memory-message',
MemorySetting = '/memory-setting',
AgentList = '/agent-list',
Searches = '/next-searches',
Search = '/next-search',
@ -89,6 +93,7 @@ const routes = [
path: Routes.AgentList,
component: `@/pages/${Routes.Agents}`,
},
{
path: '/document/:id',
component: '@/pages/document-viewer',
@ -149,6 +154,41 @@ const routes = [
},
],
},
{
path: Routes.Memories,
layout: false,
component: '@/layouts/next',
routes: [
{
path: Routes.Memories,
component: `@/pages${Routes.Memories}`,
},
],
},
{
path: `${Routes.Memory}`,
layout: false,
component: '@/layouts/next',
routes: [
{
path: `${Routes.Memory}`,
layout: false,
component: `@/pages${Routes.Memory}`,
routes: [
{
path: `${Routes.Memory}/${Routes.MemoryMessage}/:id`,
component: `@/pages${Routes.Memory}${Routes.MemoryMessage}`,
},
{
path: `${Routes.Memory}/${Routes.MemorySetting}/:id`,
component: `@/pages${Routes.Memory}${Routes.MemorySetting}`,
},
],
},
],
// component: `@/pages${Routes.DatasetBase}`,
// component: `@/pages${Routes.Memory}`,
},
{
path: `${Routes.Search}/:id`,
layout: false,