From 3a317df36a00221c170c970855fbda21fceed1fc Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 17:00:36 +0000 Subject: [PATCH 1/2] docs(ui): give the compare-widget date dimension snippet its synonyms The date-key snippet under "The Date Key of a Compare Widget" declared a dimension with a name and a label only, the shape the dataset-member-no-vocabulary rule advises on. It now carries synonyms in the style of the page's other dataset examples; the name still matches the dashboard's date-range field. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufzfR33NbV51QQU6R6bm --- content/docs/ui/dashboards.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/docs/ui/dashboards.mdx b/content/docs/ui/dashboards.mdx index 7292d590eb3..0e40f4b80c1 100644 --- a/content/docs/ui/dashboards.mdx +++ b/content/docs/ui/dashboards.mdx @@ -523,7 +523,10 @@ declares: dimensions: [ // The dashboard's dateRange filters `close_date`, so a compare widget's // window arrives as the dimension "close_date". - { name: 'close_date', label: 'Close date', field: 'close_date', type: 'date' }, + { + name: 'close_date', label: 'Close date', field: 'close_date', type: 'date', + synonyms: ['closing date', 'date closed'], + }, ], ``` From 434c66c932bcea20f9f4d6c5ef13f24138aea155 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 17:21:32 +0000 Subject: [PATCH 2/2] docs(data-modeling): give the duration-measure example its synonyms The one-line example under "Duration measures" declared a measure with neither synonyms nor a description, the shape the dataset-member-no-vocabulary rule advises on. It now carries synonyms; the duration block it demonstrates is unchanged. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufzfR33NbV51QQU6R6bm --- content/docs/data-modeling/analytics.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/docs/data-modeling/analytics.mdx b/content/docs/data-modeling/analytics.mdx index 4dacb58c98b..c5785de934e 100644 --- a/content/docs/data-modeling/analytics.mdx +++ b/content/docs/data-modeling/analytics.mdx @@ -130,7 +130,11 @@ record (time to resolve, time to first response, cycle time) with `duration` in place of `field`: ```ts -{ name: 'avg_hours_to_resolve', aggregate: 'avg', duration: { from: 'created_at', to: 'resolved_at', unit: 'hours' } } +{ + name: 'avg_hours_to_resolve', aggregate: 'avg', + duration: { from: 'created_at', to: 'resolved_at', unit: 'hours' }, + synonyms: ['resolution time', 'time to resolve'], +} ``` - `from` and `to` name two `datetime` fields of the dataset's own object, by