Cannot set note title without reloading / reentering the note page.
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- frontend
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 40
- Fork
- 9
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của hackmdio/hackmd-io-issues
-
bug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 62/100
hackmdio/hackmd-io-issues#121 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
hackmdio/hackmd-io-issues#448 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
hackmdio/hackmd-io-issues#447 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
hackmdio/hackmd-io-issues#445 · 3 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 30/100
hackmdio/hackmd-io-issues#444 · 1 bình luận ·
Tất cả issue của hackmdio/hackmd-io-issues
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
apache/maven-fluido-skin#387 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
vercel-labs/ui#1494 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày