feat(creator_name): add creator_name field to agents and knowledge bases for enhanced visibility
Introduced a new optional field, creator_name, in both CustomAgent and KnowledgeBase types to allow the front end to display the creator's name. This enhancement enables better differentiation between resources created by the current user and those created by other members of the same tenant. Updated relevant API handlers to populate this field during list operations, ensuring accurate representation in the UI. Additionally, modified the ResourceOriginBadge component to utilize the creator_name for improved context in resource listings. Refs: #1303
This commit is contained in:
@@ -425,6 +425,11 @@ export default {
|
||||
mine: 'My Agents',
|
||||
sharedToMe: 'Shared to Me',
|
||||
},
|
||||
sections: {
|
||||
tenantReadonly: 'Workspace · View only',
|
||||
sharedEditable: 'Shared with me · Can edit',
|
||||
sharedReadonly: 'Shared with me · View only',
|
||||
},
|
||||
empty: {
|
||||
title: 'No Custom Agents',
|
||||
description: 'Click the button in the top right to create your first agent',
|
||||
@@ -1618,6 +1623,9 @@ export default {
|
||||
sections: {
|
||||
pinned: 'Pinned',
|
||||
others: 'Others',
|
||||
tenantReadonly: 'Workspace · View only',
|
||||
sharedEditable: 'Shared with me · Can edit',
|
||||
sharedReadonly: 'Shared with me · View only',
|
||||
},
|
||||
messages: {
|
||||
deleted: 'Knowledge base deleted',
|
||||
|
||||
Reference in New Issue
Block a user