feat(frontend): polish organization space UI and share-to-space panels

Redesign share-to-space settings for knowledge bases and agents with member-style
search, add popup, and table list; simplify the org picker dropdown. Also refresh
organization settings join-request review with table layout and approval popup.
This commit is contained in:
wizardchen
2026-07-23 21:00:42 +08:00
committed by lyingbug
parent 265556950b
commit 697e0ae04e
10 changed files with 1154 additions and 1107 deletions
+30
View File
@@ -3902,6 +3902,7 @@ export default {
},
share: {
description: 'Share the knowledge base with spaces so members can access and use it',
hintTitle: 'Sharing notes',
addShare: 'Share',
unshareConfirm: 'Are you sure you want to unshare from "{name}"?',
tip1: 'After sharing, space members will access this knowledge base based on the assigned permissions',
@@ -5827,6 +5828,24 @@ export default {
operations: 'Actions',
},
},
joinRequests: {
listTitle: 'Pending requests',
searchPlaceholder: 'Search applicants…',
loading: 'Loading requests…',
emptySearch: 'No requests matching "{q}"',
typeJoin: 'Join',
typeUpgrade: 'Upgrade',
rejectConfirm: 'Reject this request?',
approveTitle: 'Approve request',
approveDesc: 'Assign a role for "{name}" after approval',
columns: {
applicant: 'Applicant',
type: 'Type',
requestedRole: 'Requested role',
message: 'Note',
appliedAt: 'Applied',
},
},
sharedResources: {
kbListTitle: 'Shared knowledge bases',
agentListTitle: 'Shared agents',
@@ -6016,6 +6035,17 @@ export default {
unshareFailed: 'Failed to cancel share',
sharedTo: 'Shared to',
noShares: 'Not shared to any space yet',
searchPlaceholder: 'Search spaces…',
loading: 'Loading…',
emptySearch: 'No spaces matching "{q}"',
addShareDialogTitle: 'Share to space',
unshareAction: 'Remove share',
columns: {
space: 'Space',
permission: 'Permission',
sharedAt: 'Shared',
operations: 'Actions',
},
sharedKnowledgeBase: 'Shared Knowledge Base',
sharedFrom: 'From',
sharedBadge: 'Shared',