mula.liu
c6117e1c49
优化前端规范
2026-11-14 14:25:53 +08:00
mula.liu
897ee8de9f
v 1.0.1
2026-11-11 19:07:22 +08:00
mula.liu
550797c35a
v 1.0.1
2026-11-09 16:18:25 +08:00
mula.liu
e65daaa39e
统一 Markdown 阅读面的两侧留白
...
1. 重命名弹窗去掉输入框下方的提示行,只保留名称输入框与锁定的后缀。
2. 各 Markdown 预览/阅读面此前各写各的宽度:浏览模式 900px、分享页 900px、
超长文档虚拟滚动 920px、编辑模式预览区 1100px,盒模型还不一致
(留白有算进行长、有没算),大屏上左右留白宽窄不一。
现在统一走 --content-max-width(1100px)+ var(--space-lg) 内边距 +
border-box,四处正文列宽与两侧留白实测完全对齐(1920 宽下均为
1100px 盒子 / 24px 留白)。
3. 顺手补上编辑模式里 .docs-content-wrapper 的样式:它此前依赖浏览模式
那份 CSS 恰好被加载过,直接进编辑模式时文件夹视图会一路铺到边。
2026-10-15 17:46:12 +08:00
mula.liu
0d66d78e50
修复编辑模式下的三个交互问题
...
1. 中文输入法回车误提交:新建文件/文件夹、重命名的回车提交不再吃掉
输入法组合中的回车(isComposing / keyCode 229),拼音选词不会再把
半截文本当成文件名创建出去。聊天输入框与搜索框同样存在该问题,
一并改用新的 useImeSafeEnter,并保留原有 Ctrl/Cmd+Enter 发送。
2. 重命名不允许再改动文件类型:输入框只暴露主名,后缀作为固定后缀
展示并在提交时强制拼回,误删后缀导致文件无法浏览/预览的情况不再
出现;目录名整体视为名称(v1.2.0 这类目录不按点切分)。同时补上
路径分隔符校验、重名校验、重复提交保护,重命名成功后编辑器与地址栏
跟随到新路径(改文件夹时视图也不再空白),不再清空正在编辑的文档。
3. 宽屏下编辑器两侧留白:ByteMD 把编辑区正文锁死在 800px 居中,
「仅编辑区」在大屏上左右各空一大片。现编辑区按可用宽度铺满,
预览区保留可读行长但放宽到 1100px 以内。
2026-10-15 16:54:01 +08:00
mula.liu
3d50f2f51a
优化了编辑模式
2026-10-04 02:09:28 +08:00
mula.liu
6831bd4831
解决编辑模式的问题
2026-10-01 15:21:38 +08:00
mula.liu
ba80d280d1
fix project role permission
2026-09-09 18:20:13 +08:00
mula.liu
5d41339c4a
修复bug
2026-08-31 18:32:09 +08:00
mula.liu
fef17e59e4
修复bug
2026-08-31 18:13:18 +08:00
mula.liu
b3f5fb00b7
优化了部分UI
2026-08-28 12:44:42 +08:00
mula.liu
eea3b96e0a
v0.9.9-SP1
2026-08-25 10:17:40 +08:00
mula.liu
d6ebd62b7c
v0.9.9-SP1
2026-08-24 12:18:01 +08:00
mula.liu
f92fff6546
v0.9.9 基线版本
2026-08-19 18:05:22 +08:00
mula.liu
4ef3c92d65
优化了显示
2026-08-19 00:58:02 +08:00
mula.liu
2dbff78698
优化界面
2026-08-18 00:55:44 +08:00
mula.liu
416ef48395
v0.9.9
2026-08-09 03:10:11 +08:00
mula.liu
bd7d4d3dd5
修改了mcp接口,增加了项目创建接口
2026-08-07 16:31:54 +08:00
mula.liu
86b82111df
v0.9.9
2026-08-05 22:18:25 +08:00
mula.liu
c3fccd2723
v0.9.9
2026-08-04 16:40:13 +08:00
mula.liu
ae09cf358e
新增项目库向量化及问答模块
2026-08-04 09:31:48 +08:00
mula.liu
06d58be444
v0.9.9
2026-08-03 13:59:52 +08:00
mula.liu
31cf2bfc1c
v0.9.8
2026-07-24 15:37:22 +08:00
mula.liu
e6c92551ea
Stage 2 & 3: Remove Graphy, integrate ZVec vectorization, and add knowledge base chat
...
## Changes
### Stage 2: ZVec Integration
- Created `zvec_service.py` for MD file vectorization with Aliyun ZVec
- Added `document_vector.py` model for storing embeddings
- Integrated ZVec into file operations (create/update/delete MD files)
- Added `create_document_vector_table.sql` migration
- Background vectorization on file save, removal on file delete
### Stage 3: Knowledge Base Chat
- Created `chat_session.py` model for chat sessions and messages
- Implemented `rag_service.py` for RAG (vector retrieval + LLM generation)
- Added `chat.py` API endpoints (create sessions, send messages, list history)
- Created `Chat.jsx` frontend component with project/model selection
- Added `chat.js` API client
- Chat route integrated into App.jsx
### Cleanup
- Removed all graphy-related files (graphy/, graphy.py, graphy_task.py, etc.)
- Removed BUILD_GRAPH from enums (no longer needed)
### Database
- Created migration script for chat tables (ChatSession, ChatMessage)
- Created migration script for document vectors
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-23 21:58:16 +08:00
mula.liu
0b0713fc4e
Merge remote main with local model config features
...
Merge origin/main which includes:
- New file sharing system (shares module)
- Large markdown viewer improvements
- Preview page refactoring
- FloatingToc component
Preserved from local:
- LLM model configuration support (llm_model_configs)
This merge integrates remote improvements while keeping the local
model configuration functionality for the next phase.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-23 21:52:09 +08:00
mula.liu
e42a5525f6
优化超大md文档编辑器
2026-06-22 14:05:10 +08:00
mula.liu
2bb7db0d56
调整了对超大md文档的支持
2026-06-16 21:09:15 +08:00
mula.liu
9f707e879e
fix project share
2026-06-03 17:08:06 +08:00
mula.liu
c0a4798fc6
v0.9.7
2026-06-03 15:04:49 +08:00
mula.liu
fd10178367
v0.9.7
2026-05-27 19:07:23 +08:00
mula.liu
4b41763ef4
调整了多个页面的工具栏样式
2026-05-22 10:31:21 +08:00
mula.liu
9f395a10ac
调整了多个页面的工具栏样式
2026-05-21 17:51:53 +08:00
mula.liu
5256d20ac9
v0.9.7
2026-05-15 19:59:49 +08:00
mula.liu
1fe3508ec6
v0.9.7
2026-05-10 17:15:24 +08:00
mula.liu
e09f94b043
v0.9.7
2026-05-10 13:35:54 +08:00
mula.liu
d621fd8d24
v0.9.7
2026-05-09 14:20:38 +08:00
mula.liu
fc617cf678
v0.9.7
2026-05-09 10:45:30 +08:00
mula.liu
2d41a3ba2f
v0.9.7
2026-04-09 01:03:57 +08:00
mula.liu
f140ed9218
fix mcp
2026-04-02 21:33:05 +08:00
mula.liu
355be362fc
fix bug
2026-04-01 09:14:02 +08:00
mula.liu
d298174439
bug fix
2026-03-19 15:43:55 +08:00
mula.liu
b64ade0525
bug fix
2026-03-11 20:39:05 +08:00
mula.liu
b78fc3b269
0.9.6
2026-03-11 15:27:52 +08:00
mula.liu
dc112de840
修复pdf导出
2026-02-26 19:19:29 +08:00
mula.liu
cbef580776
预览页面增加了pdf导出
2026-02-26 17:52:09 +08:00
mula.liu
e6794a1952
修正了部分页面显示问题
2026-02-11 10:26:50 +08:00
mula.liu
e2211fbc9b
增加了项目转移
2026-02-09 18:08:38 +08:00
mula.liu
b9f1b49572
修正了图片拷贝
2026-02-02 18:55:43 +08:00
mula.liu
836373fa27
增加了dark模式
2026-01-31 11:41:20 +08:00
mula.liu
4a99b10578
优化界面
2026-01-30 13:00:57 +08:00