yamchart 0.4.15 → 0.4.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,10 +10,30 @@ Yamchart is a Git-native BI framework. Dashboards are defined as YAML configs an
10
10
  ├── connections/ # Database connection configs (.yaml)
11
11
  ├── models/ # SQL models with Jinja templating (.sql)
12
12
  ├── charts/ # Chart definitions (.yaml)
13
+ │ └── sales/ # Optional: subdirectories become sidebar folders
13
14
  ├── dashboards/ # Dashboard layouts (.yaml)
15
+ │ └── regional/ # Optional: subdirectories become sidebar folders
14
16
  └── schedules/ # Scheduled reports and alerts (.yaml)
15
17
  ```
16
18
 
19
+ ### Folders
20
+
21
+ Organize charts and dashboards into folders using filesystem subdirectories. Subdirectories inside `charts/` and `dashboards/` become collapsible folder groups in the sidebar.
22
+
23
+ ```
24
+ charts/
25
+ ├── revenue-trend.yaml # Sidebar: "Ungrouped"
26
+ ├── sales/
27
+ │ └── revenue-by-region.yaml # Sidebar: "Sales"
28
+ └── kpis/
29
+ └── revenue-kpi.yaml # Sidebar: "KPIs"
30
+ ```
31
+
32
+ - **One level deep only** — deeper nesting is ignored
33
+ - **Chart/dashboard names remain globally unique** — the folder is purely organizational
34
+ - **Folder display names** are derived from directory names: `my-reports` becomes "My Reports"
35
+ - **No YAML changes needed** — just `mkdir` and move files
36
+
17
37
  ## Commands
18
38
 
19
39
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yamchart",
3
- "version": "0.4.15",
3
+ "version": "0.4.16",
4
4
  "description": "Git-native business intelligence dashboards",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -63,9 +63,9 @@
63
63
  "tsup": "^8.0.0",
64
64
  "typescript": "^5.7.0",
65
65
  "vitest": "^2.1.0",
66
- "@yamchart/auth-local": "0.1.0",
67
66
  "@yamchart/config": "0.1.2",
68
67
  "@yamchart/query": "0.1.2",
68
+ "@yamchart/auth-local": "0.1.0",
69
69
  "@yamchart/schema": "0.1.2",
70
70
  "@yamchart/server": "0.1.2"
71
71
  },