diff --git a/.changeset/35481-dashboards-skill-open-in-list.md b/.changeset/35481-dashboards-skill-open-in-list.md new file mode 100644 index 00000000000..633403a28d8 --- /dev/null +++ b/.changeset/35481-dashboards-skill-open-in-list.md @@ -0,0 +1,14 @@ +--- +'@objectstack/skills': patch +--- + +docs(skills): the dashboards rule says a drill on a relationship-path dimension offers no "Open in list" link today + +Clause-②: no +Metadata-protocol: none + +objectstack-ui's `rules/dashboards.md`, Drilldown: the **Escape hatch — "Open in list →"** bullet said the drill drawer's header always links to the object's full list page. It now adds the exception: today a dimension whose field is a relationship path (`account.industry`) drills into the drawer only, with no link. The drawer still lists the records and a row still opens its record. The list page's `filter[...]` URL has no spelling for a condition on a related record, so the console offers no list destination for that drill instead of a wider list. + +The Reports paragraph of the same section loses its closing clause ("peek the records, click a row to open one, or "Open in list →" for the full list page"). It restated the three bullets above it and repeated the same promise; the paragraph still says reports drill the same way through the identical drawer. Removing it pays for the new sentence: the file is 2 bytes smaller. + +`content/docs/ui/dashboards.mdx` states the same exception in its Drill-down section and in the renderer note below it. No code path changes. diff --git a/content/docs/ui/dashboards.mdx b/content/docs/ui/dashboards.mdx index dcd82e1eb7b..0fb385c1d65 100644 --- a/content/docs/ui/dashboards.mdx +++ b/content/docs/ui/dashboards.mdx @@ -306,7 +306,11 @@ the *West* bucket → one order). The drawer also offers an **"Open in list →"** escape hatch — escalate the peek to the object's full list page (sort / bulk-select / export / shareable URL), scoped by the same drill filter. In-place drawer is the default (keep context); -the escape hatch is there when you need the full surface. **Reports drill +the escape hatch is there when you need the full surface. Not every drill gets +the link today: a drill on a dimension whose `field` is a relationship path, +such as `region` in the `sales` dataset above (`account.region`), stays in the +drawer, because the list page's URL filter has no spelling for a condition on a +related record. **Reports drill identically**: a `summary` / `matrix` report opens the same in-place drawer on row/cell click, so dashboard and report drill behave the same. @@ -336,7 +340,8 @@ click-drillable; expose the detail through a `table`/`pivot` widget instead. > whitelist, and chart-segment drill for the `scatter` / `treemap` / `sankey` > families. Those knobs live in the renderer; dataset-bound dashboards drill > through the semantic layer as described above (and get the "Open in list →" -> escape hatch from the host app, e.g. the console). +> escape hatch from the host app, e.g. the console, except today on a +> relationship-path dimension, as noted above). ### Aggregation Functions diff --git a/skills/objectstack-ui/rules/dashboards.md b/skills/objectstack-ui/rules/dashboards.md index 9ad6649b065..c4f3d3dc5e4 100644 --- a/skills/objectstack-ui/rules/dashboards.md +++ b/skills/objectstack-ui/rules/dashboards.md @@ -378,14 +378,14 @@ behind it; **drill-to-record** opens one record. * **Escape hatch — "Open in list →".** The drawer header offers a link to the object's *full* list page (sort / bulk-select / export / shareable URL), scoped by the same drill filter. The in-place drawer is the default (peek - without losing the dashboard). + without losing the dashboard). Today a relationship-path dimension + (`account.industry`) gets the drawer only, no link. * **`metric` / `chart` widgets are not click-drillable** in the dataset form (they render the aggregate only; `compareTo` still applies). Surface the detail through a `table` / `pivot` widget instead. **Reports drill the same way.** A `summary` / `matrix` report (`drilldown` -defaults `true`) opens the identical in-place drawer on row/cell click — peek the -records, click a row to open one, or "Open in list →" for the full list page. +defaults `true`) opens the identical in-place drawer on row/cell click. ---