Cannot set note title without reloading / reentering the note page.

Offen
#446 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Bereich
frontend

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Is this a hackmd.io issue?
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
  1. Create a new note
  2. Type #<Title of the note>
  3. 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:

  1. Create a new note
  2. Go to the "Note Settings" page
  3. Type the note title in the "Title" field
  4. 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:
Image
  • 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:

Image

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!

Vorherrschende Sprache
Keine Sprachdaten
Sterne
40
Forks
9
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus hackmdio/hackmd-io-issues

Alle Issues in hackmdio/hackmd-io-issues

Ähnliche Issues

Weitere Issues zu Web Dev

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.