https://www.dendron.so/ logo
Join Discord
Powered by
# dev
  • l

    LLV

    10/28/2020, 9:10 AM
    OK, I just made a new note called "New Note Test" using the lookup. This one exhibits the same behaviour. @User, are your note names in Caps? because all my other ones are lower case and aren't affected.
  • l

    LLV

    10/28/2020, 9:10 AM
    Also, when I created the new note, suddenly my tree view populated with multiple instances of 000 Index.
  • h

    HeyyyyJinn

    10/28/2020, 9:10 AM
    Hmm. the first aprt of my note is is caps.
  • h

    HeyyyyJinn

    10/28/2020, 9:10 AM
    my schema starts with "DAT"
  • l

    LLV

    10/28/2020, 9:11 AM
    Created "new note test 2", doesn't have this problem. Possibly this is just affected notes with capital letters in the filename.
  • h

    HeyyyyJinn

    10/28/2020, 9:11 AM
    Hmm, why would that be happening?
  • l

    LLV

    10/28/2020, 9:12 AM
    No idea! But probably this knowledge will make the bugfixing easier.
  • l

    LLV

    10/28/2020, 9:13 AM
    I hope you didn't lose too much data 😦
  • h

    HeyyyyJinn

    10/28/2020, 9:13 AM
    yeah, thanks.
  • h

    HeyyyyJinn

    10/28/2020, 9:14 AM
    I'm thankful I took the time to figure out and setup up a backup snapshot system a few weeks ago
  • u

    user

    10/28/2020, 9:21 AM
    damn, this is such a 😱 thing to happen
  • l

    LLV

    10/28/2020, 11:29 AM
    https://github.com/dendronhq/dendron/issues/312 @User I filed an issue here if you'd like to add any details
  • o

    Oli916

    10/28/2020, 12:19 PM
    Anyone having issues with images not rendering in the preview since 0.13.4?
  • o

    Oli916

    10/28/2020, 12:20 PM
    Nevermind had to reload vscode and it was fine again
  • k

    kevins8

    10/28/2020, 1:41 PM
    @User @User @User thanks for the heads up. losing data is NOT acceptable and apologize that this has happened. will be taking a look at this asap!
  • k

    kevins8

    10/28/2020, 1:58 PM
    updates on this --> i found the issue (tree view lower cases all names before passing it to the engine which indexes with cases) and i'm currently releasing a new version
  • k

    kevins8

    10/28/2020, 2:12 PM
    just deployed. see announcement --> https://discord.com/channels/717965437182410783/737323300967022732/771013239982129173
  • u

    user

    10/28/2020, 2:40 PM
    is there a specific reason for the lowercase transform? If I already have a file
    Index.md
    then Dendron currently forbids creating an
    index.md
    saying that this would overwrite an existing file. I can't really think of a compelling example why I would want such similar filenames)). But still, aren't these names totally valid on the OS level?
  • k

    kevins8

    10/28/2020, 2:55 PM
    it depends on what sort of file system a user has. eg. mac (HFS+, now APFS) is case in-sensitive by default
  • k

    kevins8

    10/28/2020, 2:56 PM
    the reason we do the transform is to normalize filenames across different file systems
  • r

    robothor

    10/28/2020, 3:01 PM
    Yeah, this is definitely an issue on Mac:
    Copy code
    bash-3.2$ ls -l index*
    ls: index*: No such file or directory
    bash-3.2$ echo "This is a test" > index.html
    bash-3.2$ ls -l index*
    -rw-r--r--  1 mtl  staff  15 Oct 28 16:00 index.html
    bash-3.2$ cat INDEX.HTML
    This is a test
  • u

    user

    10/28/2020, 3:02 PM
    wow, really? Trust mac to think different) What if I create such files outside Dendron and then try to open my workspace?
  • k

    kevins8

    10/28/2020, 3:03 PM
    you mean files with mixed case? dendron will work fine with existing files
  • k

    kevins8

    10/28/2020, 3:04 PM
    and its not just mac. this is something that you can configure depending on what file system you have
  • u

    user

    10/28/2020, 3:06 PM
    Ok, thanks for the info)
  • k

    kevins8

    10/28/2020, 3:07 PM
    moving forward, we'll probably be more consistent with names (eg. paths should be lowercase kebab format. you can have mixed case in your notes using
    title
    field which all UI components will use to render the names)
  • b

    Bassmann

    10/28/2020, 7:17 PM
    I think it makes a lot of sense to normalise file names to lower-case. IMHO as a common denominator it increases portability since it avoids issues with file systems which don't differentiate.
  • h

    HeyyyyJinn

    10/28/2020, 10:19 PM
    Thanks for the quick turnaround @User . Back to purring smoothly now. I hope unicode namespace support continues into the future. I use unicode to make visually distinct icons for indexes and important notes, and use them as lead characters in searches and search filters.
  • k

    kevins8

    10/28/2020, 11:19 PM
    @User glad to hear it. and unicode support will continue to be a thing!
  • b

    britt

    10/29/2020, 5:05 PM
    > and its not just mac. this is something that you can configure depending on what file system you have @User Famously, all of the FAT variants and Amiga!
1...192021...108Latest