Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .changeset/35481-dashboards-skill-open-in-list.md
Original file line number Diff line number Diff line change
@@ -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.
9 changes: 7 additions & 2 deletions content/docs/ui/dashboards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions skills/objectstack-ui/rules/dashboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

---

Expand Down
Loading