quartz icon indicating copy to clipboard operation
quartz copied to clipboard

Quartz doesn't handle folders well whose names are the same as sibling files

Open AdamLearns opened this issue 1 year ago • 0 comments

Description

I'm not even totally sure that this is a bug. There are a couple of things here that don't work exactly how I'd expect, so I figured I'd file this and let the owner/maintainers decide. 🙂

To Reproduce Steps to reproduce the behavior:

  1. Under quartz/content, make a file called repro.md and a folder named repro.
  2. Under the repro folder, add any note that you want (e.g. test.md).
  3. Build using Quartz (npx quartz build)
  4. Open the resulting notebook in a browser

Expected behavior I would expect the note created in step 2 to be visible in the Explorer view, but instead, only the repro note is visible.

Also, it's strange to me that the repro entry is both a note and a folder (see screenshot below).

Screenshots and Source Screenshot of navigating to test/repro: image

Desktop (please complete the following information):

  • Quartz Version: 4.1.4
  • node Version: 18.17.0
  • npm version: 9.6.7
  • OS: macOS
  • Browser: Chrome

AdamLearns avatar Feb 12 '24 23:02 AdamLearns