Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Templated pages directories cannot be hidden from sidebar #3090

Open
adrivn opened this issue Feb 11, 2025 · 0 comments
Open

[Bug]: Templated pages directories cannot be hidden from sidebar #3090

adrivn opened this issue Feb 11, 2025 · 0 comments
Labels
bug Something isn't working to-review Evidence team to review

Comments

@adrivn
Copy link

adrivn commented Feb 11, 2025

Describe the bug

When creating nested templated pages -using the [word].md template inherited from Svelte-, the sidebar shows the folder structure despite no index.md file inside the folder.

There is no option to hide this folder structure from the sidebar, and this confuses the end user, specially if the templated pages are to be accessed only through other sections/pages, and not through the sidebar.

Steps to Reproduce

  1. Create one top-level folder in /pages/ named sample
  2. Create another folder inside sample called sublevel
  3. Create a markdown templated page called [id].md inside the sublevel folder
  4. Do not create an index.md file

After this, the sidebar shows the new folder structure, without hyperlink

Image

Logs

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 2.14 GB / 15.73 GB
  Binaries:
    Node: 22.9.0 - ~\AppData\Local\fnm_multishells\24324_1739276839962\node.EXE
    npm: 11.0.0 - ~\AppData\Local\fnm_multishells\24324_1739276839962\npm.CMD  
    pnpm: 8.8.0 - ~\AppData\Local\pnpm\pnpm.EXE
    bun: 1.2.2 - ~\scoop\shims\bun.EXE
  Browsers:
    Chrome: 132.0.6834.160
    Edge: Chromium (131.0.2903.146)
    Internet Explorer: 11.0.19041.4355
  npmPackages:
    @evidence-dev/bigquery: ^2.0.7 => 2.0.8
    @evidence-dev/components: ^3.5.48 => 3.5.48
    @evidence-dev/core-components: ^5.1.2 => 5.1.2
    @evidence-dev/csv: ^1.0.12 => 1.0.13
    @evidence-dev/databricks: ^1.0.7 => 1.0.7
    @evidence-dev/duckdb: ^1.0.13 => 1.0.13
    @evidence-dev/evidence: ^40.0.9 => 40.0.9
    @evidence-dev/motherduck: ^1.0.2 => 1.0.3
    @evidence-dev/mssql: ^1.0.9 => 1.1.1
    @evidence-dev/mysql: ^1.1.3 => 1.1.3
    @evidence-dev/postgres: ^1.0.6 => 1.0.6
    @evidence-dev/snowflake: ^1.1.0 => 1.2.1
    @evidence-dev/sqlite: ^2.0.6 => 2.0.6
    @evidence-dev/trino: ^1.0.8 => 1.0.8
    @sveltejs/adapter-static: ^3.0.5 => 3.0.6

Severity

annoyance

Additional Information, or Workarounds

No response

@adrivn adrivn added bug Something isn't working to-review Evidence team to review labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to-review Evidence team to review
Projects
None yet
Development

No branches or pull requests

1 participant