Commit Graph

53 Commits

Author SHA1 Message Date
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
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
赵莹
46fe6fff89 Merge #7 into develop_web from feature/20251219_zy
feat(web): api key

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

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/7
2025-12-18 12:36:28 +08:00
zhaoying
29cc708f4f feat(web): api key 2025-12-18 12:35:42 +08:00
赵莹
03e328ae65 Merge #5 into develop_web from feature/20251219_zy
optimize: check en.ts

* feature/20251219_zy: (6 commits)
  optimize: UI update
  components: Add Chat component
  optimize: 1. stream request optimize; 2. replace Chat component
  feature: memory extraction engine debug switch to streaming output
  feature: add api key
  optimize: check en.ts

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/5
2025-12-18 10:24:15 +08:00
yujiangping
7d56c14e42 合并 feature/20251219_yjp 分支到 web 分支
冲突解决策略:
- web/src/views/KnowledgeBase/ 文件夹下的所有冲突以 feature/20251219_yjp 分支为主
- 其他冲突(如 vite.config.ts)以 web 分支为主

主要更改:
- 保留了 feature 分支中的知识库相关功能和组件
- 保持了 web 分支的配置和其他功能
- 添加了自定义文本数据集创建功能
- 更新了知识库管理界面
2025-12-17 15:25:20 +08:00
yujiangping
e92a2f814b feat(web): update auto-imports with new React hooks and components
- Add React components: Activity, Fragment, Suspense
- Add React hooks: cache, cacheSignal, createContext, use, useActionState, useEffectEvent, useOptimistic
- Maintain existing React Router imports and hooks
- Expand global type declarations for improved IDE autocomplete and type safety
2025-12-17 14:19:43 +08:00
yujiangping
0a9c01cf33 feat:create cusotm text dataset 2025-12-17 14:16:25 +08:00
zhaoying
9799ba510a optimize: check en.ts 2025-12-16 14:22:37 +08:00
zhaoying
44ceee3f42 feature: add api key 2025-12-16 13:54:41 +08:00
yujiangping
ac2173743b feat(web): Update auto-imports with new React hooks and components
- Add React components: Activity, Fragment, Suspense
- Add React hooks: cache, cacheSignal, createContext, use, useActionState, useEffectEvent, useOptimistic
- Maintain existing React Router imports and hooks
- Expand global type declarations for improved IDE autocomplete support
2025-12-16 12:05:22 +08:00
yujiangping
1bc06e8204 Sync frontend project from dev-yjp branch
- Updated web folder with latest frontend code
- Added new components: CreateContentModal, CreateContentModalExample
- Added new hook: useBreadcrumbManager
- Updated knowledge base components and views
- Updated i18n translations
- Various bug fixes and improvements
2025-12-16 11:58:37 +08:00
zhaoying
36cab874fa feature: memory extraction engine debug switch to streaming output 2025-12-16 11:53:59 +08:00
zhaoying
d27ed6c419 optimize: 1. stream request optimize; 2. replace Chat component 2025-12-16 11:31:19 +08:00
zhaoying
af2b8531e9 components: Add Chat component 2025-12-16 11:27:13 +08:00
zhaoying
9b2f603454 optimize: UI update 2025-12-16 11:26:41 +08:00
赵莹
ea0a445d5b Merge #1 into develop from web
update web
2025-12-15 07:16:19 +00:00
zhaoying
fb01d185e4 update web 2025-12-15 15:15:21 +08:00
zhaoying
437b26ecfc update web 2025-12-15 15:15:13 +08:00
zhaoying
1eb36f1aef update web 2025-12-15 15:14:56 +08:00
zhaoying
694a0eb4e3 update web 2025-12-15 15:13:41 +08:00
zhaoying
9cf22bfae2 update web 2025-12-15 15:12:49 +08:00
zhaoying
db3d3dee85 update web 2025-12-15 15:10:42 +08:00
lanceyq
570392aa6f Docs/installation tutorial (#7)
* [add]修改迁移文件新建空白表结构

* Add installation guide and environment setup

Added installation instructions and environment requirements for MemoryBear.

* [delete]删除api,web的readme.md。只保留唯一readme.md

* Fix database connection example in README

Update database connection configuration example in README.
2025-12-05 21:38:31 +08:00