Commit Graph

108 Commits

Author SHA1 Message Date
yujiangping
0b3fe0e799 feat(knowledgeBase): enhance file upload and dataset creation with abort support and improved UX
- Add AbortSignal support to uploadFile API for cancellable uploads
- Implement custom onRemove callback in UploadFiles component with confirmation dialog
- Add i18n translations for file removal confirmation and error messages
- Update supported file types documentation to include IMAGE and MEDIA formats
- Improve file removal UI with cursor pointer styling
- Refactor getModelList API to remove unused type parameter
- Add Form import and UploadFile type for better type safety in CreateDataset
- Enhance error handling and user feedback for file operations
2025-12-29 19:13:03 +08:00
yujiangping
6887d7dc74 fix:pdfEnhancementEnabled 2025-12-26 11:48:32 +08:00
yujiangping
9f647e8357 fix(knowledgeBase): improve navigation and folder tree refresh logic
- Add path comparison check in breadcrumb navigation to avoid unnecessary route changes when already on target page
- Implement delayed folder tree refresh with setTimeout to ensure state reset completes before refreshing
- Add manual table refresh trigger to ensure data updates after navigation
- Reset expanded keys in FolderTree component during load to ensure consistent state from root directory
- Add expanded keys reset in breadcrumb navigation to prevent stale expansion state
- Improve navigation state handling by using replace flag only when on target path to reduce history stack pollution
2025-12-26 10:24:26 +08:00
yujiangping
c00e164567 feat(knowledgeBase): add media dataset support and improve file handling
- Add media dataset translations in English and Chinese locales
- Add "mediaDataSet" and "uploadMedia" i18n keys for UI labels
- Enable media dataset creation option in Private component by uncommenting menu item
- Import and display image icon for media dataset menu option
- Refactor file ID handling in CreateDataset to support both string and array types
- Improve fileIds initialization logic to handle mixed input types
- Update CreateImageDataset component to use file chunking workflow
- Add navigation to parameter settings step after file upload
- Pass file IDs to dataset creation flow for media processing
- Add message API and navigate hook for improved UX feedback
2025-12-25 20:17:58 +08:00
yujiangping
99c501f188 feat(knowledgeBase): add media file validation and PDF enhancement method selection
- Add i18n translations for file size and duration validation errors in English and Chinese
- Implement media file validation with 256MB size limit and 150-second duration limit
- Add support for audio and video file formats (mp3, mp4, mov, wav) in dataset creation
- Add checkMediaDuration helper function to validate media file duration using HTML5 media API
- Add PDF enhancement method selection dropdown with options (DeepDoc, MinerU, TextLN)
- Change default PDF enhancement setting from disabled to enabled
- Update file type array to include media formats
- Add error messaging for file size and duration validation failures
- Improve UI spacing for file parsing settings section
2025-12-25 17:39:01 +08:00
yujiangping
07668ee4c5 fix:面包屑修改 2025-12-24 19:25:02 +08:00
yujiangping
00b2539e4f feat(i18n): add document processing confirmation dialog translations
- Add "processingDocuments" translation key for loading state message in English and Chinese
- Add "startUploadConfirmTitle" translation for confirmation dialog title
- Add "startUploadConfirmContent" translation for confirmation dialog description
- Add "returnToList" translation for returning to list page action
- Add "stayOnPage" translation for staying on current page action
- Support user choice to either return to list or stay on page during background document processing
2025-12-24 15:00:50 +08:00
yujiangping
4c1ea155b0 fix:breadcrumbs 2025-12-24 13:41:12 +08:00
vrhs@163.com
35e84bb872 Merge #43 into develop_web from feature/20251219_yjp
fix:vite config

* feature/20251219_yjp: (2 commits)
  fix:git commit
  fix:vite config

Signed-off-by: vrhs@163.com <accounts_660b6454a0eb398d3f8d2c76@mail.teambition.com>
Merged-by: vrhs@163.com <accounts_660b6454a0eb398d3f8d2c76@mail.teambition.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/43
2025-12-24 12:31:39 +08:00
yujiangping
6879326429 fix:vite config 2025-12-24 12:23:55 +08:00
yujiangping
42610f9cb0 fix:git commit 2025-12-24 12:05:36 +08:00
赵莹
aa9a82382e Merge #39 into develop_web from feature/20251219_zy
feat(web): workflow&#39;s chat support abort output

