This issue has been created
 
 
Cristal / cid:jira-generated-image-avatar-25324a7c-469b-47f7-9234-c4af713e57af CRISTAL-239 Open

Navigation tree present odd results with the Filesystem backend

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-18ec172e-e14e-411b-9e52-fabe19a7fb89 Manuel Leduc created this issue on 04/Oct/24 10:14
 
Summary: Navigation tree present odd results with the Filesystem backend
Issue Type: cid:jira-generated-image-avatar-25324a7c-469b-47f7-9234-c4af713e57af Bug
Affects Versions: 0.10
Assignee: Unassigned
Attachments: image-2024-10-04-10-13-10-837.png
Components: Navigation Tree - Filesystem
Created: 04/Oct/24 10:14
Priority: cid:jira-generated-image-static-major-d3304f68-09f8-49a7-abce-3eaeb1cc95d8 Major
Reporter: Manuel Leduc
Description:

Reproduction steps

  1. Init ~/.cristal with the content described below
  2. Start an electron instance and open a configuration using the filesystem backend
  3. Check the navigation tree

Expected

The navigation tree contains:

  • Index
  • newpage
    • subpage

Actual

The navigation tree seems to contain the nodes, but with empty labels.

Click on the nodes does not open the corresponding pages.

42835_image-2024-10-04-10-13-10-837.png

~/.cristal content

index/page.json

{
  "name": "",
  "source": "Hello world",
  "syntax": "markdown/1.2"
}

newpage/page.json

{
  "name": "",
  "source": "New page",
  "syntax": "markdown/1.2"
}

newpage/subpage/page.json

{
  "name": "",
  "source": "aaaaa",
  "syntax": "markdown/1.2"
}