Grilling: opening external markdown — entry points #91

Closed
opened 2026-10-11 12:44:17 +02:00 by AlexKucera · 1 comment
Owner

Part of #22

Question

How does the writer open external markdown in Museion v1 — open panel, drag onto window, or both?

[Generated by AI]

Part of #22 ## Question How does the writer open external markdown in Museion v1 — open panel, drag onto window, or both? [Generated by AI]
AlexKucera added the wayfinder:grilling label 2026-10-11 12:44:17 +02:00
Author
Owner

Both gestures, confirmed live at charting (2026-10-11).

  • File ▸ Open… (⌘O) — NSOpenPanel (proven via the Settings Home picker), plain .md/.markdown files. Menu insertion via CommandGroup(after: .newItem) in MuseionApp's commands — never CommandMenu("File"), which doubles the system File menu (#84 trap, same class as the View-menu bug).
  • Drag onto window — .fileURL drop handling (~20 lines); dropped markdown opens in the same single external buffer.

Both feed the guest slot (see the buffer-home ticket).

[Generated by AI]

Both gestures, confirmed live at charting (2026-10-11). - **File ▸ Open… (⌘O)** — NSOpenPanel (proven via the Settings Home picker), plain `.md`/`.markdown` files. Menu insertion via `CommandGroup(after: .newItem)` in MuseionApp's commands — **never `CommandMenu("File")`**, which doubles the system File menu (#84 trap, same class as the View-menu bug). - **Drag onto window** — `.fileURL` drop handling (~20 lines); dropped markdown opens in the same single external buffer. Both feed the guest slot (see the buffer-home ticket). [Generated by AI]
Sign in to join this conversation.