[PR #540] [MERGED] fix: 文件名空格自动替换为下划线后,光标会落到最后的问题 #754

Closed
opened 2026-03-02 03:41:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/codexu/note-gen/pull/540
Author: @jiayuqi7813
Created: 8/12/2025
Status: Merged
Merged: 8/12/2025
Merged by: @codexu

Base: devHead: dev


📝 Commits (5)

  • 6faac3b fix: 统一处理文件名中的空格,确保本地与远程文件名一致
  • 3f57a29 fix: 修复 Gitlab API 相关函数的类型定义和返回值
  • 8d56a18 fix: 处理文件名为空的情况,防止选择和删除操作出错;统一文件名中的空格为下划线
  • 73b0d21 Merge branch 'codexu:dev' into dev
  • 2e8263b fix: 优化输入框处理逻辑,实时替换空格为下划线,提升用户体验

📊 Changes

1 file changed (+27 additions, -6 deletions)

View changed files

📝 src/app/core/article/file/file-item.tsx (+27 -6)

📄 Description

来自https://github.com/codexu/note-gen/pull/537 的评论
已完成修复(


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/codexu/note-gen/pull/540 **Author:** [@jiayuqi7813](https://github.com/jiayuqi7813) **Created:** 8/12/2025 **Status:** ✅ Merged **Merged:** 8/12/2025 **Merged by:** [@codexu](https://github.com/codexu) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (5) - [`6faac3b`](https://github.com/codexu/note-gen/commit/6faac3b0f66ebcfc88d51ab8179d84fed405ff40) fix: 统一处理文件名中的空格,确保本地与远程文件名一致 - [`3f57a29`](https://github.com/codexu/note-gen/commit/3f57a29fa754b1e9abff88aa8ca92c39c80e7459) fix: 修复 Gitlab API 相关函数的类型定义和返回值 - [`8d56a18`](https://github.com/codexu/note-gen/commit/8d56a180577afa17984f5bc9fb3f38f61c706c1d) fix: 处理文件名为空的情况,防止选择和删除操作出错;统一文件名中的空格为下划线 - [`73b0d21`](https://github.com/codexu/note-gen/commit/73b0d21f683f2472fc048b0996623883f20dbd66) Merge branch 'codexu:dev' into dev - [`2e8263b`](https://github.com/codexu/note-gen/commit/2e8263bba5c0c29b00f57033e10116fb302d5554) fix: 优化输入框处理逻辑,实时替换空格为下划线,提升用户体验 ### 📊 Changes **1 file changed** (+27 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/app/core/article/file/file-item.tsx` (+27 -6) </details> ### 📄 Description 来自https://github.com/codexu/note-gen/pull/537 的评论 已完成修复( --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 03:41:36 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#754
No description provided.