feat(frontend): tree view resource selector with cascading selection

- Render resources as expandable tree with parent-child indentation
- Cascade check/uncheck to all descendants
- Add has_children to Resource API type
- Add 'untitled' i18n key for en-US, zh-CN, ko-KR, ru-RU
This commit is contained in:
nullkey
2026-04-06 23:32:02 +08:00
committed by lyingbug
parent 2cd979e1ea
commit 11b30fdd61
6 changed files with 175 additions and 12 deletions
+1
View File
@@ -3449,6 +3449,7 @@ export default {
connectionFailed: 'Connection failed',
isRequired: 'is required',
resourceHint: 'Select the spaces or folders to sync',
untitled: 'Untitled',
resourceLoadFailed: 'Failed to load resources',
noResources: 'No wiki spaces found',
noResourcesDesc: 'The app needs wiki access via a group chat to fetch content',
+1
View File
@@ -3501,6 +3501,7 @@ export default {
connectionFailed: "연결 실패",
isRequired: "은(는) 필수입니다",
resourceHint: "동기화할 공간/폴더를 선택하세요",
untitled: "제목 없음",
resourceLoadFailed: "리소스 목록 로드 실패",
noResources: "동기화 가능한 위키 공간을 찾을 수 없습니다",
noResourcesHint: "먼저 데이터 소스를 저장하고 권한 설정을 확인하세요",
+1
View File
@@ -3408,6 +3408,7 @@ export default {
connectionFailed: 'Подключение не удалось',
isRequired: 'обязательно для заполнения',
resourceHint: 'Выберите пространства или папки для синхронизации',
untitled: 'Без названия',
resourceLoadFailed: 'Не удалось загрузить список ресурсов',
noResources: 'Пространства вики не найдены',
noResourcesHint: 'Сначала сохраните источник данных и проверьте права доступа',
+1
View File
@@ -3448,6 +3448,7 @@ export default {
connectionFailed: "连接失败",
isRequired: "为必填项",
resourceHint: "选择要同步的内容空间/文件夹",
untitled: "无标题",
resourceLoadFailed: "加载资源列表失败",
noResources: "未找到可同步的知识库空间",
noResourcesDesc: "应用需要通过群聊获得知识库访问权限才能拉取内容",