* feature/20251219_zy: (1 commits)
  feat(web): workflow&#39;s chat support abort output

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/39
2025-12-23 19:48:35 +08:00
zhaoying
d1b51b9653 feat(web): workflow's chat support abort output 2025-12-23 17:32:11 +08:00
赵莹
c4a5fff954 Merge #38 into develop_web from feature/20251219_zy
feat(web): update reflection engine result

* feature/20251219_zy: (4 commits)
  fix(web): workflow properties
  feat(web): workflow support lexical editor
  feat(web): workflow support lexical editor
  feat(web): update reflection engine result

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/38
2025-12-23 17:17:46 +08:00
zhaoying
72acea990a feat(web): update reflection engine result 2025-12-23 17:16:57 +08:00
zhaoying
480f721888 feat(web): workflow support lexical editor 2025-12-23 16:44:07 +08:00
zhaoying
26263bdcf0 feat(web): workflow support lexical editor 2025-12-23 16:22:51 +08:00
zhaoying
7d40d06b69 fix(web): workflow properties 2025-12-23 14:30:22 +08:00
赵莹
c6f588fc8c Merge #35 into develop_web from feature/20251219_zy
fix(web): workflow variable

* feature/20251219_zy: (1 commits)
  fix(web): workflow variable

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/35
2025-12-23 11:20:37 +08:00
zhaoying
5736a70ccb fix(web): workflow variable 2025-12-23 11:20:04 +08:00
zhaoying
d733047f87 Merge branch 'feature/20251219_zy' into develop_web 2025-12-22 20:04:53 +08:00
zhaoying
cd325fe198 fix(web): workflow bug 2025-12-22 20:01:10 +08:00
zhaoying
9f7bafe7fb feat(web): update routes.json 2025-12-22 18:49:31 +08:00
zhaoying
773e785ce9 feat(web): Graph user memory update 2025-12-22 18:45:36 +08:00
yujiangping
f78fc241a8 Merge origin/develop_web into feature/20251219_yjp
- Resolved conflict in web/src/components/RbModal/index.tsx
- Combined className and maskClosable properties
2025-12-22 17:34:53 +08:00
yujiangping
54ff151ed8 feat(components): Add markdown editing capability and enhance component styling
- Add editable mode to Markdown component with edit/save/cancel buttons
- Import EditOutlined, SaveOutlined, CloseOutlined icons from ant-design
- Add useState, useRef, useEffect hooks for managing edit state
- Add editable, onContentChange, and onSave props to RbMarkdownProps interface
- Create RbModal component with new index.css stylesheet for modal styling
- Add index.css stylesheet to KnowledgeBase components for consistent styling
- Update i18n translations in en.ts and zh.ts for new UI elements
- Refactor Markdown component handlers to accept and spread additional props
- Update InsertModal and RecallTestResult components for improved UX
- Fix prop spreading in component handlers to maintain compatibility with Ant Design components
2025-12-22 17:03:31 +08:00
赵莹
5a6f9dfc11 Merge #30 into develop_web from feature/20251219_zy
feat(web): node show id; update reflection engine example

* feature/20251219_zy: (1 commits)
  feat(web): node show id; update reflection engine example

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/30
2025-12-22 14:30:34 +08:00
zhaoying
b1e69e154b feat(web): node show id; update reflection engine example 2025-12-22 14:29:53 +08:00
赵莹
497db0bea9 Merge #29 into develop_web from feature/20251219_zy
feat(web): Workflow

* feature/20251219_zy: (1 commits)
  feat(web): Workflow

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/29
2025-12-22 11:33:37 +08:00
zhaoying
ad0a7ebcb9 feat(web): Workflow 2025-12-22 11:33:08 +08:00
赵莹
1d97660a20 Merge #28 into develop_web from feature/20251219_zy
feat(web): Add Workflow

