@gooddata/code-cli 0.47.0-alpha.2 → 0.47.0-alpha.4
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/dist/fixtures/rules/dashboards.mdc +6 -0
- package/dist/index.js +596 -446
- package/package.json +1 -1
|
@@ -28,6 +28,7 @@ dashboards support:
|
|
|
28
28
|
- `sections`: (array, optional) Nested sections for container widgets.
|
|
29
29
|
|
|
30
30
|
- `filters`: (object, optional) Dashboard-level filters. Each filter can be a `date_filter` or `attribute_filter` with fields like `type`, `granularity`, `from`, `to`, and `using`.
|
|
31
|
+
- `timezone_config`: (object, optional) Dashboard-level timezone settings. `timezone_id` accepts an IANA timezone ID such as `Europe/Prague` or the `$browserDetected` sentinel; `show_timezone_info` controls the indicator; `allow_user_override_in_view_mode` allows a session-only viewer override. Omit the object to use the workspace setting.
|
|
31
32
|
- `permissions`: (object, optional) Dashboard-level permissions. Common keys are `VIEW` and `EDIT`, with user or group assignments.
|
|
32
33
|
|
|
33
34
|
# Best Practices
|
|
@@ -48,6 +49,11 @@ title: Example Dashboard
|
|
|
48
49
|
|
|
49
50
|
description: Overview of key business metrics and trends.
|
|
50
51
|
|
|
52
|
+
timezone_config:
|
|
53
|
+
timezone_id: $browserDetected
|
|
54
|
+
show_timezone_info: true
|
|
55
|
+
allow_user_override_in_view_mode: true
|
|
56
|
+
|
|
51
57
|
sections:
|
|
52
58
|
- title: Sales Overview
|
|
53
59
|
description: How is your company performing?
|