WeKnora/frontend/src
adawang 6efd2093f5 fix(frontend): list writable shared KBs in manual knowledge editor
The "add to knowledge base" action on the chat page opens the manual
editor, whose target picker was populated only from listKnowledgeBases()
— the caller's own KBs. A user who was granted editor access to a shared
KB therefore could not select it, even though the backend
(CreateManualKnowledge) accepts editor/admin permission.

Also fetch shared knowledge bases and merge those the user can write to
(editor/admin) into the picker, de-duplicated against owned KBs and
limited to document-type KBs. Viewer-only shares stay excluded.

Fixes #1689

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 16:41:38 +08:00
..
api Add embedding dimension override support 2026-06-15 19:18:19 +08:00
assets feat(ui): update SVG assets and enhance localization for knowledge framework 2026-06-04 15:48:04 +08:00
components fix(frontend): list writable shared KBs in manual knowledge editor 2026-06-16 16:41:38 +08:00
composables feat(chat): improve chat layout and suggested questions UX 2026-06-16 01:21:19 +08:00
config feat(user-guide): update NewUserGuide and UserMenu for improved onboarding experience 2026-06-04 15:48:04 +08:00
hooks feat(frontend): implement marquee selection for knowledge base 2026-06-10 11:02:57 +08:00
i18n feat: add EPUB and MHTML document support 2026-06-16 11:25:27 +08:00
router feat(embed): add widget, visitor chat, and management UI (#1657) 2026-06-12 23:10:39 +08:00
stores feat(auth): clear session resource caches on logout to prevent data leakage 2026-06-15 17:46:08 +08:00
types feat(chat): refactor agent stream display and tool result rendering 2026-06-16 01:21:19 +08:00
utils fix(wiki): use placeholder src for protected provider images to avoid failed initial loads 2026-06-16 12:24:01 +08:00
views fix(wiki): use placeholder src for protected provider images to avoid failed initial loads 2026-06-16 12:24:01 +08:00
wailsjs feat: implement automatic update checking and downloading functionality in the desktop app, enhancing user experience with seamless updates and corresponding UI settings 2026-04-11 18:51:16 +08:00
App.vue feat(client): enhance knowledge file upload with process configuration support 2026-06-09 20:38:24 +08:00
embed-main.ts feat(embed): add widget, visitor chat, and management UI (#1657) 2026-06-12 23:10:39 +08:00
main.ts feat(chat): add shared markdown rendering pipeline 2026-06-16 01:09:55 +08:00