* feature/20251219_zy: (1 commits)
  feat(web): Add Workflow

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/28
2025-12-22 10:47:23 +08:00
zhaoying
281aec23e3 feat(web): Add Workflow 2025-12-22 10:46:19 +08:00
vrhs@163.com
aab8043c8d Merge #27 into develop_web from feature/20251219_yjp
feat(knowledgeBase): Refactor document list API and improve polling logic

* feature/20251219_yjp: (1 commits)
  feat(knowledgeBase): Refactor document list API and improve polling logic

Signed-off-by: vrhs@163.com <accounts_660b6454a0eb398d3f8d2c76@mail.teambition.com>
Merged-by: vrhs@163.com <accounts_660b6454a0eb398d3f8d2c76@mail.teambition.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/27
2025-12-22 10:11:52 +08:00
yujiangping
ad2f47029d feat(knowledgeBase): Refactor document list API and improve polling logic
- Update getDocumentList API to accept kb_id as separate parameter instead of extracting from query object
- Fix parameter name from auto_question to auto_questions in parser config
- Add progress field initialization in document update params
- Improve polling logic to handle both auto-return and manual stay scenarios with proper loading state management
- Add console logging for debugging polling status and document processing
- Reduce polling interval from 5000ms to 3000ms for faster status updates
- Enhance cleanup logic with route change detection to prevent memory leaks
- Add record parameter to progress render function for better data access
- Refactor confirm dialog callbacks to properly manage loading state timing
- Ensure loading indicator displays correctly when user chooses to stay on page
2025-12-22 10:10:07 +08:00
赵莹
9964f44fc8 Merge #23 into develop_web from feature/20251219_zy
feat(web): remove mock data

* feature/20251219_zy: (1 commits)
  feat(web): remove mock data

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/23
2025-12-19 19:10:32 +08:00
zhaoying
e1bccff79b feat(web): remove mock data 2025-12-19 19:10:06 +08:00
赵莹
7b0ed80377 Merge #22 into develop_web from feature/20251219_zy
style: UI update

* feature/20251219_zy: (1 commits)
  style: UI update

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/22
2025-12-19 19:08:36 +08:00
zhaoying
6d91f84e33 style: UI update 2025-12-19 19:08:08 +08:00
赵莹
54c2c8f74f Merge #20 into develop_web from feature/20251219_zy
feat(web): remove mock data

* feature/20251219_zy: (5 commits)
  feat(web): update api key
  feat(web): Add Emotion Memory
  feat(web): Add  Reflection Engine
  feat(web): Add  Reflection Engine API
  feat(web): remove mock data

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/20
2025-12-19 18:55:33 +08:00
zhaoying
eaa47ad9f1 feat(web): remove mock data 2025-12-19 18:54:00 +08:00
zhaoying
1027213fc7 feat(web): Add Reflection Engine API 2025-12-19 18:52:33 +08:00
zhaoying
62071ff96f feat(web): Add Reflection Engine 2025-12-19 18:51:07 +08:00
zhaoying
bcec0ae401 feat(web): Add Emotion Memory 2025-12-19 16:54:52 +08:00
zhaoying
7da3c5a8e8 feat(web): update api key 2025-12-18 20:35:38 +08:00
赵莹
6cd436d9b8 Merge #11 into develop_web from feature/20251219_zy
style(web): ui update

* feature/20251219_zy: (1 commits)
  style(web): ui update

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/11
2025-12-18 15:20:36 +08:00
zhaoying
50a244af4d style(web): ui update 2025-12-18 15:20:01 +08:00
赵莹
d53663fc78 Merge #10 into develop_web from feature/20251219_zy
feature: app&#39;s api key support delete

* feature/20251219_zy: (1 commits)
  feature: app&#39;s api key support delete

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/10
2025-12-18 15:13:34 +08:00
zhaoying
3ab68e126f feature: app's api key support delete 2025-12-18 15:12:39 +08:00
赵莹
83a831d27a Merge #8 into develop_web from feature/20251219_zy
feat(web): api method readonly

* feature/20251219_zy: (1 commits)
  feat(web): api method readonly

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/8
2025-12-18 13:35:11 +08:00
zhaoying
fa53ab1d6a feat(web): api method readonly 2025-12-18 13:34:32 +08:00