@object-ui/plugin-report 14.0.0 → 15.0.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,86 @@
1
1
  # @object-ui/plugin-report
2
2
 
3
+ ## 15.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @object-ui/types@15.0.0
8
+ - @object-ui/core@15.0.0
9
+ - @object-ui/i18n@15.0.0
10
+ - @object-ui/react@15.0.0
11
+ - @object-ui/components@15.0.0
12
+ - @object-ui/fields@15.0.0
13
+ - @object-ui/plugin-grid@15.0.0
14
+
15
+ ## 14.1.0
16
+
17
+ ### Patch Changes
18
+
19
+ - 887062c: feat(dashboard): dashboard-level filters (date / region) driving multiple charts (framework#2501)
20
+
21
+ A dashboard's `dateRange` + `globalFilters` declarations are now wired end to
22
+ end: the filter values live as dashboard-level variables (the page variables
23
+ primitive, so they're also readable as `page.<name>` in widget expressions),
24
+ a filter bar renders above the widgets, and at render time the dashboard
25
+ broadcasts the active values into every bound widget's inline query —
26
+ `AND`-merged with the widget's own `filter`. Charts stay inline and
27
+ self-contained; each widget maps a filter to **its own** field.
28
+
29
+ - **`@object-ui/types`** — `globalFilters[].name` (stable filter/variable key,
30
+ defaults to `field`) and `DashboardWidgetSchema.filterBindings`
31
+ (`Record<string, string | false>`: per-widget field override / `false`
32
+ opt-out). Zod mirrors included. **Pending paired `@objectstack/spec`
33
+ alignment (framework#2501)** — same precedent as `dataset` /
34
+ `categoryGranularity`.
35
+ - **`@object-ui/core`** — new pure `dashboard-filters` module
36
+ (`resolveDashboardFilterDefs`, `dashboardFilterVariableDefs`,
37
+ `buildFilterCondition`, `buildWidgetScopedFilter`); `mergeFilters` lifted
38
+ from plugin-report (re-exported there unchanged). Date presets emit
39
+ date-macro tokens (`{30_days_ago}` …) so widgets resolve them at query time
40
+ like hand-authored filters.
41
+ - **`@object-ui/plugin-dashboard`** — `DashboardFilterBar` (date presets +
42
+ custom range calendar, select with static `options` or `optionsFrom`,
43
+ text/number inputs, reset); `DashboardRenderer` mounts a
44
+ `PageVariablesProvider` when filters are declared and merges the
45
+ widget-scoped condition into inline widgets' `filter` and dataset widgets'
46
+ `runtimeFilter`. Dashboards without filters render exactly as before.
47
+
48
+ Binding precedence: explicit `filterBindings` string/`false` → legacy
49
+ `targetWidgets` allow-list → the filter's own `field` (dateRange defaults to
50
+ `created_at`). Static-data widgets are not filtered.
51
+
52
+ - Updated dependencies [82441e4]
53
+ - Updated dependencies [2efa9fd]
54
+ - Updated dependencies [0890fa7]
55
+ - Updated dependencies [2ded18c]
56
+ - Updated dependencies [e628d1f]
57
+ - Updated dependencies [5523fc4]
58
+ - Updated dependencies [887062c]
59
+ - Updated dependencies [579b24d]
60
+ - Updated dependencies [2b30583]
61
+ - Updated dependencies [23d65c3]
62
+ - Updated dependencies [06d5ec6]
63
+ - Updated dependencies [055e1d2]
64
+ - Updated dependencies [9e2d58f]
65
+ - Updated dependencies [dea65f7]
66
+ - Updated dependencies [f30ff68]
67
+ - Updated dependencies [073e7aa]
68
+ - Updated dependencies [3e8bf07]
69
+ - Updated dependencies [6c0135c]
70
+ - Updated dependencies [5b52624]
71
+ - Updated dependencies [4afb251]
72
+ - Updated dependencies [d5b1bc0]
73
+ - Updated dependencies [f94905d]
74
+ - Updated dependencies [2712fc1]
75
+ - Updated dependencies [f0f10f5]
76
+ - @object-ui/i18n@14.1.0
77
+ - @object-ui/fields@14.1.0
78
+ - @object-ui/core@14.1.0
79
+ - @object-ui/types@14.1.0
80
+ - @object-ui/react@14.1.0
81
+ - @object-ui/plugin-grid@14.1.0
82
+ - @object-ui/components@14.1.0
83
+
3
84
  ## 14.0.0
4
85
 
5
86
  ### Patch Changes