Cannot set note title without reloading / reentering the note page.
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- frontend
调研方向
The report describes title changes through Markdown heading input and the Note Settings Update dialog, but names no source files or tests. Start by tracing how title edits are saved and synchronized in the note page, then compare the heading and dialog flows. Done means both methods update the displayed title without reloading or reopening the note.
由索引模型根据 Issue 内容生成。
描述
Is this a hackmd.io issue?
- Yes, the bug happens on https://hackmd.io
- No. If it's a self-hosted CodiMD instance, please fire up the issue in the repo of CodiMD: https://github.com/hackmdio/codimd
What's the problem
Current behavior
The note title cannot automatically be saved nor manually saved in "Note Settings -> Update"
Provide steps to reproduce:
Case 1
- Create a new note
- Type
#<Title of the note> - Press Enter to get to the next line
https://github.com/user-attachments/assets/9418b5e1-0e4e-48ff-8d7b-fd2fc1aa0ea4
Case 2
I tried an alternative way, which is:
- Create a new note
- Go to the "Note Settings" page
- Type the note title in the "Title" field
- Press "Update"
https://github.com/user-attachments/assets/6adddc1a-975c-4746-8965-b788e5434bdc
Expected behaviour
Until probably a few weeks ago:
- For case 1: after I jumped to the next line, the note title would automatically be changed to
<Title of the note>for what I typed in#<Title of the note>; and manually modifying the green rectangle selected part in the following image also worked:
- For case 2: "Note Settings -> Update" worked fine before, I could just close the popup window and it would not show the choices only to "Discard" or "Continue editing"
Environment
I use HackMD on:
Desktop
- OS: Arch Linux
- Browser: Brave
- Browser Version: Brave 1.93.136 (Official Build) (x86_64) (Chromium: 151.0.7922.137)
Additional context
I later found that the issue might just be synchronization problem, since after the two cases are tried, a few minutes later, I found that the note title is updated in my workspace:
After reopened the note, it also shown properly in my note's workspace/<title> (here "Claude Notes" properly shown), but directly modifying it here still does not work:
https://github.com/user-attachments/assets/6356874f-9068-4f98-b466-00db7ab3544f
It did not cause much problem since reloading / reentering the note page solved this issue, but I really like the original behavior and hope that this could be fixed, thanks!
- 主要语言
- 没有语言数据
- 星标
- 40
- 派生
- 9
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hackmdio/hackmd-io-issues 的其他 Issue
-
bug
难度 1/5 1-3 小时 新手友好度 62/100
hackmdio/hackmd-io-issues#121 ·
-
难度 4/5 3-5 天 新手友好度 25/100
hackmdio/hackmd-io-issues#448 ·
-
难度 4/5 3-5 天 新手友好度 15/100
hackmdio/hackmd-io-issues#447 ·
-
难度 4/5 3-5 天 新手友好度 22/100
hackmdio/hackmd-io-issues#445 · 3 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 30/100
hackmdio/hackmd-io-issues#444 · 1 条评论 ·
查看 hackmdio/hackmd-io-issues 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
-
enhancement
难度 1/5 1 小时以内 新手友好度 72/100
apache/maven-fluido-skin#387 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
vercel-labs/ui#1494 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复