feat(kb-list): group pinned knowledge bases into a labeled section

On the KB list page, pinned items already sort to the top but look
identical to the rest, so at a glance you can't tell where the pinned
group ends. Add lightweight section headers ("置顶" / "其他") that
span the grid when the list transitions from pinned to unpinned, in
both the "全部" and "我的" tabs. Shared KBs never enter the pinned
group (backend doesn't pin them).

No divider line, no backend change — purely a visual grouping on the
existing sort order.
This commit is contained in:
wizardchen
2026-05-06 12:09:10 +08:00
committed by lyingbug
parent c3e53a3fc4
commit 0be4572bd5
5 changed files with 70 additions and 3 deletions
+4
View File
@@ -1753,6 +1753,10 @@ export default {
unpinSuccess: 'Откреплено',
failed: 'Операция не удалась'
},
sections: {
pinned: 'Закреплённые',
others: 'Другие'
},
messages: {
deleted: 'База знаний удалена',
deleteFailed: 'Не удалось удалить базу знаний',